Java Doc for SimpleCart.java in  » Science » weka » weka » classifiers » trees » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » Science » weka » weka.classifiers.trees 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


weka.classifiers.RandomizableClassifier
   weka.classifiers.trees.SimpleCart

SimpleCart
public class SimpleCart extends RandomizableClassifier implements AdditionalMeasureProducer,TechnicalInformationHandler(Code)
Class implementing minimal cost-complexity pruning.
Note when dealing with missing values, use "fractional instances" method instead of surrogate split method.

For more information, see:

Leo Breiman, Jerome H. Friedman, Richard A. Olshen, Charles J. Stone (1984). Classification and Regression Trees. Wadsworth International Group, Belmont, California.

BibTeX:

 @book{Breiman1984,
 address = {Belmont, California},
 author = {Leo Breiman and Jerome H. Friedman and Richard A. Olshen and Charles J. Stone},
 publisher = {Wadsworth International Group},
 title = {Classification and Regression Trees},
 year = {1984}
 }
 

Valid options are:

 -S <num>
 Random number seed.
 (default 1)
 -D
 If set, classifier is run in debug mode and
 may output additional info to the console
 -M <min no>
 The minimal number of instances at the terminal nodes.
 (default 2)
 -N <num folds>
 The number of folds used in the minimal cost-complexity pruning.
 (default 5)
 -U
 Don't use the minimal cost-complexity pruning.
 (default yes).
 -H
 Don't use the heuristic method for binary split.
 (default true).
 -A
 Use 1 SE rule to make pruning decision.
 (default no).
 -C
 Percentage of training data size (0-1].
 (default 1).

author:
   Haijian Shi (hs69@cs.waikato.ac.nz)
version:
   $Revision: 1.2 $


Field Summary
protected  doublem_Alpha
     Alpha-value (for pruning) at the node.
protected  Attributem_Attribute
     Attribute used to split data.
protected  Attributem_ClassAttribute
     Class attriubte of data.
protected  double[]m_ClassProbs
     Class probabilities.
protected  doublem_ClassValue
     Class value if the node is leaf.
protected  double[]m_Distribution
    
protected  booleanm_Heuristic
     If use huristic search for nominal attributes in multi-class problems (default true).
protected  double[]m_Props
     Proportion for each branch.
protected  booleanm_Prune
     If use minimal cost-compexity pruning.
protected  doublem_SizePer
     Training data size.
protected  Stringm_SplitString
     Split subset used to split data for nominal attributes.
protected  doublem_SplitValue
     Split point for a numeric attribute.
protected  SimpleCart[]m_Successors
     Successor nodes.
protected  booleanm_UseOneSE
     If use the 1SE rule to make final decision tree.
protected  booleanm_isLeaf
     Indicate if the node is a leaf node.
protected  doublem_minNumObj
     Minimum number of instances in at the terminal nodes.
protected  intm_numFoldsPruning
     Number of folds for minimal cost-complexity pruning.
protected  doublem_numIncorrectModel
     Number of training examples misclassified by the model (subtree rooted).
protected  doublem_numIncorrectTree
     Number of training examples misclassified by the model (subtree not rooted).
protected  intm_totalTrainInstances
     Total number of instances used to build the classifier.
protected  Instancesm_train
     Training data.


Method Summary
public  voidbuildClassifier(Instances data)
     Build the classifier.
public  voidcalculateAlphas()
     Updates the alpha field for all nodes.
protected  doublecomputeGini(double[] dist, double total)
     Compute and return gini index for a given distribution of a node.
protected  doublecomputeGiniGain(double[] parentDist, double[][] childDist)
     Compute and return gini gain for given distributions of a node and its successor nodes.
protected  doublecomputeSortedInfo(Instances data, int[][] sortedIndices, double[][] weights, double[] classProbs)
     Compute sorted indices, weights and class probabilities for a given dataset.
