Serializable, weka.core.CapabilitiesHandler, weka.core.OptionHandler, AttributeWeightsModifierAbstractRangeBasedAttributeWeightsModifier, FromFile, PassThroughpublic abstract class AbstractAttributeWeightsModifier extends Object implements Serializable, weka.core.OptionHandler, AttributeWeightsModifier, weka.core.CapabilitiesHandler
| Constructor | Description |
|---|---|
AbstractAttributeWeightsModifier() |
| Modifier and Type | Method | Description |
|---|---|---|
String |
doNotCheckCapabilitiesTipText() |
Returns the tip text for this property
|
weka.core.Capabilities |
getCapabilities() |
Returns the Capabilities of this filter.
|
weka.core.Capabilities |
getCapabilities(weka.core.Instances data) |
Returns the Capabilities of this filter, customized based on the data.
|
boolean |
getDoNotCheckCapabilities() |
Get whether capabilities checking is turned off.
|
String[] |
getOptions() |
Gets the current settings of the filter.
|
abstract String |
globalInfo() |
Returns a string describing this scheme.
|
Enumeration<weka.core.Option> |
listOptions() |
Returns an enumeration describing the available options.
|
weka.core.Instances |
modifyAttributeWeights(weka.core.Instances data) |
Modifies the attribute weights.
|
void |
setDoNotCheckCapabilities(boolean value) |
Set whether not to check capabilities.
|
void |
setOptions(String[] options) |
Parses a given list of options.
|
determineOutputFormatpublic abstract String globalInfo()
public Enumeration<weka.core.Option> listOptions()
listOptions in interface weka.core.OptionHandlerpublic void setOptions(String[] options) throws Exception
setOptions in interface weka.core.OptionHandleroptions - the list of options as an array of stringsException - if an option is not supportedpublic String[] getOptions()
getOptions in interface weka.core.OptionHandlerpublic void setDoNotCheckCapabilities(boolean value)
value - true if capabilities are not to be checked.public boolean getDoNotCheckCapabilities()
public String doNotCheckCapabilitiesTipText()
public weka.core.Capabilities getCapabilities()
getCapabilities in interface weka.core.CapabilitiesHandlerCapabilitiespublic weka.core.Capabilities getCapabilities(weka.core.Instances data)
data - the data to use for customizationgetCapabilities()public weka.core.Instances modifyAttributeWeights(weka.core.Instances data)
throws Exception
modifyAttributeWeights in interface AttributeWeightsModifierdata - the data to processException - if modifying failsCopyright © 2018 University of Waikato, Hamilton, NZ. All Rights Reserved.