48 #ifndef __LOGISTIC_TYPES_H__ 49 #define __LOGISTIC_TYPES_H__ 51 #include "algorithms/algorithm.h" 52 #include "data_management/data/numeric_table.h" 53 #include "data_management/data/homogen_numeric_table.h" 54 #include "services/daal_defines.h" 114 class DAAL_EXPORT Input :
public daal::algorithms::Input
121 Input(
const Input& other) : daal::algorithms::Input(other){}
130 data_management::NumericTablePtr
get(InputId id)
const;
137 void set(InputId id,
const data_management::NumericTablePtr &ptr);
146 services::Status check(
const daal::algorithms::Parameter *par,
int method)
const DAAL_C11_OVERRIDE;
153 class DAAL_EXPORT Result :
public daal::algorithms::Result
156 DECLARE_SERIALIZABLE_CAST(Result);
160 virtual ~Result() {};
168 template <
typename algorithmFPType>
169 DAAL_EXPORT services::Status allocate(
const daal::algorithms::Input *input,
const daal::algorithms::Parameter *par,
const int method);
177 data_management::NumericTablePtr
get(ResultId id)
const;
184 void set(ResultId id,
const data_management::NumericTablePtr &ptr);
194 services::Status check(
const daal::algorithms::Input *in,
const daal::algorithms::Parameter *par,
int method)
const DAAL_C11_OVERRIDE;
198 template<
typename Archive,
bool onDeserialize>
199 services::Status serialImpl(Archive *arch)
201 return daal::algorithms::Result::serialImpl<Archive, onDeserialize>(arch);
204 typedef services::SharedPtr<Result> ResultPtr;
207 using interface1::Input;
208 using interface1::Result;
209 using interface1::ResultPtr;
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:153
daal::algorithms::math::logistic::defaultDense
Definition: logistic_types.h:82
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::math::logistic::Method
Method
Definition: logistic_types.h:80
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::math::logistic::value
Definition: logistic_types.h:101
daal::algorithms::math::logistic::InputId
InputId
Definition: logistic_types.h:89
daal::algorithms::math::logistic::ResultId
ResultId
Definition: logistic_types.h:99
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::math::logistic::data
Definition: logistic_types.h:91