public  double[]distributionForInstance(Instance instance)
     Computes class probabilities for instance using the decision tree.
public  EnumerationenumerateMeasures()
     Return an enumeration of the measure names.
protected  voidfillInnerNodes(Vector nodeList)
     Fills a list with all inner nodes in the tree.
public  CapabilitiesgetCapabilities()
     Returns default capabilities of the classifier.
public  booleangetHeuristic()
     Get if use heuristic search for nominal attributes in multi-class problems.
protected  VectorgetInnerNodes()
     Return a list of all inner nodes in the tree.
public  doublegetMeasure(String additionalMeasureName)
     Returns the value of the named measure.
public  doublegetMinNumObj()
     Get minimal number of instances at the terminal nodes.
public  intgetNumFoldsPruning()
     Set number of folds in internal cross-validation.
public  String[]getOptions()
     Gets the current settings of the classifier.
public  doublegetSizePer()
     Get training set size.
public  TechnicalInformationgetTechnicalInformation()
     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.
public  booleangetUseOneSE()
     Get if use the 1SE rule to choose final model.
public  booleangetUsePrune()
     Get if use minimal cost-complexity pruning.
public  StringglobalInfo()
     Return a description suitable for displaying in the explorer/experimenter.
public  StringheuristicTipText()
    
public  EnumerationlistOptions()
     Returns an enumeration describing the available options.
public static  voidmain(String[] args)
     Main method.
protected  voidmakeLeaf(Instances data)
     Make the node leaf node.
protected  voidmakeTree(Instances data, int totalInstances, int[][] sortedIndices, double[][] weights, double[] classProbs, double totalWeight, double minNumObj, boolean useHeuristic)
     Make binary decision tree recursively.
public  doublemeasureTreeSize()
     Return number of tree size.
public  StringminNumObjTipText()
    
public  voidmodelErrors()
     Updates the numIncorrectModel field for all nodes when subtree (to be pruned) is rooted.
protected  SimpleCartnodeToPrune(Vector nodeList)
     Find the node with minimal alpha value.
protected  StringnominalDistribution(double[][] props, double[][][] dists, Attribute att, int[] sortedIndices, double[] weights, double[][] subsetWeights, double[] giniGains, Instances data, boolean useHeuristic)
     Compute distributions, proportions and total weights of two successor nodes for a given nominal attribute.
public  StringnumFoldsPruningTipText()
    
public  intnumInnerNodes()
     Method to count the number of inner nodes in the tree.
public  intnumLeaves()
     Compute number of leaf nodes.
public  intnumNodes()
     Compute size of the tree.
protected  doublenumericDistribution(double[][] props, double[][][] dists, Attribute att, int[] sortedIndices, double[] weights, double[][] subsetWeights, double[] giniGains, Instances data)
     Compute distributions, proportions and total weights of two successor nodes for a given numeric attribute.
public  voidprune(double alpha)
     Prunes the original tree using the CART pruning scheme, given a cost-complexity parameter alpha.
public  intprune(double[] alphas, double[] errors, Instances test)
     Method for performing one fold in the cross-validation of minimal cost-complexity pruning.
public  voidsetHeuristic(boolean value)
     Set if use heuristic search for nominal attributes in multi-class problems.
public  voidsetMinNumObj(double value)
     Set minimal number of instances at the terminal nodes.
public  voidsetNumFoldsPruning(int value)
     Set number of folds in internal cross-validation.
public  voidsetOptions(String[] options)
     Parses a given list of options.
public  voidsetSizePer(double value)
     Set training set size.
public  voidsetUseOneSE(boolean value)
     Set if use the 1SE rule to choose final model.
public  voidsetUsePrune(boolean value)
     Set if use minimal cost-complexity pruning.
public  StringsizePerTipText()
    
