public interface RankedOutputSearch
Modifier and Type | Method and Description |
---|---|
int |
getCalculatedNumToSelect()
Gets the calculated number of attributes to retain.
|
boolean |
getGenerateRanking()
Gets whether the user has opted to see a ranked list of
attributes rather than the normal result of the search
|
int |
getNumToSelect()
Gets the user specified number of attributes to be retained.
|
double |
getThreshold()
Gets the threshold by which attributes can be discarded.
|
double[][] |
rankedAttributes()
Returns a X by 2 list of attribute indexes and corresponding
evaluations from best (highest) to worst.
|
void |
setGenerateRanking(boolean doRanking)
Sets whether or not ranking is to be performed.
|
void |
setNumToSelect(int numToSelect)
Specify the number of attributes to select from the ranked list.
|
void |
setThreshold(double threshold)
Sets a threshold by which attributes can be discarded from the
ranking.
|
double[][] rankedAttributes() throws java.lang.Exception
java.lang.Exception
- if the ranking can't be producedvoid setThreshold(double threshold)
threshold
- the threshold.double getThreshold()
void setNumToSelect(int numToSelect)
numToSelect
- the number of attributes to retainint getNumToSelect()
int getCalculatedNumToSelect()
void setGenerateRanking(boolean doRanking)
doRanking
- true if ranked list is to be producedboolean getGenerateRanking()