Versions in this module Expand all Collapse all v0 v0.2.0 Jun 16, 2016 Changes in this version + const DefNumTree + const DefPercentBoot + const DefPerfFile + const DefStage + const DefStatFile + const DefTNRate + const DefTPRate + var DEBUG = 0 + var ErrNoInput = errors.New("rf: input samples is empty") + type Runtime struct + NRandomFeature int + NStage int + NTree int + PercentBoot int + TNRate float64 + TPRate float64 + func New(nstage, ntree, percentboot, nfeature int, tprate, tnrate float64, ...) (crf *Runtime) + func (crf *Runtime) AddForest(forest *rf.Runtime) + func (crf *Runtime) Build(samples tabula.ClasetInterface) (e error) + func (crf *Runtime) ClassifySetByWeight(samples tabula.ClasetInterface, sampleIds []int) (predicts []string, cm *classifier.CM, probs []float64) + func (crf *Runtime) Initialize(samples tabula.ClasetInterface) error