|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.ObjectdbStat.NormalizeMinMax
Class that implements NormalizeVectorAttributes.
Uses the min-max method to normalize the components of the set of given AttributeVectors
| Constructor Summary | |
NormalizeMinMax()
|
|
| Method Summary | |
private double[] |
findMinMax(java.util.ArrayList vectorcollection,
java.lang.String attrib)
Finds the minimum and maximum value for given attribute among all vectors |
java.util.ArrayList |
NormalizeAttributes(java.util.ArrayList vectorCollection)
Methods that normalizes a given ArrayList of AttributeVectors using the min-max method |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public NormalizeMinMax()
| Method Detail |
public java.util.ArrayList NormalizeAttributes(java.util.ArrayList vectorCollection)
NormalizeAttributes in interface NormalizeVectorAttributesvectorCollection - An ArrayList of AttributeVectors
private double[] findMinMax(java.util.ArrayList vectorcollection,
java.lang.String attrib)
vectorcollection - The ArrayList of AttributeVectorsattrib - The vector attribute for which the min-max is being found
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||