public abstract class ComparisonOperatorFilter extends BaseDatasetFilter
| Modifier and Type | Field and Description |
|---|---|
protected boolean |
Equal
Should entries with Feature==Threshold be kept?
|
protected boolean |
GreaterThan
Should entries with Feature < Threshold be kept?
|
protected boolean |
LessThan
Should entries with Feature > Threshold be kept?
|
protected double |
Threshold
Threshold value
|
| Constructor and Description |
|---|
ComparisonOperatorFilter() |
| Modifier and Type | Method and Description |
|---|---|
void |
setComparisonOperator(java.lang.String operator)
Define comparison operator.
|
void |
setThreshold(double Threshold)
Set the comparison threshold.
|
protected boolean[] |
testCriteria(double[] value)
Evaluate the filtering criteria on each member of an array
|
filter, label, parallelLabel, parallelMinimum, setExclude, toExclude, trainclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitprintUsage, setOptionsprotected double Threshold
protected boolean Equal
protected boolean GreaterThan
protected boolean LessThan
public void setThreshold(double Threshold)
Threshold - Desired thresholdpublic void setComparisonOperator(java.lang.String operator)
operator - Desired operatorprotected boolean[] testCriteria(double[] value)
value - Values to be tested