com.rapidminer.operator.clustering
Class WekaClusterModel
java.lang.Object
com.rapidminer.operator.AbstractIOObject
com.rapidminer.operator.ResultObjectAdapter
com.rapidminer.operator.AbstractModel
com.rapidminer.operator.clustering.WekaClusterModel
- All Implemented Interfaces:
- IOObject, Model, ResultObject, Saveable, Readable, Reportable, LoggingHandler, java.io.Serializable
public class WekaClusterModel
- extends AbstractModel
A Weka clusterer which can be used to cluster examples. It is generated by a WekaClusterer.
- Author:
- Ingo Mierswa
- See Also:
- Serialized Form
| Methods inherited from class com.rapidminer.operator.ResultObjectAdapter |
addAction, getActions, getVisualizationComponent, isSavable, log, logError, logNote, logWarning, save, toHTML, toResultString |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
WekaClusterModel
public WekaClusterModel(ExampleSet exampleSet,
weka.clusterers.Clusterer clusterer)
apply
public ExampleSet apply(ExampleSet exampleSet)
throws OperatorException
- Description copied from interface:
Model
- Applies the model on the given example set. Please note that the delivered
example set might be the same as the input example set. This does, however,
no always to be the case.
- Throws:
OperatorException
applyModelForInstance
public void applyModelForInstance(weka.core.Instance instance,
Example e,
Attribute clusterAtt)
throws OperatorException
- Clusters ervery weka instance and sets the result as cluster index of the current example.
- Throws:
OperatorException
toString
public java.lang.String toString()
- Specified by:
toString in interface Readable- Overrides:
toString in class java.lang.Object
Copyright © 2001-2009 by Rapid-I