public class MeredigAttributeSelector extends UserSpecifiedAttributeSelector
Note You must generate the fraction of each element present in the
sample as attributes.
Usage: * No Options *
SelectedAttributestrained| 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, printDescriptionabout, applyAttributeSelection, getSelectionNames, getSelections, isTrained, printCommand, printSelections, run, runCommand, trainpublic void setOptions(java.util.List<java.lang.Object> OptionsObj)
throws java.lang.Exception
UserSpecifiedAttributeSelectorsetOptions in interface OptionssetOptions in class UserSpecifiedAttributeSelectorOptionsObj - List of attributes to usejava.lang.Exception - if problem with inputspublic java.lang.String printUsage()
OptionsprintUsage in interface OptionsprintUsage in class UserSpecifiedAttributeSelectorpublic void selectAttributes(java.util.List<java.lang.String> Attributes)
UserSpecifiedAttributeSelectorselectAttributes in class UserSpecifiedAttributeSelectorAttributes - List of desired attributesprotected java.util.List<java.lang.Integer> train_protected(Dataset Data)
BaseAttributeSelectortrain_protected in class UserSpecifiedAttributeSelectorData - Dataset used to train selector