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, train
protected double Tolerance
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 setTolerance(double tol)
tol
- Desired tolerance (Default = 1e-6)public java.lang.String printDescription(boolean htmlFormat)
Printable
Example: For a model training a separate WekaRegression for intermetallics
magpie.models.regression.SplitRegression
printDescription
in interface Printable
printDescription
in class BaseAttributeSelector
htmlFormat
- 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)
BaseAttributeSelector
train_protected
in class BaseAttributeSelector
data
- Dataset used to train selector