24 #ifndef __GBT_REGRESSION_TRAINIG_TYPES_H__
25 #define __GBT_REGRESSION_TRAINIG_TYPES_H__
27 #include "algorithms/algorithm.h"
28 #include "data_management/data/numeric_table.h"
29 #include "data_management/data/data_serialize.h"
30 #include "services/daal_defines.h"
31 #include "algorithms/gradient_boosted_trees/gbt_regression_model.h"
32 #include "algorithms/gradient_boosted_trees/gbt_training_parameter.h"
33 #include "algorithms/regression/regression_training_types.h"
84 data = algorithms::regression::training::data,
85 dependentVariable = algorithms::regression::training::dependentVariables,
86 lastInputId = dependentVariable
95 model = algorithms::regression::training::model,
99 enum ResultNumericTableId
101 variableImportanceByWeight = lastResultId + 1,
102 variableImportanceByTotalCover,
103 variableImportanceByCover,
104 variableImportanceByTotalGain,
105 variableImportanceByGain,
106 lastResultNumericTableId = variableImportanceByGain
121 class DAAL_EXPORT Parameter :
public daal::algorithms::Parameter,
public daal::algorithms::gbt::training::Parameter
125 services::Status check()
const DAAL_C11_OVERRIDE;
127 LossFunctionType loss;
128 DAAL_UINT64 varImportance;
136 class DAAL_EXPORT Input :
public algorithms::regression::training::Input
143 Input(
const Input& other) : algorithms::regression::training::Input(other){}
152 data_management::NumericTablePtr
get(InputId id)
const;
159 void set(InputId
id,
const data_management::NumericTablePtr &value);
167 services::Status check(
const daal::algorithms::Parameter *par,
int method)
const DAAL_C11_OVERRIDE;
175 class DAAL_EXPORT Result :
public algorithms::regression::training::Result
178 DECLARE_SERIALIZABLE_CAST(Result)
188 template<
typename algorithmFPType>
189 DAAL_EXPORT services::Status allocate(
const daal::algorithms::Input *input,
const Parameter *parameter,
const int method);
196 gbt::regression::ModelPtr
get(ResultId id)
const;
203 void set(ResultId
id,
const ModelPtr &value);
210 data_management::NumericTablePtr
get(ResultNumericTableId id)
const;
217 void set(ResultNumericTableId
id,
const data_management::NumericTablePtr &value);
226 services::Status check(
const daal::algorithms::Input *input,
const daal::algorithms::Parameter *par,
int method)
const DAAL_C11_OVERRIDE;
230 template<
typename Archive,
bool onDeserialize>
231 services::Status serialImpl(Archive *arch)
233 return daal::algorithms::Result::serialImpl<Archive, onDeserialize>(arch);
236 typedef services::SharedPtr<Result> ResultPtr;
239 using interface1::Parameter;
240 using interface1::Input;
241 using interface1::Result;
242 using interface1::ResultPtr;
daal::algorithms::gbt::regression::training::interface1::Parameter::varImportance
DAAL_UINT64 varImportance
Definition: gbt_regression_training_types.h:128
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:175
daal::algorithms::gbt::regression::training::model
Definition: gbt_regression_training_types.h:95
daal::algorithms::gbt::regression::training::dependentVariable
Definition: gbt_regression_training_types.h:85
daal::algorithms::gbt::regression::training::interface1::Parameter
Parameters for the gradient boosted trees algorithm.
Definition: gbt_regression_training_types.h:121
daal::algorithms::gbt::regression::training::LossFunctionType
LossFunctionType
Loss function type.
Definition: gbt_regression_training_types.h:72
daal::algorithms::gbt::regression::training::interface1::Input::Input
Input(const Input &other)
Definition: gbt_regression_training_types.h:143
daal::algorithms::regression::training::dependentVariables
Definition: regression_training_types.h:55
daal::algorithms::gbt::regression::training::Method
Method
Computation methods for gradient boosted trees classification model-based training.
Definition: gbt_regression_training_types.h:61
daal::algorithms::gbt::regression::training::InputId
InputId
Available identifiers of input objects for model-based training.
Definition: gbt_regression_training_types.h:82
daal::algorithms::gbt::regression::training::defaultDense
Definition: gbt_regression_training_types.h:65
daal::algorithms::regression::training::data
Definition: regression_training_types.h:54
daal::algorithms::gbt::regression::training::interface1::Input
Input objects for model-based training
Definition: gbt_regression_training_types.h:136
daal::algorithms::gbt::regression::training::interface1::Parameter::loss
LossFunctionType loss
Definition: gbt_regression_training_types.h:127
daal::algorithms::gbt::regression::training::ResultId
ResultId
Available identifiers of the result of model-based training.
Definition: gbt_regression_training_types.h:93
daal::algorithms::regression::training::model
Definition: regression_training_types.h:66
daal::algorithms::gbt::regression::training::data
Definition: gbt_regression_training_types.h:84
daal::algorithms::math::abs::value
Definition: abs_types.h:88
daal::algorithms::gbt::regression::training::xboost
Definition: gbt_regression_training_types.h:63