protected  voidsplitData(int[][][] subsetIndices, double[][][] subsetWeights, Attribute att, double splitPoint, String splitStr, int[][] sortedIndices, double[][] weights, Instances data)
     Split data into two subsets and store sorted indices and weights for two successor nodes.
public  StringtoString()
     Prints the decision tree using the protected toString method from below.
protected  StringtoString(int level)
     Outputs a tree at a certain level.
public  voidtreeErrors()
     Updates the numIncorrectTree field for all nodes.
protected  voidunprune()
     Method to "unprune" the CART tree.
public  StringuseOneSETipText()
    
public  StringusePruneTipText()
    

Field Detail
m_Alpha
protected double m_Alpha(Code)
Alpha-value (for pruning) at the node.



m_Attribute
protected Attribute m_Attribute(Code)
Attribute used to split data.



m_ClassAttribute
protected Attribute m_ClassAttribute(Code)
Class attriubte of data.



m_ClassProbs
protected double[] m_ClassProbs(Code)
Class probabilities.



m_ClassValue
protected double m_ClassValue(Code)
Class value if the node is leaf.



m_Distribution
protected double[] m_Distribution(Code)
Distributions of leaf node (or temporary leaf node in minimal cost-complexity pruning)



m_Heuristic
protected boolean m_Heuristic(Code)
If use huristic search for nominal attributes in multi-class problems (default true).



m_Props
protected double[] m_Props(Code)
Proportion for each branch.



m_Prune
protected boolean m_Prune(Code)
If use minimal cost-compexity pruning.



m_SizePer
protected double m_SizePer(Code)
Training data size.



m_SplitString
protected String m_SplitString(Code)
Split subset used to split data for nominal attributes.



m_SplitValue
protected double m_SplitValue(Code)
Split point for a numeric attribute.



m_Successors
protected SimpleCart[] m_Successors(Code)
Successor nodes.



m_UseOneSE
protected boolean m_UseOneSE(Code)
If use the 1SE rule to make final decision tree.



m_isLeaf
protected boolean m_isLeaf(Code)
Indicate if the node is a leaf node.



m_minNumObj
protected double m_minNumObj(Code)
Minimum number of instances in at the terminal nodes.



m_numFoldsPruning
protected int m_numFoldsPruning(Code)
Number of folds for minimal cost-complexity pruning.



m_numIncorrectModel
protected double m_numIncorrectModel(Code)
Number of training examples misclassified by the model (subtree rooted).



m_numIncorrectTree
protected double m_numIncorrectTree(Code)
Number of training examples misclassified by the model (subtree not rooted).



m_totalTrainInstances
protected int m_totalTrainInstances(Code)
Total number of instances used to build the classifier.



m_train
protected Instances m_train(Code)
Training data.





Method Detail
buildClassifier
public void buildClassifier(Instances data) throws Exception(Code)
Build the classifier.
Parameters:
  data - the training instances
throws:
  Exception - if something goes wrong



calculateAlphas
public void calculateAlphas() throws Exception(Code)
Updates the alpha field for all nodes.
throws:
  Exception - if something goes wrong



computeGini
protected double computeGini(double[] dist, double total)(Code)
Compute and return gini index for a given distribution of a node.
Parameters:
  dist - class distributions
Parameters:
  total - class distributions Gini index of the class distributions



computeGiniGain
protected double computeGiniGain(double[] parentDist, double[][] childDist)(Code)
Compute and return gini gain for given distributions of a node and its successor nodes.
Parameters:
  parentDist - class distributions of parent node
Parameters:
  childDist - class distributions of successor nodes Gini gain computed



computeSortedInfo
protected double computeSortedInfo(Instances data, int[][] sortedIndices, double[][] weights, double[] classProbs) throws Exception(Code)
Compute sorted indices, weights and class probabilities for a given dataset. Return total weights of the data at the node.
Parameters:
  data - training data
Parameters:
  sortedIndices - sorted indices of instances at the node
Parameters:
  weights - weights of instances at the node
