xgboost

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

`#include <model.h>`

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

## 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 | ( |  | ) |
| virtual default

## Member Function Documentation

## ◆ LoadConfig()

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

Load configuration from JSON object.

Parameters

  in | JSON object containing the configuration

Implemented in xgboost::Metric.

## ◆ SaveConfig()

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

Save configuration to JSON object.

Parameters

  out | pointer to output JSON object

Implemented in xgboost::Metric.

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

- /workspace/include/xgboost/model.h