public class PropertyFilter extends AttributeFilter
Usage: <measured|predicted> <Target Property> <Criteria> <Threshold>
Modifier and Type | Field and Description |
---|---|
protected boolean |
UseMeasured
Whether to use measured or predicted property values
|
TargetAttribute
Equal, GreaterThan, LessThan, Threshold
Constructor and Description |
---|
PropertyFilter() |
Modifier and Type | Method and Description |
---|---|
boolean[] |
label(Dataset D)
Given a dataset, determine which entries passes the filter.
|
java.lang.String |
printUsage()
Print out required format for options.
|
void |
setOptions(java.util.List<java.lang.Object> OptionsObj)
Set any options for this object.
|
setOptions, setTargetAttribute, train
setComparisonOperator, setThreshold, testCriteria
filter, parallelLabel, parallelMinimum, setExclude, toExclude
protected boolean UseMeasured
public void setOptions(java.util.List<java.lang.Object> OptionsObj) throws java.lang.Exception
Options
setOptions
in interface Options
setOptions
in class AttributeFilter
OptionsObj
- Array of options as Objects - can be null
java.lang.Exception
- if problem with inputspublic java.lang.String printUsage()
Options
printUsage
in interface Options
printUsage
in class AttributeFilter
public boolean[] label(Dataset D)
BaseDatasetFilter
label
in class AttributeFilter
D
- Dataset to be labeled