Parameters:
  classProbs - class probabilities at the node total weights of instances at the node
throws:
  Exception - if something goes wrong



distributionForInstance
public double[] distributionForInstance(Instance instance) throws Exception(Code)
Computes class probabilities for instance using the decision tree.
Parameters:
  instance - the instance for which class probabilities is to be computed the class probabilities for the given instance
throws:
  Exception - if something goes wrong



enumerateMeasures
public Enumeration enumerateMeasures()(Code)
Return an enumeration of the measure names. an enumeration of the measure names



fillInnerNodes
protected void fillInnerNodes(Vector nodeList)(Code)
Fills a list with all inner nodes in the tree.
Parameters:
  nodeList - the list to be filled



getCapabilities
public Capabilities getCapabilities()(Code)
Returns default capabilities of the classifier. the capabilities of this classifier



getHeuristic
public boolean getHeuristic()(Code)
Get if use heuristic search for nominal attributes in multi-class problems. if use heuristic search for nominal attributes in multi-class problems



getInnerNodes
protected Vector getInnerNodes()(Code)
Return a list of all inner nodes in the tree. the list of all inner nodes



getMeasure
public double getMeasure(String additionalMeasureName)(Code)
Returns the value of the named measure.
Parameters:
  additionalMeasureName - the name of the measure to query for its value the value of the named measure
throws:
  IllegalArgumentException - if the named measure is not supported



getMinNumObj
public double getMinNumObj()(Code)
Get minimal number of instances at the terminal nodes. minimal number of instances at the terminal nodes



getNumFoldsPruning
public int getNumFoldsPruning()(Code)
Set number of folds in internal cross-validation. number of folds in internal cross-validation.



getOptions
public String[] getOptions()(Code)
Gets the current settings of the classifier. the current setting of the classifier



getSizePer
public double getSizePer()(Code)
Get training set size. training set size



getTechnicalInformation
public TechnicalInformation getTechnicalInformation()(Code)
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. the technical information about this class



getUseOneSE
public boolean getUseOneSE()(Code)
Get if use the 1SE rule to choose final model. if use the 1SE rule to choose final model



getUsePrune
public boolean getUsePrune()(Code)
Get if use minimal cost-complexity pruning. if use minimal cost-complexity pruning



globalInfo
public String globalInfo()(Code)
Return a description suitable for displaying in the explorer/experimenter. a description suitable for displaying in the explorer/experimenter



heuristicTipText
public String heuristicTipText()(Code)
Returns the tip text for this property tip text for this property suitable fordisplaying in the explorer/experimenter gui.



listOptions
public Enumeration listOptions()(Code)
Returns an enumeration describing the available options. an enumeration of all the available options.



main
public static void main(String[] args)(Code)
Main method.
Parameters:
  args - the options for the classifier



makeLeaf
protected void makeLeaf(Instances data)(Code)
Make the node leaf node.
Parameters:
  data - trainging data



makeTree
protected void makeTree(Instances data, int totalInstances, int[][] sortedIndices, double[][] weights, double[] classProbs, double totalWeight, double minNumObj, boolean useHeuristic) throws Exception(Code)
Make binary decision tree recursively.
Parameters:
  data - the training instances
Parameters:
  totalInstances - total number of instances
Parameters:
  sortedIndices - sorted indices of the instances
Parameters:
  weights - weights of the instances
Parameters:
  classProbs - class probabilities
Parameters:
  totalWeight - total weight of instances
Parameters:
  minNumObj - minimal number of instances at leaf nodes
Parameters:
  useHeuristic - if use heuristic search for nominal attributes in multi-class problem
throws:
  Exception - if something goes wrong



measureTreeSize
public double measureTreeSize()(Code)
Return number of tree size. number of tree size



minNumObjTipText
public String minNumObjTipText()(Code)
Returns the tip text for this property tip text for this property suitable fordisplaying in the explorer/experimenter gui



