org.android.activityminer.logic.classification
Class DummyNormalizer
java.lang.Object
org.android.activityminer.logic.classification.DummyNormalizer
- All Implemented Interfaces:
- Normalizer
public class DummyNormalizer
- extends Object
- implements Normalizer
A dummy normalizer type for the case of no normalization.
Method Summary |
double[] |
normalize(double[] point)
Point value normalization based on the stored range information. |
void |
prepareWithTrainingData(Set<? extends Activity> trainingSet)
Preparation with a training data set |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DummyNormalizer
public DummyNormalizer()
normalize
public double[] normalize(double[] point)
- Description copied from interface:
Normalizer
- Point value normalization based on the stored range information.
- Specified by:
normalize
in interface Normalizer
- Parameters:
point
- the data point
- Returns:
- the normalized value
prepareWithTrainingData
public void prepareWithTrainingData(Set<? extends Activity> trainingSet)
- Description copied from interface:
Normalizer
- Preparation with a training data set
- Specified by:
prepareWithTrainingData
in interface Normalizer
- Parameters:
trainingSet
- the training data set