|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectfeature_filtering.AbstractFeatureFiltering
feature_filtering.VarianceBasedFiltering
public class VarianceBasedFiltering
This class is used for variance-based filtering.
Field Summary | |
---|---|
static double[] |
percentiles
Percentile values for which thresholds have been pre-calculated. |
private double |
threshold
The threshold to apply, i.e. features with lower variance than will be filtered. |
static double[] |
thresholds
Corresponding thresholds for the percentiles above. |
Constructor Summary | |
---|---|
VarianceBasedFiltering(double percentage)
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 |
---|
public static double[] percentiles
public static double[] thresholds
private double threshold
Constructor Detail |
---|
public VarianceBasedFiltering(double percentage) throws java.lang.Exception
percentage
-
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 |