net.sourceforge.javaocr.plugin.cluster
Class SigmaWeightedEuclidianDistanceCluster
java.lang.Object
net.sourceforge.javaocr.plugin.cluster.AbstractBaseCluster
net.sourceforge.javaocr.plugin.cluster.EuclidianDistanceCluster
net.sourceforge.javaocr.plugin.cluster.NormalDistributionCluster
net.sourceforge.javaocr.plugin.cluster.SigmaWeightedEuclidianDistanceCluster
- All Implemented Interfaces:
- Metric, Cluster
public class SigmaWeightedEuclidianDistanceCluster
- extends NormalDistributionCluster
normalise dimenstion by sigma
|
Method Summary |
(package private) double |
computeDimension(double dimension,
int i)
compute dimension normalised by sigma |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SigmaWeightedEuclidianDistanceCluster
public SigmaWeightedEuclidianDistanceCluster(int dimensions)
- create cluster calculating euclidian distance between center and feature
vector
- Parameters:
c - assotiated charactersize - size of feature cluster
computeDimension
double computeDimension(double dimension,
int i)
- compute dimension normalised by sigma
- Overrides:
computeDimension in class EuclidianDistanceCluster
- Parameters:
dimension - i -
- Returns:
Copyright © -2012. All Rights Reserved.