类 UserClassifier
java.lang.Object
weka.classifiers.Classifier
weka.classifiers.trees.UserClassifier
- 所有已实现的接口:
Serializable
,Cloneable
,CapabilitiesHandler
,Drawable
,OptionHandler
,RevisionHandler
,TechnicalInformationHandler
,TreeDisplayListener
,VisualizePanelListener
public class UserClassifier
extends Classifier
implements Drawable, TreeDisplayListener, VisualizePanelListener, TechnicalInformationHandler
Interactively classify through visual means. You are Presented with a scatter graph of the data against two user selectable attributes, as well as a view of the decision tree. You can create binary splits by creating polygons around data plotted on the scatter graph, as well as by allowing another classifier to take over at points in the decision tree should you see fit.
For more information see:
Malcolm Ware, Eibe Frank, Geoffrey Holmes, Mark Hall, Ian H. Witten (2001). Interactive machine learning: letting users build classifiers. Int. J. Hum.-Comput. Stud.. 55(3):281-292. BibTeX:
For more information see:
Malcolm Ware, Eibe Frank, Geoffrey Holmes, Mark Hall, Ian H. Witten (2001). Interactive machine learning: letting users build classifiers. Int. J. Hum.-Comput. Stud.. 55(3):281-292. BibTeX:
@article{Ware2001, author = {Malcolm Ware and Eibe Frank and Geoffrey Holmes and Mark Hall and Ian H. Witten}, journal = {Int. J. Hum.-Comput. Stud.}, number = {3}, pages = {281-292}, title = {Interactive machine learning: letting users build classifiers}, volume = {55}, year = {2001}, PS = {http://www.cs.waikato.ac.nz/\~ml/publications/2000/00MW-etal-Interactive-ML.ps} }Valid options are:
-D If set, classifier is run in debug mode and may output additional info to the console
- 版本:
- $Revision: 5535 $
- 作者:
- Malcolm Ware (mfw4@cs.waikato.ac.nz)
- 另请参阅:
-
字段概要
从接口继承的字段 weka.core.Drawable
BayesNet, Newick, NOT_DRAWABLE, TREE
-
构造器概要
构造器 -
方法概要
修饰符和类型方法说明void
Call this function to build a decision tree for the training data provided.double[]
Call this function to get a double array filled with the probability of how likely each class type is the class of the instance.Returns default capabilities of the classifier.Returns the revision string.Returns an instance of a TechnicalInformation object, containing detailed information about the technical background of this class, e.g., paper reference or book this class is based on.This will return a string describing the classifier.graph()
Returns a string that describes a graph representing the object.int
Returns the type of graph this classifier represents.static void
Main method for testing this class.toString()
void
Receives user choices from the tree view, and then deals with these choices.void
This receives shapes from the data view.从类继承的方法 weka.classifiers.Classifier
classifyInstance, debugTipText, forName, getDebug, getOptions, listOptions, makeCopies, makeCopy, setDebug, setOptions
-
构造器详细资料
-
UserClassifier
public UserClassifier()Constructor
-
-
方法详细资料
-
main
Main method for testing this class.- 参数:
argv
- should contain command line options (see setOptions)
-
toString
-
userCommand
Receives user choices from the tree view, and then deals with these choices.- 指定者:
userCommand
在接口中TreeDisplayListener
- 参数:
e
- The choice.
-
userDataEvent
This receives shapes from the data view. It then enters these shapes into the decision tree structure.- 指定者:
userDataEvent
在接口中VisualizePanelListener
- 参数:
e
- Contains the shapes, and other info.
-
graphType
public int graphType()Returns the type of graph this classifier represents. -
graph
从接口复制的说明:Drawable
Returns a string that describes a graph representing the object. The string should be in XMLBIF ver. 0.3 format if the graph is a BayesNet, otherwise it should be in dotty format. -
globalInfo
This will return a string describing the classifier.- 返回:
- The string.
-
getTechnicalInformation
Returns an instance of a TechnicalInformation object, containing detailed information about the technical background of this class, e.g., paper reference or book this class is based on.- 指定者:
getTechnicalInformation
在接口中TechnicalInformationHandler
- 返回:
- the technical information about this class
-
getCapabilities
Returns default capabilities of the classifier.- 指定者:
getCapabilities
在接口中CapabilitiesHandler
- 覆盖:
getCapabilities
在类中Classifier
- 返回:
- the capabilities of this classifier
- 另请参阅:
-
buildClassifier
Call this function to build a decision tree for the training data provided.- 指定者:
buildClassifier
在类中Classifier
- 参数:
i
- The training data.- 抛出:
Exception
- if can't build classification properly.
-
distributionForInstance
Call this function to get a double array filled with the probability of how likely each class type is the class of the instance.- 覆盖:
distributionForInstance
在类中Classifier
- 参数:
i
- The instance to classify.- 返回:
- A double array filled with the probalities of each class type.
- 抛出:
Exception
- if can't classify instance.
-
getRevision
Returns the revision string.- 指定者:
getRevision
在接口中RevisionHandler
- 覆盖:
getRevision
在类中Classifier
- 返回:
- the revision
-