public class StabilityFilter extends BaseDatasetFilter
Labels entries with stability less than a threshold
Usage: $<hull data> <measured|predicted> <threshold>
| Constructor and Description |
|---|
StabilityFilter() |
| Modifier and Type | Method and Description |
|---|---|
boolean[] |
label(Dataset D)
Given a dataset, determine which entries passes the filter.
|
protected int |
parallelMinimum()
Minimum number of entries to label in parallel.
|
java.lang.String |
printUsage()
Print out required format for options.
|
void |
setCompounds(CompositionDataset data)
Define the data used to compute stability.
|
void |
setOptions(java.util.List<java.lang.Object> Options)
Set any options for this object.
|
void |
setThreshold(double threshold)
Set threshold at which compounds are declared "unstable".
|
void |
setUsePredicted(boolean x)
Set whether to use the measured or predicted class variable.
|
void |
train(Dataset TrainingSet)
Train a dataset splitter, if necessary
|
filter, parallelLabel, setExclude, toExcludepublic void setOptions(java.util.List<java.lang.Object> Options)
throws java.lang.Exception
OptionsOptions - Array of options as Objects - can be nulljava.lang.Exception - if problem with inputspublic java.lang.String printUsage()
Optionspublic void setCompounds(CompositionDataset data)
data - Data containing the energies of all known phasespublic void setUsePredicted(boolean x)
x - Desired settingpublic void setThreshold(double threshold)
threshold - Desired threshold (default = 0)protected int parallelMinimum()
BaseDatasetFilterparallelMinimum in class BaseDatasetFilterpublic void train(Dataset TrainingSet)
BaseDatasetFiltertrain in class BaseDatasetFilterTrainingSet - Dataset to use for trainingpublic boolean[] label(Dataset D)
BaseDatasetFilterlabel in class BaseDatasetFilterD - Dataset to be labeled