isolationforest

package module
v0.0.0-...-1205146 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 12, 2017 License: MIT Imports: 2 Imported by: 0

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL