public class MeredigAttributeSelector extends UserSpecifiedAttributeSelector
Note You must generate the fraction of each element present in the
sample as attributes.
Usage: * No Options *
SelectedAttributes
trained
Constructor and Description |
---|
MeredigAttributeSelector() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
printUsage()
Print out required format for options.
|
void |
selectAttributes(java.util.List<java.lang.String> Attributes)
Define a list of attributes that will be used when training a model
|
void |
setOptions(java.util.List<java.lang.Object> OptionsObj)
Sets the object to select only attributes listed in input
|
protected java.util.List<java.lang.Integer> |
train_protected(Dataset Data)
Operation that actually does the work for training.
|
addAttributeSpecification, clearSpecifiedAttributes, clone, printDescription
about, applyAttributeSelection, getSelectionNames, getSelections, isTrained, printCommand, printSelections, run, runCommand, train
public void setOptions(java.util.List<java.lang.Object> OptionsObj) throws java.lang.Exception
UserSpecifiedAttributeSelector
setOptions
in interface Options
setOptions
in class UserSpecifiedAttributeSelector
OptionsObj
- List of attributes to usejava.lang.Exception
- if problem with inputspublic java.lang.String printUsage()
Options
printUsage
in interface Options
printUsage
in class UserSpecifiedAttributeSelector
public void selectAttributes(java.util.List<java.lang.String> Attributes)
UserSpecifiedAttributeSelector
selectAttributes
in class UserSpecifiedAttributeSelector
Attributes
- List of desired attributesprotected java.util.List<java.lang.Integer> train_protected(Dataset Data)
BaseAttributeSelector
train_protected
in class UserSpecifiedAttributeSelector
Data
- Dataset used to train selector