Public Member Functions | List of all members
xgboost::Configurable Struct Referenceabstract

#include <model.h>

Inheritance diagram for xgboost::Configurable:
Inheritance graph
Collaboration diagram for xgboost::Configurable:
Collaboration graph

Public Member Functions

virtual ~Configurable ()=default
virtual void LoadConfig (Json const &in)=0
 Load configuration from JSON object. More...
virtual void SaveConfig (Json *out) const =0
 Save configuration to JSON object. More...

Constructor & Destructor Documentation

◆ ~Configurable()

virtual xgboost::Configurable::~Configurable ( )

Member Function Documentation

◆ LoadConfig()

virtual void xgboost::Configurable::LoadConfig ( Json const &  in)
pure virtual

Load configuration from JSON object.

inJSON object containing the configuration

Implemented in xgboost::Metric.

◆ SaveConfig()

virtual void xgboost::Configurable::SaveConfig ( Json out) const
pure virtual

Save configuration to JSON object.

outpointer to output JSON object

Implemented in xgboost::Metric.

The documentation for this struct was generated from the following file: