public class RemoveDuplicateAttributeSelector extends BaseAttributeSelector
Usage: [-tolerance <tol>]
tol: Tolerance of declaring two variables equivalent. Default = 1e-12
| Modifier and Type | Field and Description |
|---|---|
protected double |
Tolerance
Maximum absolute difference at which to declare two floats equal
|
trained| Constructor and Description |
|---|
RemoveDuplicateAttributeSelector() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
printDescription(boolean htmlFormat)
Print full name of object, and a simple description of the options.
|
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 |
setTolerance(double tol)
Define the maximum difference at which two numbers are considered equal.
|
protected java.util.List<java.lang.Integer> |
train_protected(Dataset data)
Operation that actually does the work for training.
|
about, applyAttributeSelection, clone, getSelectionNames, getSelections, isTrained, printCommand, printSelections, run, runCommand, trainprotected double Tolerance
public 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 setTolerance(double tol)
tol - Desired tolerance (Default = 1e-6)public java.lang.String printDescription(boolean htmlFormat)
PrintableExample: For a model training a separate WekaRegression for intermetallics
magpie.models.regression.SplitRegression
printDescription in interface PrintableprintDescription in class BaseAttributeSelectorhtmlFormat - Whether format for output to an HTML page
(e.g., <div> to create indentation) or for printing to screen.#printModel()protected java.util.List<java.lang.Integer> train_protected(Dataset data)
BaseAttributeSelectortrain_protected in class BaseAttributeSelectordata - Dataset used to train selector