Versions in this module Expand all Collapse all v0 v0.55.0 May 4, 2024 v0.54.0 Apr 4, 2024 Changes in this version + const DefNumTree + const DefOOBStatsFile + const DefPercentBoot + const DefPerfFile + const DefStatFile + var ErrNoInput = errors.New("rf: input samples is empty") + type Runtime struct + NRandomFeature int + NTree int + PercentBoot int + func (forest *Runtime) AddBagIndex(bagIndex []int) + func (forest *Runtime) AddCartTree(tree cart.Runtime) + func (forest *Runtime) Build(samples tabula.ClasetInterface) (e error) + func (forest *Runtime) ClassifySet(samples tabula.ClasetInterface, sampleListID []int) (predicts []string, cm *classifier.CM, probs []float64) + func (forest *Runtime) GrowTree(samples tabula.ClasetInterface) (cm *classifier.CM, stat *classifier.Stat, e error) + func (forest *Runtime) Initialize(samples tabula.ClasetInterface) error + func (forest *Runtime) Trees() []cart.Runtime + func (forest *Runtime) Votes(sample *tabula.Row, sampleIdx int) (votes []string)