Documentation ¶
Overview ¶
Package randomforest defines the gradient boosted trees model.
Index ¶
Constants ¶
View Source
const ModelKey = "RANDOM_FOREST"
ModelKey is the unique identifier of the model for serizalization.
Variables ¶
This section is empty.
Functions ¶
func Create ¶
func Create(header *model_pb.AbstractModel, dataspec *dataspec_pb.DataSpecification) model.Implementation
Create creates a GBT model.
Types ¶
type Model ¶
type Model struct { RfHeader *rf_pb.Header Forest *dt.Forest // contains filtered or unexported fields }
Model is a Gradient Boosted Trees model.
func (*Model) Dataspec ¶
func (me *Model) Dataspec() *dataspec_pb.DataSpecification
Dataspec of the model.
func (*Model) LoadSpecific ¶
LoadSpecific loads a model from disk.
Click to show internal directories.
Click to hide internal directories.