|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectweka.experiment.DensityBasedClustererSplitEvaluator
public class DensityBasedClustererSplitEvaluator
A SplitEvaluator that produces results for a density based clusterer.
-W classname
Specify the full class name of the clusterer to evaluate.
| Constructor Summary | |
|---|---|
DensityBasedClustererSplitEvaluator()
|
|
| Method Summary | |
|---|---|
java.lang.String |
clustererTipText()
Returns the tip text for this property |
java.util.Enumeration |
enumerateMeasures()
Returns an enumeration of any additional measure names that might be in the classifier |
DensityBasedClusterer |
getClusterer()
Get the value of clusterer |
java.lang.Object[] |
getKey()
Gets the key describing the current SplitEvaluator. |
java.lang.String[] |
getKeyNames()
Gets the names of each of the key columns produced for a single run. |
java.lang.Object[] |
getKeyTypes()
Gets the data types of each of the key columns produced for a single run. |
double |
getMeasure(java.lang.String additionalMeasureName)
Returns the value of the named measure |
java.lang.String[] |
getOptions()
Gets the current settings of the Classifier. |
java.lang.String |
getRawResultOutput()
Gets the raw output from the classifier |
boolean |
getRemoveClassColumn()
Get whether the class column is to be removed. |
java.lang.Object[] |
getResult(Instances train,
Instances test)
Gets the results for the supplied train and test datasets. |
java.lang.String[] |
getResultNames()
Gets the names of each of the result columns produced for a single run. |
java.lang.Object[] |
getResultTypes()
Gets the data types of each of the result columns produced for a single run. |
java.lang.String |
getRevision()
Returns the revision string. |
java.lang.String |
globalInfo()
Returns a string describing this split evaluator |
java.util.Enumeration |
listOptions()
Returns an enumeration describing the available options. |
java.lang.String |
removeClassColumnTipText()
Returns the tip text for this property |
void |
setAdditionalMeasures(java.lang.String[] additionalMeasures)
Set a list of method names for additional measures to look for in Classifiers. |
void |
setClusterer(DensityBasedClusterer newClusterer)
Sets the clusterer. |
void |
setClustererName(java.lang.String newClustererName)
Set the Clusterer to use, given it's class name. |
void |
setOptions(java.lang.String[] options)
Parses a given list of options. |
void |
setRemoveClassColumn(boolean r)
Set whether the class column should be removed from the data. |
java.lang.String |
toString()
Returns a text description of the split evaluator. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public DensityBasedClustererSplitEvaluator()
| Method Detail |
|---|
public java.lang.String globalInfo()
public java.util.Enumeration listOptions()
listOptions in interface OptionHandler
public void setOptions(java.lang.String[] options)
throws java.lang.Exception
-W classname
Specify the full class name of the clusterer to evaluate.
All option after -- will be passed to the classifier.
setOptions in interface OptionHandleroptions - 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 OptionHandlerpublic void setAdditionalMeasures(java.lang.String[] additionalMeasures)
setAdditionalMeasures in interface SplitEvaluatoradditionalMeasures - a list of method namespublic java.util.Enumeration enumerateMeasures()
enumerateMeasures in interface AdditionalMeasureProducerpublic double getMeasure(java.lang.String additionalMeasureName)
getMeasure in interface AdditionalMeasureProducermeasureName - the name of the measure to query for its value
java.lang.IllegalArgumentException - if the named measure is not supportedpublic java.lang.Object[] getKeyTypes()
getKeyTypes in interface SplitEvaluatorpublic java.lang.String[] getKeyNames()
getKeyNames in interface SplitEvaluatorpublic java.lang.Object[] getKey()
getKey in interface SplitEvaluatorpublic java.lang.Object[] getResultTypes()
getResultTypes in interface SplitEvaluatorpublic java.lang.String[] getResultNames()
getResultNames in interface SplitEvaluator
public java.lang.Object[] getResult(Instances train,
Instances test)
throws java.lang.Exception
getResult in interface SplitEvaluatortrain - the training Instances.test - the testing Instances.
java.lang.Exception - if a problem occurs while getting the resultspublic java.lang.String removeClassColumnTipText()
public void setRemoveClassColumn(boolean r)
r - true if the class column is to be removed.public boolean getRemoveClassColumn()
public java.lang.String clustererTipText()
public DensityBasedClusterer getClusterer()
public void setClusterer(DensityBasedClusterer newClusterer)
newClassifier - the new clusterer to use.
public void setClustererName(java.lang.String newClustererName)
throws java.lang.Exception
newClusterer - the Classifier class name.
java.lang.Exception - if the class name is invalid.public java.lang.String getRawResultOutput()
getRawResultOutput in interface SplitEvaluatorpublic java.lang.String toString()
toString in class java.lang.Objectpublic java.lang.String getRevision()
getRevision in interface RevisionHandler
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||