48 #ifndef __REGRESSION_TRAINING_TYPES_H__
49 #define __REGRESSION_TRAINING_TYPES_H__
51 #include "data_management/data/numeric_table.h"
52 #include "algorithms/algorithm_types.h"
53 #include "algorithms/regression/regression_model.h"
80 lastInputId = dependentVariables
102 class DAAL_EXPORT Input :
public daal::algorithms::Input
109 Input(
size_t nElements);
110 Input(
const Input& other);
119 data_management::NumericTablePtr
get(InputId id)
const;
126 void set(InputId
id,
const data_management::NumericTablePtr &value);
135 services::Status check(
const daal::algorithms::Parameter *par,
int method)
const DAAL_C11_OVERRIDE;
143 class DAAL_EXPORT PartialResult :
public daal::algorithms::PartialResult
145 DECLARE_SERIALIZABLE_IMPL();
147 DAAL_CAST_OPERATOR(PartialResult);
153 PartialResult(
size_t nElements = 0);
156 template<
typename Archive,
bool onDeserialize>
157 services::Status serialImpl(Archive *arch)
159 return daal::algorithms::PartialResult::serialImpl<Archive, onDeserialize>(arch);
168 class DAAL_EXPORT Result :
public daal::algorithms::Result
170 DECLARE_SERIALIZABLE_IMPL();
172 DAAL_CAST_OPERATOR(Result);
178 Result(
size_t nElements = 0);
185 regression::ModelPtr
get(ResultId id)
const;
192 void set(ResultId
id,
const regression::ModelPtr &value);
202 services::Status check(
const daal::algorithms::Input *input,
const daal::algorithms::Parameter *par,
int method)
const DAAL_C11_OVERRIDE;
206 template<
typename Archive,
bool onDeserialize>
207 services::Status serialImpl(Archive *arch)
209 return daal::algorithms::Result::serialImpl<Archive, onDeserialize>(arch);
212 typedef services::SharedPtr<Result> ResultPtr;
213 typedef services::SharedPtr<const Result> ResultConstPtr;
214 typedef services::SharedPtr<PartialResult> PartialResultPtr;
215 typedef services::SharedPtr<const PartialResult> PartialResultConstPtr;
217 using interface1::Input;
218 using interface1::Result;
219 using interface1::ResultPtr;
220 using interface1::ResultConstPtr;
221 using interface1::PartialResult;
222 using interface1::PartialResultPtr;
223 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:168
daal::algorithms::regression::training::InputId
InputId
Available identifiers of input objects for regression model-based training.
Definition: regression_training_types.h:76
daal
Definition: algorithm_base_common.h:57
daal::algorithms::regression::training::ResultId
ResultId
Available identifiers of the result of regression model-based training.
Definition: regression_training_types.h:87
daal::algorithms::regression::training::model
Definition: regression_training_types.h:89
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::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:143