22 #ifndef __GBT_REGRESSION_TRAINIG_TYPES_H__
23 #define __GBT_REGRESSION_TRAINIG_TYPES_H__
25 #include "algorithms/algorithm.h"
26 #include "data_management/data/numeric_table.h"
27 #include "data_management/data/data_serialize.h"
28 #include "services/daal_defines.h"
29 #include "algorithms/gradient_boosted_trees/gbt_regression_model.h"
30 #include "algorithms/gradient_boosted_trees/gbt_training_parameter.h"
31 #include "algorithms/regression/regression_training_types.h"
82 data = algorithms::regression::training::data,
83 dependentVariable = algorithms::regression::training::dependentVariables,
84 lastInputId = dependentVariable
93 model = algorithms::regression::training::model,
109 class DAAL_EXPORT Parameter :
public daal::algorithms::Parameter,
public daal::algorithms::gbt::training::Parameter
113 services::Status check()
const DAAL_C11_OVERRIDE;
115 LossFunctionType loss;
123 class DAAL_EXPORT Input :
public algorithms::regression::training::Input
130 Input(
const Input& other) : algorithms::regression::training::Input(other){}
139 data_management::NumericTablePtr
get(InputId id)
const;
146 void set(InputId
id,
const data_management::NumericTablePtr &value);
154 services::Status check(
const daal::algorithms::Parameter *par,
int method)
const DAAL_C11_OVERRIDE;
162 class DAAL_EXPORT Result :
public algorithms::regression::training::Result
165 DECLARE_SERIALIZABLE_CAST(Result)
175 template<
typename algorithmFPType>
176 DAAL_EXPORT services::Status allocate(
const daal::algorithms::Input *input,
const Parameter *parameter,
const int method);
183 gbt::regression::ModelPtr
get(ResultId id)
const;
190 void set(ResultId
id,
const ModelPtr &value);
199 services::Status check(
const daal::algorithms::Input *input,
const daal::algorithms::Parameter *par,
int method)
const DAAL_C11_OVERRIDE;
203 template<
typename Archive,
bool onDeserialize>
204 services::Status serialImpl(Archive *arch)
206 return daal::algorithms::Result::serialImpl<Archive, onDeserialize>(arch);
209 typedef services::SharedPtr<Result> ResultPtr;
212 using interface1::Parameter;
213 using interface1::Input;
214 using interface1::Result;
215 using interface1::ResultPtr;
daal::algorithms::gbt::regression::training::Method
Method
Computation methods for gradient boosted trees classification model-based training.
Definition: gbt_regression_training_types.h:59
daal
Definition: algorithm_base_common.h:31
daal::algorithms::gbt::regression::training::interface1::Result
Provides methods to access the result obtained with the compute() method of model-based training...
Definition: gbt_regression_training_types.h:162
daal::algorithms::gbt::regression::training::xboost
Definition: gbt_regression_training_types.h:61
daal::algorithms::regression::training::model
Definition: regression_training_types.h:63
daal::algorithms::gbt::regression::training::InputId
InputId
Available identifiers of input objects for model-based training.
Definition: gbt_regression_training_types.h:80
daal::algorithms::gbt::regression::training::model
Definition: gbt_regression_training_types.h:93
daal::algorithms::gbt::regression::training::dependentVariable
Definition: gbt_regression_training_types.h:83
daal::algorithms::gbt::regression::training::data
Definition: gbt_regression_training_types.h:82
daal::algorithms::gbt::regression::training::interface1::Parameter
Parameters for the gradient boosted trees algorithm.
Definition: gbt_regression_training_types.h:109
daal::algorithms::regression::training::dependentVariables
Definition: regression_training_types.h:53
daal::algorithms::regression::training::data
Definition: regression_training_types.h:52
daal::algorithms::math::abs::value
Definition: abs_types.h:86
daal::algorithms::gbt::regression::training::ResultId
ResultId
Available identifiers of the result of model-based training.
Definition: gbt_regression_training_types.h:91
daal::algorithms::gbt::regression::training::defaultDense
Definition: gbt_regression_training_types.h:63
daal::algorithms::gbt::regression::training::LossFunctionType
LossFunctionType
Loss function type.
Definition: gbt_regression_training_types.h:70