48 #ifndef __GBT_REGRESSION_TRAINIG_TYPES_H__
49 #define __GBT_REGRESSION_TRAINIG_TYPES_H__
51 #include "algorithms/algorithm.h"
52 #include "data_management/data/numeric_table.h"
53 #include "data_management/data/data_serialize.h"
54 #include "services/daal_defines.h"
55 #include "algorithms/gradient_boosted_trees/gbt_regression_model.h"
56 #include "algorithms/gradient_boosted_trees/gbt_training_parameter.h"
57 #include "algorithms/regression/regression_training_types.h"
108 data = algorithms::regression::training::data,
109 dependentVariable = algorithms::regression::training::dependentVariables,
110 lastInputId = dependentVariable
119 model = algorithms::regression::training::model,
135 class DAAL_EXPORT Parameter :
public daal::algorithms::Parameter,
public daal::algorithms::gbt::training::Parameter
139 services::Status check()
const DAAL_C11_OVERRIDE;
141 LossFunctionType loss;
149 class DAAL_EXPORT Input :
public algorithms::regression::training::Input
156 Input(
const Input& other) : algorithms::regression::training::Input(other){}
165 data_management::NumericTablePtr
get(InputId id)
const;
172 void set(InputId
id,
const data_management::NumericTablePtr &value);
180 services::Status check(
const daal::algorithms::Parameter *par,
int method)
const DAAL_C11_OVERRIDE;
188 class DAAL_EXPORT Result :
public algorithms::regression::training::Result
191 DECLARE_SERIALIZABLE_CAST(Result)
201 template<
typename algorithmFPType>
202 DAAL_EXPORT services::Status allocate(
const daal::algorithms::Input *input,
const Parameter *parameter,
const int method);
209 gbt::regression::ModelPtr
get(ResultId id)
const;
216 void set(ResultId
id,
const ModelPtr &value);
225 services::Status check(
const daal::algorithms::Input *input,
const daal::algorithms::Parameter *par,
int method)
const DAAL_C11_OVERRIDE;
229 template<
typename Archive,
bool onDeserialize>
230 services::Status serialImpl(Archive *arch)
232 return daal::algorithms::Result::serialImpl<Archive, onDeserialize>(arch);
235 typedef services::SharedPtr<Result> ResultPtr;
238 using interface1::Parameter;
239 using interface1::Input;
240 using interface1::Result;
241 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:85
daal
Definition: algorithm_base_common.h:57
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:188
daal::algorithms::gbt::regression::training::xboost
Definition: gbt_regression_training_types.h:87
daal::algorithms::regression::training::model
Definition: regression_training_types.h:89
daal::algorithms::gbt::regression::training::InputId
InputId
Available identifiers of input objects for model-based training.
Definition: gbt_regression_training_types.h:106
daal::algorithms::gbt::regression::training::model
Definition: gbt_regression_training_types.h:119
daal::algorithms::gbt::regression::training::dependentVariable
Definition: gbt_regression_training_types.h:109
daal::algorithms::gbt::regression::training::data
Definition: gbt_regression_training_types.h:108
daal::algorithms::gbt::regression::training::interface1::Parameter
Parameters for the gradient boosted trees algorithm.
Definition: gbt_regression_training_types.h:135
daal::algorithms::regression::training::dependentVariables
Definition: regression_training_types.h:79
daal::algorithms::regression::training::data
Definition: regression_training_types.h:78
daal::algorithms::math::abs::value
Definition: abs_types.h:112
daal::algorithms::gbt::regression::training::ResultId
ResultId
Available identifiers of the result of model-based training.
Definition: gbt_regression_training_types.h:117
daal::algorithms::gbt::regression::training::defaultDense
Definition: gbt_regression_training_types.h:89
daal::algorithms::gbt::regression::training::LossFunctionType
LossFunctionType
Loss function type.
Definition: gbt_regression_training_types.h:96