modelErrors
public void modelErrors() throws Exception(Code)
Updates the numIncorrectModel field for all nodes when subtree (to be pruned) is rooted. This is needed for calculating the alpha-values.
throws:
  Exception - if something goes wrong



nodeToPrune
protected SimpleCart nodeToPrune(Vector nodeList)(Code)
Find the node with minimal alpha value. If two nodes have the same alpha, choose the one with more leave nodes.
Parameters:
  nodeList - list of inner nodes the node to be pruned



nominalDistribution
protected String nominalDistribution(double[][] props, double[][][] dists, Attribute att, int[] sortedIndices, double[] weights, double[][] subsetWeights, double[] giniGains, Instances data, boolean useHeuristic) throws Exception(Code)
Compute distributions, proportions and total weights of two successor nodes for a given nominal attribute.
Parameters:
  props - proportions of each two branches for each attribute
Parameters:
  dists - class distributions of two branches for each attribute
Parameters:
  att - numeric att split on
Parameters:
  sortedIndices - sorted indices of instances for the attirubte
Parameters:
  weights - weights of instances for the attirbute
Parameters:
  subsetWeights - total weight of two branches split based on the attribute
Parameters:
  giniGains - Gini gains for each attribute
Parameters:
  data - training instances
Parameters:
  useHeuristic - if use heuristic search Gini gain for the given nominal attribute
throws:
  Exception - if something goes wrong



numFoldsPruningTipText
public String numFoldsPruningTipText()(Code)
Returns the tip text for this property tip text for this property suitable fordisplaying in the explorer/experimenter gui



numInnerNodes
public int numInnerNodes()(Code)
Method to count the number of inner nodes in the tree. the number of inner nodes



numLeaves
public int numLeaves()(Code)
Compute number of leaf nodes. number of leaf nodes



numNodes
public int numNodes()(Code)
Compute size of the tree. size of the tree



numericDistribution
protected double numericDistribution(double[][] props, double[][][] dists, Attribute att, int[] sortedIndices, double[] weights, double[][] subsetWeights, double[] giniGains, Instances data) throws Exception(Code)
Compute distributions, proportions and total weights of two successor nodes for a given numeric attribute.
Parameters:
  props - proportions of each two branches for each attribute
Parameters:
  dists - class distributions of two branches for each attribute
Parameters:
  att - numeric att split on
Parameters:
  sortedIndices - sorted indices of instances for the attirubte
Parameters:
  weights - weights of instances for the attirbute
Parameters:
  subsetWeights - total weight of two branches split based on the attribute
Parameters:
  giniGains - Gini gains for each attribute
Parameters:
  data - training instances Gini gain the given numeric attribute
throws:
  Exception - if something goes wrong



prune
public void prune(double alpha) throws Exception(Code)
Prunes the original tree using the CART pruning scheme, given a cost-complexity parameter alpha.
Parameters:
  alpha - the cost-complexity parameter
throws:
  Exception - if something goes wrong



prune
public int prune(double[] alphas, double[] errors, Instances test) throws Exception(Code)
Method for performing one fold in the cross-validation of minimal cost-complexity pruning. Generates a sequence of alpha-values with error estimates for the corresponding (partially pruned) trees, given the test set of that fold.
Parameters:
  alphas - array to hold the generated alpha-values
Parameters:
  errors - array to hold the corresponding error estimates
Parameters:
  test - test set of that fold (to obtain error estimates) the iteration of the pruning
throws:
  Exception - if something goes wrong



setHeuristic
public void setHeuristic(boolean value)(Code)
Set if use heuristic search for nominal attributes in multi-class problems.
Parameters:
  value - if use heuristic search for nominal attributes in multi-class problems



setMinNumObj
public void setMinNumObj(double value)(Code)
Set minimal number of instances at the terminal nodes.
Parameters:
  value - minimal number of instances at the terminal nodes



