| Home | Trees | Indices | Help |
|
|---|
|
|
ADTree implementation
Ref:
@Article{moore98:_cached_suffic_statis_effic_machin,
author = {Andrew Moore and Mary Soon Lee},
title = {Cached Sufficient Statistics for Efficient Machine Learning with Large Datasets},
journal = {Journal of Artificial Intelligence Research},
year = 1998,
volume = 8,
pages = {67--91},
url = {http://www.jair.org/media/453/live-453-1678-jair.pdf}
}
|
|||
|
|||
|
|||
|
|||
| list |
|
||
| int |
|
||
|
|||
|
Inherited from |
|||
|
|||
| int |
_count A count of the number of records 'in' the tree |
||
| Various |
_data may be .1 a tuple each element of which is either an _ADTree object or None, There is one element for each value of the variable corresponding to the top node of the tree. |
||
| Various |
_mcvindex In cases 1) and 3) this is an integer stating which value has the most records. |
||
|
|||
|
Inherited from |
|||
|
|||
Initialise an _ADTree object
|
Return the data for a Factor The Factor's variables will generally be a subset of those for which data is stored in the tree
|
Return the number of nodes in the tree
|
str(x)
|
|
|||
_datamay be .1 a tuple each element of which is either an _ADTree object or None, There is one element for each value of the variable corresponding to the top node of the tree. A None value indicates 0 records for the corresponding value .2 a tuple of records .3 a single _ADTree object. This is a space saving mechanism used when there is only one value of the variable with any records associated with it |
_mcvindexIn cases 1) and 3) this is an integer stating which value has the most records. To this value *all* records are associated rather than just those with the appropriate value. In case 2) this is None |
| Home | Trees | Indices | Help |
|
|---|
| Generated by Epydoc 3.0.1 on Thu Oct 15 15:34:05 2009 | http://epydoc.sourceforge.net |