public class AllMetalsFilter extends BaseDatasetFilter
CompositionDataset
.
Usage: *No options to set*
Modifier and Type | Field and Description |
---|---|
protected boolean[] |
isMetal
List indicating which elements are metals
|
Constructor and Description |
---|
AllMetalsFilter() |
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> Options)
Set any options for this object.
|
void |
train(Dataset TrainingSet)
Train a dataset splitter, if necessary
|
filter, parallelLabel, parallelMinimum, setExclude, toExclude
public void setOptions(java.util.List<java.lang.Object> Options) throws java.lang.Exception
Options
Options
- Array of options as Objects - can be null
java.lang.Exception
- if problem with inputspublic java.lang.String printUsage()
Options
public void train(Dataset TrainingSet)
BaseDatasetFilter
train
in class BaseDatasetFilter
TrainingSet
- Dataset to use for trainingpublic boolean[] label(Dataset D)
BaseDatasetFilter
label
in class BaseDatasetFilter
D
- Dataset to be labeled