setNumFoldsPruning
public void setNumFoldsPruning(int value)(Code)
Set number of folds in internal cross-validation.
Parameters:
  value - number of folds in internal cross-validation.



setOptions
public void setOptions(String[] options) throws Exception(Code)
Parses a given list of options.

Valid options are:

 -S <num>
 Random number seed.
 (default 1)
 -D
 If set, classifier is run in debug mode and
 may output additional info to the console
 -M <min no>
 The minimal number of instances at the terminal nodes.
 (default 2)
 -N <num folds>
 The number of folds used in the minimal cost-complexity pruning.
 (default 5)
 -U
 Don't use the minimal cost-complexity pruning.
 (default yes).
 -H
 Don't use the heuristic method for binary split.
 (default true).
 -A
 Use 1 SE rule to make pruning decision.
 (default no).
 -C
 Percentage of training data size (0-1].
 (default 1).

Parameters:
  options - the list of options as an array of strings
throws:
  Exception - if an options is not supported



setSizePer
public void setSizePer(double value)(Code)
Set training set size.
Parameters:
  value - training set size



setUseOneSE
public void setUseOneSE(boolean value)(Code)
Set if use the 1SE rule to choose final model.
Parameters:
  value - if use the 1SE rule to choose final model



setUsePrune
public void setUsePrune(boolean value)(Code)
Set if use minimal cost-complexity pruning.
Parameters:
  value - if use minimal cost-complexity pruning



sizePerTipText
public String sizePerTipText()(Code)
Returns the tip text for this property tip text for this property suitable fordisplaying in the explorer/experimenter gui.



splitData
protected void splitData(int[][][] subsetIndices, double[][][] subsetWeights, Attribute att, double splitPoint, String splitStr, int[][] sortedIndices, double[][] weights, Instances data) throws Exception(Code)
Split data into two subsets and store sorted indices and weights for two successor nodes.
Parameters:
  subsetIndices - sorted indecis of instances for each attribute for two successor node
Parameters:
  subsetWeights - weights of instances for each attribute for two successor node
Parameters:
  att - attribute the split based on
Parameters:
  splitPoint - split point the split based on if att is numeric
Parameters:
  splitStr - split subset the split based on if att is nominal
Parameters:
  sortedIndices - sorted indices of the instances to be split
Parameters:
  weights - weights of the instances to bes split
Parameters:
  data - training data
throws:
  Exception - if something goes wrong



toString
public String toString()(Code)
Prints the decision tree using the protected toString method from below. a textual description of the classifier



toString
protected String toString(int level)(Code)
Outputs a tree at a certain level.
Parameters:
  level - the level at which the tree is to be printed a tree at a certain level



treeErrors
public void treeErrors() throws Exception(Code)
Updates the numIncorrectTree field for all nodes. This is needed for calculating the alpha-values.
throws:
  Exception - if something goes wrong



unprune
protected void unprune()(Code)
Method to "unprune" the CART tree. Sets all leaf-fields to false. Faster than re-growing the tree because CART do not have to be fit again.



useOneSETipText
public String useOneSETipText()(Code)
Returns the tip text for this property tip text for this property suitable fordisplaying in the explorer/experimenter gui.



usePruneTipText
public String usePruneTipText()(Code)
Return the tip text for this property tip text for this property suitable for displaying in the explorer/experimenter gui.



Fields inherited from weka.classifiers.RandomizableClassifier
protected int m_Seed(Code)(Java Doc)

Methods inherited from weka.classifiers.RandomizableClassifier
public String[] getOptions()(Code)(Java Doc)
public int getSeed()(Code)(Java Doc)
public Enumeration listOptions()(Code)(Java Doc)
public String seedTipText()(Code)(Java Doc)
public void setOptions(String[] options) throws Exception(Code)(Java Doc)
public void setSeed(int seed)(Code)(Java Doc)

www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.