Public Member Functions | Public Attributes
ml_lib.random_forest.DecisionTree Class Reference

Basic DecisionTree that the random forest is based on. More...

List of all members.

Public Member Functions

def __init__
def get_tree_depth
def make_leaf
def predict
def train
def transform_input
 Identity function.

Public Attributes

 children
 prediction
 split_point

Detailed Description

Basic DecisionTree that the random forest is based on.

Definition at line 201 of file random_forest.py.


Constructor & Destructor Documentation

def ml_lib.random_forest.DecisionTree.__init__ (   self,
  dataset = None,
  splitting_func = min_entropy_split 
)

Definition at line 203 of file random_forest.py.


Member Function Documentation

Definition at line 260 of file random_forest.py.

def ml_lib.random_forest.DecisionTree.make_leaf (   self,
  dataset 
)

Definition at line 226 of file random_forest.py.

def ml_lib.random_forest.DecisionTree.predict (   self,
  input 
)

Definition at line 238 of file random_forest.py.

def ml_lib.random_forest.DecisionTree.train (   self,
  dataset,
  splitting_func = min_entropy_split 
)

Definition at line 209 of file random_forest.py.

def ml_lib.random_forest.DecisionTree.transform_input (   self,
  input,
  tree = None 
)

Identity function.

Definition at line 257 of file random_forest.py.


Member Data Documentation

Definition at line 203 of file random_forest.py.

Definition at line 203 of file random_forest.py.

Definition at line 209 of file random_forest.py.


The documentation for this class was generated from the following file:


ml_lib
Author(s): haidai
autogenerated on Wed Nov 27 2013 11:46:34