Package qmwi.kseg.som
Interface SOMdataEntry
- All Known Implementing Classes:
CSV_SOM_dataEntry
public interface SOMdataEntry
-
Method Summary
Modifier and Type Method Description SOMdataEntry
addValues(String inputLine)
SOMdataEntry
addValues(String inputLine, boolean normalized)
String[]
getColumnData()
String
getColumnData(int i)
ArrayList<Double>
getDifferencesToCentroids()
double
getMinDiff()
Object
getUserData()
boolean
isAlreadyNormalized()
void
setDifferences(ArrayList<Double> differences)
void
setUserData(Object data)
-
Method Details
-
getColumnData
String[] getColumnData() -
addValues
-
addValues
-
getUserData
Object getUserData() -
setUserData
-
getColumnData
-
isAlreadyNormalized
boolean isAlreadyNormalized()- Returns:
- True, if the supplied data is already normalized in the range of -1..1. If this value is False, The SOM train and recall method will normalize the data column wise! This means, e.g. all values for time point 1 will be collected and then normalized, thus from day to day a different normalization is performed. This is useful while analyzing independent data points. For time series data this is clearly not a good idea, in this case the data should be supplied normalized and this flag should return true.
-
getDifferencesToCentroids
-
setDifferences
-
getMinDiff
double getMinDiff()
-