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::services::interface1::Status
Class that holds the results of API calls. In case of API routine failure it contains the list of err...
Definition: error_handling.h:491
daal
Definition: algorithm_base_common.h:57
daal::algorithms::interface1::Result
Base class to represent final results of the computation. Algorithm-specific final results are repres...
Definition: algorithm_types.h:331
daal::algorithms::regression::training::InputId
InputId
Available identifiers of input objects for regression model-based training.
Definition: regression_training_types.h:76
daal::algorithms::interface1::PartialResult
Base class to represent partial results of the computation. Algorithm-specific partial results are re...
Definition: algorithm_types.h:253
daal::algorithms::regression::training::dependentVariables
Definition: regression_training_types.h:79
daal::algorithms::interface1::Parameter
Base class to represent computation parameters. Algorithm-specific parameters are represented as deri...
Definition: algorithm_types.h:86
daal::services::interface1::SharedPtr
Shared pointer that retains shared ownership of an object through a pointer. Several SharedPtr object...
Definition: daal_shared_ptr.h:187
daal::algorithms::regression::training::model
Definition: regression_training_types.h:89
daal::algorithms::regression::training::ResultId
ResultId
Available identifiers of the result of regression model-based training.
Definition: regression_training_types.h:87
daal::algorithms::math::abs::value
Definition: abs_types.h:112
daal::algorithms::regression::training::data
Definition: regression_training_types.h:78
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