Documentation
¶
Overview ¶
Package compactPredictionTree provides a wrapper around the structure needed to build compact prediction tree
Index ¶
- func InitCompactPredictionTree(compactPredictionTree *CompactPredictionTree)
- func PredictionOverTestingSequence(compactPredictionTree *CompactPredictionTree, k int, n int) map[int][]string
- func String(compactPredictionTree *CompactPredictionTree) (result string)
- type CompactPredictionTree
- type Pair
- type PairList
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func InitCompactPredictionTree ¶
func InitCompactPredictionTree(compactPredictionTree *CompactPredictionTree)
InitCompactPredictionTree init structure
func PredictionOverTestingSequence ¶
func PredictionOverTestingSequence(compactPredictionTree *CompactPredictionTree, k int, n int) map[int][]string
PredictionOverTestingSequence init structure
func String ¶
func String(compactPredictionTree *CompactPredictionTree) (result string)
Stringify the compactPredictionTree
Types ¶
type CompactPredictionTree ¶
type CompactPredictionTree struct { InvertedIndexTable *invertedIndexTable.InvertedIndexTable PredictionTree *predictionTree.PredictionTree TrainingSet map[int]*sequence.Sequence TestingSet map[int]*sequence.Sequence }
The struct CompactPredictionTree
func NewCompactPredictionTree ¶
func NewCompactPredictionTree( invertedIndexTable *invertedIndexTable.InvertedIndexTable, predictionTree *predictionTree.PredictionTree, trainingSet map[int]*sequence.Sequence, testingSet map[int]*sequence.Sequence) (compactPredictionTree *CompactPredictionTree)
NewCompactPredictionTree create a new CompactPredictionTree
Click to show internal directories.
Click to hide internal directories.