Documentation ¶
Overview ¶
Package decisiontree contains utilities to handle decision trees.
Index ¶
Constants ¶
View Source
const DefaultNodeFilename = "nodes"
DefaultNodeFilename is the default filename to store nodes.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Forest ¶
type Forest struct {
Trees []*Tree
}
Forest is a collection of trees.
func LoadForest ¶
LoadForest loads a forest from disk.
func (*Forest) NumNonLeafs ¶
NumNonLeafs is the number of non-leaf nodes in the forest.
Directories ¶
Path | Synopsis |
---|---|
Package io contains utilities to load/save decision trees
|
Package io contains utilities to load/save decision trees |
blobsequence
Package blobsequence implement node reading from blob sequence files.
|
Package blobsequence implement node reading from blob sequence files. |
canonical
Package canonical registers the "canonical" ways to read tree nodes.
|
Package canonical registers the "canonical" ways to read tree nodes. |
Package proto includes all proto definitions used in the golang package in one large package.
|
Package proto includes all proto definitions used in the golang package in one large package. |
Click to show internal directories.
Click to hide internal directories.