|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectfeature_filtering.AbstractFeatureFiltering
feature_filtering.RandomFiltering
public class RandomFiltering
This class is used for variance-based filtering.
Field Summary | |
---|---|
private double |
percentageRetained
The percentage of descriptors that will be randomly filtered. |
Constructor Summary | |
---|---|
RandomFiltering(double percentageRetained)
Constructor |
Method Summary | |
---|---|
protected java.util.ArrayList<double[]> |
filterInternal(java.util.ArrayList<double[]> descriptors)
Subclasses should provide the implementation. |
protected double[][] |
filterInternal(double[][] descriptors)
Subclasses should provide the implementation. |
Methods inherited from class feature_filtering.AbstractFeatureFiltering |
---|
calculatePercentileValuesEntropy, calculatePercentileValuesVariance, entropyCalculation, filter, filter, main, varianceCalculation |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private double percentageRetained
Constructor Detail |
---|
public RandomFiltering(double percentageRetained) throws java.lang.Exception
percentageRetained
-
java.lang.Exception
Method Detail |
---|
protected double[][] filterInternal(double[][] descriptors) throws java.lang.Exception
AbstractFeatureFiltering
filterInternal
in class AbstractFeatureFiltering
java.lang.Exception
protected java.util.ArrayList<double[]> filterInternal(java.util.ArrayList<double[]> descriptors) throws java.lang.Exception
AbstractFeatureFiltering
filterInternal
in class AbstractFeatureFiltering
java.lang.Exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |