public class PolynomialFitEvaluator extends BaseAttributeEvaluator
Usage: <order>
Modifier and Type | Field and Description |
---|---|
protected int |
order
Order of polynomial used to evaluate attributes
|
Constructor and Description |
---|
PolynomialFitEvaluator() |
Modifier and Type | Method and Description |
---|---|
protected java.util.Comparator<java.lang.Double> |
compare()
Create a comparator that will sort entries from the best to worst
|
protected double[] |
evaluateAttributes_internal(Dataset Data)
Operation that actually performs the work of evaluating attributes.
|
java.lang.String |
printUsage()
Print out required format for options.
|
void |
setOptions(java.util.List<java.lang.Object> OptionsObj)
Set any options for this object.
|
evaluateAttributes, getAttributeRanks, printRankings
public void setOptions(java.util.List<java.lang.Object> OptionsObj) throws java.lang.Exception
Options
OptionsObj
- Array of options as Objects - can be null
java.lang.Exception
- if problem with inputspublic java.lang.String printUsage()
Options
protected java.util.Comparator<java.lang.Double> compare()
BaseAttributeEvaluator
compare
in class BaseAttributeEvaluator
protected double[] evaluateAttributes_internal(Dataset Data)
BaseAttributeEvaluator
evaluateAttributes_internal
in class BaseAttributeEvaluator
Data
- Dataset used to evaluate attributes