weka.attributeSelection
Interface StartSetHandler
- All Known Implementing Classes:
- BestFirst, Ranker, ExhaustiveSearch, RandomSearch, ForwardSelection, GeneticSearch
- public interface StartSetHandler
Interface for search methods capable of doing something sensible
given a starting set of attributes.
- Author:
- Mark Hall (mhall@cs.waikato.ac.nz)
Method Summary |
java.lang.String |
getStartSet()
Returns a list of attributes (and or attribute ranges) as a String |
void |
setStartSet(java.lang.String startSet)
Sets a starting set of attributes for the search. |
setStartSet
public void setStartSet(java.lang.String startSet)
throws java.lang.Exception
- Sets a starting set of attributes for the search. It is the
search method's responsibility to report this start set (if any)
in its toString() method.
- Parameters:
startSet
- a string containing a list of attributes (and or ranges),
eg. 1,2,6,10-15.- Throws:
java.lang.Exception
- if start set can't be set.
getStartSet
public java.lang.String getStartSet()
- Returns a list of attributes (and or attribute ranges) as a String
- Returns:
- a list of attributes (and or attribute ranges)