|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectweka.clusterers.Clusterer
weka.clusterers.SingleClustererEnhancer
public abstract class SingleClustererEnhancer
Meta-clusterer for enhancing a base clusterer.
Constructor Summary | |
---|---|
SingleClustererEnhancer()
|
Method Summary | |
---|---|
java.lang.String |
clustererTipText()
Returns the tip text for this property |
Capabilities |
getCapabilities()
Returns default capabilities of the clusterer. |
Clusterer |
getClusterer()
Get the clusterer used as the base clusterer. |
java.lang.String[] |
getOptions()
Gets the current settings of the clusterer. |
java.util.Enumeration |
listOptions()
Returns an enumeration describing the available options. |
int |
numberOfClusters()
Returns the number of clusters. |
void |
setClusterer(Clusterer value)
Set the base clusterer. |
void |
setOptions(java.lang.String[] options)
Parses a given list of options. |
Methods inherited from class weka.clusterers.Clusterer |
---|
buildClusterer, clusterInstance, distributionForInstance, forName, makeCopies, makeCopy |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SingleClustererEnhancer()
Method Detail |
---|
public java.util.Enumeration listOptions()
listOptions
in interface OptionHandler
public void setOptions(java.lang.String[] options) throws java.lang.Exception
setOptions
in interface OptionHandler
options
- the list of options as an array of strings
java.lang.Exception
- if an option is not supportedpublic java.lang.String[] getOptions()
getOptions
in interface OptionHandler
public java.lang.String clustererTipText()
public void setClusterer(Clusterer value)
value
- the classifier to use.public Clusterer getClusterer()
public Capabilities getCapabilities()
getCapabilities
in interface CapabilitiesHandler
getCapabilities
in class Clusterer
Capabilities
public int numberOfClusters() throws java.lang.Exception
numberOfClusters
in class Clusterer
java.lang.Exception
- if number of clusters could not be returned
successfully
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |