cascading.pattern.model.tree
Class TreeSpec

java.lang.Object
  extended by cascading.pattern.model.Spec
      extended by cascading.pattern.model.tree.TreeSpec
All Implemented Interfaces:
Serializable

public class TreeSpec
extends Spec

Class TreeSpec is used to define a decision tree model. It simply holds a Tree instance populated with Predicate instances.

See Also:
Serialized Form

Field Summary
 Tree tree
           
 
Fields inherited from class cascading.pattern.model.Spec
modelSchema
 
Constructor Summary
TreeSpec(ModelSchema modelSchema)
           
TreeSpec(ModelSchema modelSchema, Tree tree)
           
 
Method Summary
 Tree getTree()
           
 void setTree(Tree tree)
           
 String toString()
           
 
Methods inherited from class cascading.pattern.model.Spec
getCategories, getCategoriesArray, getModelSchema, isPredictedCategorical, setModelSchema
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

tree

public Tree tree
Constructor Detail

TreeSpec

public TreeSpec(ModelSchema modelSchema)

TreeSpec

public TreeSpec(ModelSchema modelSchema,
                Tree tree)
Method Detail

getTree

public Tree getTree()

setTree

public void setTree(Tree tree)

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2007-2015 Concurrent, Inc. All Rights Reserved.