|
|
| FindBest(resCodes,
examples,
nBoundsPerVar,
nPossibleRes,
nPossibleVals,
attrs,
**kwargs) |
source code
|
|
|
|
BuildQuantTree(examples,
target,
attrs,
nPossibleVals,
nBoundsPerVar,
depth=0,
maxDepth=-1,
**kwargs)
**Arguments**
- examples: a list of lists (nInstances x nVariables+1) of variable
values + instance values
- target: an int
- attrs: a list of ints indicating which variables can be used in the tree
- nPossibleVals: a list containing the number of possible values of
every variable. |
source code
|
|
|
|
QuantTreeBoot(examples,
attrs,
nPossibleVals,
nBoundsPerVar,
initialVar=None,
maxDepth=-1,
**kwargs)
Bootstrapping code for the QuantTree
If _initialVar_ is not set, the algorithm will automatically
choose the first variable in the tree (the standard greedy
approach). |
source code
|
|
|
|
|
|
|
|
|
|
|