Medial Code Documentation
Loading...
Searching...
No Matches
xgboost::obj::FitIntercept Class Reference
Inheritance diagram for xgboost::obj::FitIntercept:
xgboost::ObjFunction xgboost::Configurable xgboost::obj::LambdaRankObj< LambdaRankMAP, ltr::MAPCache > xgboost::obj::LambdaRankObj< LambdaRankNDCG, ltr::NDCGCache > xgboost::obj::LambdaRankObj< LambdaRankPairwise, ltr::RankingCache > xgboost::obj::LambdaRankObj< Loss, Cache > xgboost::obj::LambdaRankMAP xgboost::obj::LambdaRankNDCG xgboost::obj::LambdaRankPairwise

Additional Inherited Members

- Public Member Functions inherited from xgboost::ObjFunction
 ~ObjFunction () override=default
 virtual destructor
 
virtual void Configure (const std::vector< std::pair< std::string, std::string > > &args)=0
 Configure the objective with the specified parameters.
 
virtual void GetGradient (const HostDeviceVector< bst_float > &preds, const MetaInfo &info, int iteration, HostDeviceVector< GradientPair > *out_gpair)=0
 Get gradient over each of predictions, given existing information.
 
virtual const char * DefaultEvalMetric () const =0
 
virtual Json DefaultMetricConfig () const
 Return the configuration for the default metric.
 
virtual void PredTransform (HostDeviceVector< bst_float > *) const
 transform prediction values, this is only called when Prediction is called
 
virtual void EvalTransform (HostDeviceVector< bst_float > *io_preds)
 transform prediction values, this is only called when Eval is called, usually it redirect to PredTransform
 
virtual bst_float ProbToMargin (bst_float base_score) const
 transform probability value back to margin this is used to transform user-set base_score back to margin used by gradient boosting
 
virtual void InitEstimation (MetaInfo const &info, linalg::Tensor< float, 1 > *base_score) const
 Make initialize estimation of prediction.
 
virtual struct ObjInfo Task () const =0
 Return task of this objective.
 
virtual bst_target_t Targets (MetaInfo const &info) const
 Return number of targets for input matrix.
 
virtual void UpdateTreeLeaf (HostDeviceVector< bst_node_t > const &, MetaInfo const &, float, HostDeviceVector< float > const &, std::int32_t, RegTree *) const
 Update the leaf values after a tree is built.
 
- Public Member Functions inherited from xgboost::Configurable
virtual void LoadConfig (Json const &in)=0
 Load configuration from JSON object.
 
virtual void SaveConfig (Json *out) const =0
 Save configuration to JSON object.
 
- Static Public Member Functions inherited from xgboost::ObjFunction
static constexpr float DefaultBaseScore ()
 
static ObjFunctionCreate (const std::string &name, Context const *ctx)
 Create an objective function according to name.
 
- Protected Attributes inherited from xgboost::ObjFunction
Context const * ctx_
 

The documentation for this class was generated from the following files: