Versions in this module Expand all Collapse all v0 v0.1.0 Feb 7, 2016 Changes in this version + const DefNumTree + const DefPercentBoot + var ErrNoInput = errors.New("randomforest: input reader is empty") + type Input struct + NFeature int + NSubsample int + NTree int + OobErrMeanVal float64 + OobErrSteps []float64 + OobStats []classifiers.TestStats + PercentBoot int + Trees []cart.Input + func New(ntree, nfeature, percentboot int) (forest *Input) + func (forest *Input) AddBagIndex(bagIndex []int) + func (forest *Input) AddCartTree(tree cart.Input) + func (forest *Input) AddOobStats(stats classifiers.TestStats) + func (forest *Input) Build(samples *dataset.Reader) (e error) + func (forest *Input) ClassifySet(dataset *dataset.Reader, dsIdx []int) (testStats classifiers.TestStats) + func (forest *Input) GrowTree(t int, samples *dataset.Reader, totalOobErr float64) (oobErr float64, e error) + func (forest *Input) Init(samples *dataset.Reader)