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, printRankingspublic void setOptions(java.util.List<java.lang.Object> OptionsObj)
throws java.lang.Exception
OptionsOptionsObj - Array of options as Objects - can be nulljava.lang.Exception - if problem with inputspublic java.lang.String printUsage()
Optionsprotected java.util.Comparator<java.lang.Double> compare()
BaseAttributeEvaluatorcompare in class BaseAttributeEvaluatorprotected double[] evaluateAttributes_internal(Dataset Data)
BaseAttributeEvaluatorevaluateAttributes_internal in class BaseAttributeEvaluatorData - Dataset used to evaluate attributes