Java weka.classifiers.trees J48 fields, constructors, methods, implement or subclass

Example usage for Java weka.classifiers.trees J48 fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for weka.classifiers.trees J48.

The text is from its open source code.

Subclass

weka.classifiers.trees.J48 has subclasses.
Click this link to see all its subclasses.

Constructor

Method

voidbuildClassifier(Instances instances)
Generates the classifier.
doubleclassifyInstance(Instance instance)
Classifies an instance.
double[]distributionForInstance(Instance instance)
Returns class probabilities for an instance.
CapabilitiesgetCapabilities()
Returns default capabilities of the classifier.
floatgetConfidenceFactor()
Get the value of CF.
Stringgraph()
Returns graph describing the tree.
doublemeasureNumLeaves()
Returns the number of leaves
doublemeasureNumRules()
Returns the number of rules (same as number of leaves)
Stringprefix()
Returns tree in prefix order.
voidsetCollapseTree(boolean v)
Set the value of collapseTree.
voidsetConfidenceFactor(float v)
Set the value of CF.
voidsetMinNumObj(int v)
Set the value of minNumObj.
voidsetOptions(String[] options)
Parses a given list of options.
voidsetUnpruned(boolean v)
Set the value of unpruned.
voidsetUseLaplace(boolean newuseLaplace)
Set the value of useLaplace.
voidsetUseMDLcorrection(boolean newuseMDLcorrection)
Set the value of useMDLcorrection.
StringtoString()
Returns a description of the classifier.
StringtoSummaryString()
Returns a superconcise version of the model