24 #ifndef __LOGISTIC_TYPES_H__
25 #define __LOGISTIC_TYPES_H__
27 #include "algorithms/algorithm.h"
28 #include "data_management/data/numeric_table.h"
29 #include "data_management/data/homogen_numeric_table.h"
30 #include "services/daal_defines.h"
91 class DAAL_EXPORT Input :
public daal::algorithms::Input
104 Input(
const Input& other) : daal::algorithms::Input(other){}
109 DAAL_DEPRECATED_VIRTUAL
virtual ~Input() {}
116 data_management::NumericTablePtr
get(InputId id)
const;
123 void set(InputId
id,
const data_management::NumericTablePtr &ptr);
132 services::Status check(
const daal::algorithms::Parameter *par,
int method)
const DAAL_C11_OVERRIDE;
140 class DAAL_EXPORT Result :
public daal::algorithms::Result
143 DECLARE_SERIALIZABLE_CAST(Result);
153 DAAL_DEPRECATED_VIRTUAL
virtual ~Result() {};
161 template <
typename algorithmFPType>
162 DAAL_EXPORT services::Status allocate(
const daal::algorithms::Input *input,
const daal::algorithms::Parameter *par,
const int method);
170 data_management::NumericTablePtr
get(ResultId id)
const;
177 void set(ResultId
id,
const data_management::NumericTablePtr &ptr);
187 services::Status check(
const daal::algorithms::Input *in,
const daal::algorithms::Parameter *par,
int method)
const DAAL_C11_OVERRIDE;
191 template<
typename Archive,
bool onDeserialize>
192 services::Status serialImpl(Archive *arch)
194 return daal::algorithms::Result::serialImpl<Archive, onDeserialize>(arch);
197 typedef services::SharedPtr<Result> ResultPtr;
200 using interface1::Input;
201 using interface1::Result;
202 using interface1::ResultPtr;
daal::algorithms::math::logistic::ResultId
ResultId
Definition: logistic_types.h:75
daal::algorithms::math::logistic::interface1::Input
Input objects for the logistic function
Definition: logistic_types.h:91
daal::algorithms::math::logistic::interface1::Result
Results obtained with the compute() method of the logistic function in the batch processing mode...
Definition: logistic_types.h:140
daal::algorithms::math::logistic::InputId
InputId
Definition: logistic_types.h:65
daal::algorithms::math::logistic::data
Definition: logistic_types.h:67
daal::algorithms::math::logistic::defaultDense
Definition: logistic_types.h:58
daal::algorithms::math::logistic::interface1::Input::Input
Input(const Input &other)
Definition: logistic_types.h:104
daal::algorithms::math::logistic::Method
Method
Definition: logistic_types.h:56
daal::algorithms::math::logistic::value
Definition: logistic_types.h:77