Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type IsolationForest ¶
type IsolationForest struct {
// contains filtered or unexported fields
}
IsolationForest data type of forest
func Init ¶
func Init(nTrees int, sampleSize int, rng rand.Rand) *IsolationForest
Init constructor of IsolationForest
func (*IsolationForest) Build ¶
func (forest *IsolationForest) Build(data [][]float64)
Build IsolationForest
func (*IsolationForest) Predict ¶
func (forest *IsolationForest) Predict(data [][]float64) []float64
Predict the data
func (*IsolationForest) PredictSingle ¶
func (forest *IsolationForest) PredictSingle(data []float64) float64
PredictSingle datapoint
type IsolationTree ¶
type IsolationTree struct {
// contains filtered or unexported fields
}
IsolationTree data type of tree
Click to show internal directories.
Click to hide internal directories.