|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectweka.clusterers.AbstractClusterer
weka.clusterers.RandomizableClusterer
public abstract class RandomizableClusterer
Abstract utility class for handling settings common to randomizable clusterers.
| Constructor Summary | |
|---|---|
RandomizableClusterer()
|
|
| Method Summary | |
|---|---|
String[] |
getOptions()
Gets the current settings of the classifier. |
int |
getSeed()
Gets the seed for the random number generations |
Enumeration |
listOptions()
Returns an enumeration describing the available options. |
String |
seedTipText()
Returns the tip text for this property |
void |
setOptions(String[] options)
Parses a given list of options. |
void |
setSeed(int value)
Set the seed for random number generation. |
| Methods inherited from class weka.clusterers.AbstractClusterer |
|---|
buildClusterer, clusterInstance, distributionForInstance, forName, getCapabilities, getRevision, makeCopies, makeCopy, numberOfClusters, runClusterer |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public RandomizableClusterer()
| Method Detail |
|---|
public Enumeration listOptions()
listOptions in interface OptionHandler
public void setOptions(String[] options)
throws Exception
setOptions in interface OptionHandleroptions - the list of options as an array of strings
Exception - if an option is not supportedpublic String[] getOptions()
getOptions in interface OptionHandlerpublic String seedTipText()
public void setSeed(int value)
setSeed in interface Randomizablevalue - the seed to usepublic int getSeed()
getSeed in interface Randomizable
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||