public class UserSpecifiedExcludingAttributeSelector extends UserSpecifiedAttributeSelector
Usage: <names...>
SelectedAttributes
trained
Constructor and Description |
---|
UserSpecifiedExcludingAttributeSelector() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
printDescription(boolean htmlFormat)
Print full name of object, and a simple description of the options.
|
void |
selectAttributes(java.util.List<java.lang.String> Attributes)
Define list of attributes that will be excluded before training a model.
|
protected java.util.List<java.lang.Integer> |
train_protected(Dataset Data)
Operation that actually does the work for training.
|
addAttributeSpecification, clearSpecifiedAttributes, clone, printUsage, setOptions
about, applyAttributeSelection, getSelectionNames, getSelections, isTrained, printCommand, printSelections, run, runCommand, train
public UserSpecifiedExcludingAttributeSelector()
public void selectAttributes(java.util.List<java.lang.String> Attributes)
selectAttributes
in class UserSpecifiedAttributeSelector
Attributes
- List of attribute namesprotected java.util.List<java.lang.Integer> train_protected(Dataset Data)
BaseAttributeSelector
train_protected
in class UserSpecifiedAttributeSelector
Data
- Dataset used to train selectorpublic 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 UserSpecifiedAttributeSelector
htmlFormat
- Whether format for output to an HTML page
(e.g., <div> to create indentation) or for printing to screen.#printModel()