Constructor
new DecisionTreeBase(criterion, params)
Instantiates a generic implementation of the decision tree.
For specific implementations, such as the ones for
classification or regression, see other imports in this module.
Parameters:
Name | Type | Description | ||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
criterion |
Object | Class that implements a splitting criterion. For example implementation, see GiniCriterion or MSECriterion. | ||||||||||||||||
params |
Oject | Configuration of the training procedure
and decision tree architecture.
Properties
|
Methods
(async) to_mermaid()
Creates a mermaid graph representation of
this tree. See more here:
https://mermaidjs.github.io/