22 #ifndef __REGRESSION_TRAINING_TYPES_H__
23 #define __REGRESSION_TRAINING_TYPES_H__
25 #include "data_management/data/numeric_table.h"
26 #include "algorithms/algorithm_types.h"
27 #include "algorithms/regression/regression_model.h"
54 lastInputId = dependentVariables
76 class DAAL_EXPORT Input :
public daal::algorithms::Input
83 Input(
size_t nElements);
84 Input(
const Input& other);
93 data_management::NumericTablePtr
get(InputId id)
const;
100 void set(InputId
id,
const data_management::NumericTablePtr &value);
109 services::Status check(
const daal::algorithms::Parameter *par,
int method)
const DAAL_C11_OVERRIDE;
117 class DAAL_EXPORT PartialResult :
public daal::algorithms::PartialResult
119 DECLARE_SERIALIZABLE_IMPL();
121 DAAL_CAST_OPERATOR(PartialResult);
127 PartialResult(
size_t nElements = 0);
130 template<
typename Archive,
bool onDeserialize>
131 services::Status serialImpl(Archive *arch)
133 return daal::algorithms::PartialResult::serialImpl<Archive, onDeserialize>(arch);
142 class DAAL_EXPORT Result :
public daal::algorithms::Result
144 DECLARE_SERIALIZABLE_IMPL();
146 DAAL_CAST_OPERATOR(Result);
152 Result(
size_t nElements = 0);
159 regression::ModelPtr
get(ResultId id)
const;
166 void set(ResultId
id,
const regression::ModelPtr &value);
176 services::Status check(
const daal::algorithms::Input *input,
const daal::algorithms::Parameter *par,
int method)
const DAAL_C11_OVERRIDE;
180 template<
typename Archive,
bool onDeserialize>
181 services::Status serialImpl(Archive *arch)
183 return daal::algorithms::Result::serialImpl<Archive, onDeserialize>(arch);
186 typedef services::SharedPtr<Result> ResultPtr;
187 typedef services::SharedPtr<const Result> ResultConstPtr;
188 typedef services::SharedPtr<PartialResult> PartialResultPtr;
189 typedef services::SharedPtr<const PartialResult> PartialResultConstPtr;
191 using interface1::Input;
192 using interface1::Result;
193 using interface1::ResultPtr;
194 using interface1::ResultConstPtr;
195 using interface1::PartialResult;
196 using interface1::PartialResultPtr;
197 using interface1::PartialResultConstPtr;
daal::algorithms::regression::training::interface1::Result
Provides methods to access the result obtained with the compute() method of the regression model-base...
Definition: regression_training_types.h:142
daal::algorithms::regression::training::InputId
InputId
Available identifiers of input objects for regression model-based training.
Definition: regression_training_types.h:50
daal
Definition: algorithm_base_common.h:31
daal::algorithms::regression::training::ResultId
ResultId
Available identifiers of the result of regression model-based training.
Definition: regression_training_types.h:61
daal::algorithms::regression::training::model
Definition: regression_training_types.h:63
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::regression::training::interface1::PartialResult
Provides methods to access a partial result obtained with the compute() method of the regression mode...
Definition: regression_training_types.h:117