|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface Cluster
cluster represents some feature vectors belonging together. cluster can be trained with sampler
| Method Summary | |
|---|---|
double[] |
center()
centroid of cluster |
double |
radius(List<double[]> samples)
computes maximal distance of sample from center of cluster |
void |
train(double[] features)
train cluster with feature vector |
| Methods inherited from interface net.sourceforge.javaocr.cluster.Metric |
|---|
distance, getDimensions |
| Method Detail |
|---|
double[] center()
void train(double[] features)
features - double radius(List<double[]> samples)
samples - sample group, sample size shall correspond to cluster dimensions
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||