|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectweka.classifiers.neural.lvq.vectordistance.ClassDistance
public class ClassDistance
Description: Calculates the distance between two class attributes.
Copyright (c) Jason Brownlee 2004
| Constructor Summary | |
|---|---|
ClassDistance()
|
|
| Method Summary | |
|---|---|
double |
distance(double instanceValue,
double codebookValue)
Distance between class attribute values, lower the distnace the closer the values |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ClassDistance()
| Method Detail |
|---|
public double distance(double instanceValue,
double codebookValue)
distance in interface AttributeDistanceinstanceValue - codebookValue -
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||