All Packages Class Hierarchy This Package Previous Next Index WEKA's home
java.lang.Object
|
+----weka.attributeSelection.ASEvaluation
|
+----weka.attributeSelection.AttributeEvaluator
|
+----weka.attributeSelection.SVMAttributeEval
Valid options are:
-X
-Y
-Z
-C
-P
-T
-X
-X
-Y
-Z
-C
-P
-T
-N <0|1|2>
Specify constant rate at which attributes are eliminated per invocation
of the support vector machine. Default = 1.
Specify the percentage rate at which attributes are eliminated per invocation
of the support vector machine. This setting trumps the constant rate setting.
Default = 0 (percentage rate ignored).
Specify the threshold below which the percentage elimination method
reverts to the constant elimination method.
Specify the value of C - the complexity parameter to be passed on
to the support vector machine.
Sets the epsilon for round-off error. (default 1.0e-25)
Sets the tolerance parameter. (default 1.0e-10)
SVMAttributeEval()
attsToEliminatePerIterationTipText()
buildEvaluator(Instances)
complexityParameterTipText()
epsilonParameterTipText()
evaluateAttribute(int)
filterTypeTipText()
getAttsToEliminatePerIteration()
getComplexityParameter()
getEpsilonParameter()
getFilterType()
getOptions()
getPercentThreshold()
getPercentToEliminatePerIteration()
getToleranceParameter()
globalInfo()
listOptions()
main(String[])
percentThresholdTipText()
percentToEliminatePerIterationTipText()
setAttsToEliminatePerIteration(int)
setComplexityParameter(double)
setEpsilonParameter(double)
setFilterType(SelectedTag)
setOptions(String[])
Specify constant rate at which attributes are eliminated per invocation
of the support vector machine.
setPercentThreshold(int)
setPercentToEliminatePerIteration(int)
setToleranceParameter(double)
toleranceParameterTipText()
toString()
SVMAttributeEval
public SVMAttributeEval()
Constructor
globalInfo
public java.lang.String globalInfo()
Returns a string describing this attribute evaluator
listOptions
public java.util.Enumeration listOptions()
Returns an enumeration describing all the available options
setOptions
public void setOptions(java.lang.String options[]) throws java.lang.Exception
Parses a given list of options
Valid options are:
Specify constant rate at which attributes are eliminated per invocation
of the support vector machine. Default = 1.
Specify the percentage rate at which attributes are eliminated per invocation
of the support vector machine. This setting trumps the constant rate setting.
Default = 0 (percentage rate ignored).
Specify the threshold below which the percentage elimination method
reverts to the constant elimination method.
Specify the value of C - the complexity parameter to be passed on
to the support vector machine.
Sets the epsilon for round-off error. (default 1.0e-25)
Sets the tolerance parameter. (default 1.0e-10)
Whether the SVM should 0=normalize/1=standardize/2=neither. (default 0=normalize)
options - the list of options as an array of strings
getOptions
public java.lang.String[] getOptions()
Gets the current settings of SVMAttributeEval
attsToEliminatePerIterationTipText
public java.lang.String attsToEliminatePerIterationTipText()
Returns a tip text for this property suitable for display in the
GUI
percentToEliminatePerIterationTipText
public java.lang.String percentToEliminatePerIterationTipText()
Returns a tip text for this property suitable for display in the
GUI
percentThresholdTipText
public java.lang.String percentThresholdTipText()
Returns a tip text for this property suitable for display in the
GUI
epsilonParameterTipText
public java.lang.String epsilonParameterTipText()
Returns a tip text for this property suitable for display in the
GUI
toleranceParameterTipText
public java.lang.String toleranceParameterTipText()
Returns a tip text for this property suitable for display in the
GUI
complexityParameterTipText
public java.lang.String complexityParameterTipText()
Returns a tip text for this property suitable for display in the
GUI
filterTypeTipText
public java.lang.String filterTypeTipText()
Returns a tip text for this property suitable for display in the
GUI
setAttsToEliminatePerIteration
public void setAttsToEliminatePerIteration(int cRate)
Set the constant rate of attribute elimination per iteration
X - the constant rate of attribute elimination per iteration
getAttsToEliminatePerIteration
public int getAttsToEliminatePerIteration()
Get the constant rate of attribute elimination per iteration
setPercentToEliminatePerIteration
public void setPercentToEliminatePerIteration(int pRate)
Set the percentage of attributes to eliminate per iteration
Y - percent of attributes to eliminate per iteration
getPercentToEliminatePerIteration
public int getPercentToEliminatePerIteration()
Get the percentage rate of attribute elimination per iteration
setPercentThreshold
public void setPercentThreshold(int pThresh)
Set the threshold below which percentage elimination reverts to
constant elimination.
thresh - percent of attributes to eliminate per iteration
getPercentThreshold
public int getPercentThreshold()
Get the threshold below which percentage elimination reverts to
constant elimination.
setEpsilonParameter
public void setEpsilonParameter(double svmP)
Set the value of P for SMO
svmP - the value of P
getEpsilonParameter
public double getEpsilonParameter()
Get the value of P used with SMO
setToleranceParameter
public void setToleranceParameter(double svmT)
Set the value of T for SMO
svmC - the value of T
getToleranceParameter
public double getToleranceParameter()
Get the value of T used with SMO
setComplexityParameter
public void setComplexityParameter(double svmC)
Set the value of C for SMO
svmC - the value of C
getComplexityParameter
public double getComplexityParameter()
Get the value of C used with SMO
setFilterType
public void setFilterType(SelectedTag newType)
The filtering mode to pass to SMO
newType - the new filtering mode
getFilterType
public SelectedTag getFilterType()
Get the filtering mode passed to SMO
buildEvaluator
public void buildEvaluator(Instances data) throws java.lang.Exception
Initializes the evaluator.
data - set of instances serving as training data
evaluateAttribute
public double evaluateAttribute(int attribute) throws java.lang.Exception
Evaluates an attribute by returning the rank of the square of its coefficient in a
linear support vector machine.
attribute - the index of the attribute to be evaluated
toString
public java.lang.String toString()
Return a description of the evaluator
main
public static void main(java.lang.String args[])
Main method for testing this class.
args - the options
All Packages Class Hierarchy This Package Previous Next Index WEKA's home