Versions in this module Expand all Collapse all v1 v1.0.4 Jun 5, 2023 v1.0.3 Jun 5, 2023 v1.0.2 Jun 5, 2023 v1.0.1 Jun 5, 2023 v1.0.0 Jun 5, 2023 Changes in this version + type GBLinearBooster struct + Model xgbin.GBLinearModel + Name string + type GBLinearJson struct + Learner GBLinearLearner + Version []int + func ReadGBLinear(filePath string) (*GBLinearJson, error) + type GBLinearLearner struct + FeatureNames []string + FeatureTypes []string + GradientBooster GBLinearBooster + LearnerModelParam xgbin.LearnerModelParamLegacy + Objective Objective + type GBTreeBooster struct + Model GBTreeModel + Name string + WeightDrop []float64 + type GBTreeJson struct + Learner GBTreeLearner + Version []int + func ReadGBTree(filePath string) (*GBTreeJson, error) + type GBTreeLearner struct + FeatureNames []string + FeatureTypes []string + GradientBooster GBTreeBooster + LearnerModelParam xgbin.LearnerModelParamLegacy + Objective Objective + type GBTreeModel struct + GbTreeModelParam xgbin.GBTreeModelParam + TreeInfo []int32 + Trees []*Tree + func (g *GBTreeModel) ToBinGBTreeModel() *xgbin.GBTreeModel + type Objective struct + Name string + RegLossParam RegLossParam + type RegLossParam struct + ScalePosWeight string + type Tree struct + BaseWeights []float32 + CategoricalSizes []int32 + Categories []int32 + CategoriesNodes []int32 + CategoriesSegments []int32 + DefaultLeft []bool + Id int + LeftChildren []int32 + LossChanges []float32 + Parents []int32 + RightChildren []int32 + SplitConditions []float32 + SplitIndices []uint32 + SplitType []int32 + SumHessian []float32 + TreeParam xgbin.TreeParam