22 #ifndef __MINMAX_TYPES_H__
23 #define __MINMAX_TYPES_H__
25 #include "algorithms/algorithm.h"
26 #include "data_management/data/numeric_table.h"
27 #include "data_management/data/homogen_numeric_table.h"
28 #include "algorithms/moments/low_order_moments_batch.h"
29 #include "services/daal_defines.h"
44 namespace normalization
86 lastResultId = normalizedData
99 struct DAAL_EXPORT ParameterBase :
public daal::algorithms::Parameter
103 ParameterBase(
double lowerBound,
double upperBound,
const services::SharedPtr<low_order_moments::BatchImpl> &momentsForParameterBase);
108 services::SharedPtr<low_order_moments::BatchImpl> moments;
115 virtual services::Status check() const DAAL_C11_OVERRIDE;
122 template<typename algorithmFPType>
123 struct DAAL_EXPORT Parameter : public ParameterBase
127 Parameter(
double lowerBound = 0.0,
double upperBound = 1.0);
130 Parameter(
double lowerBound,
double upperBound,
const services::SharedPtr<low_order_moments::BatchImpl> &momentsForParameter);
137 class DAAL_EXPORT Input :
public daal::algorithms::Input
144 Input(
const Input& other);
153 data_management::NumericTablePtr
get(InputId id)
const;
160 void set(InputId
id,
const data_management::NumericTablePtr &ptr);
169 services::Status check(
const daal::algorithms::Parameter *par,
int method)
const DAAL_C11_OVERRIDE;
177 class DAAL_EXPORT Result :
public daal::algorithms::Result
180 DECLARE_SERIALIZABLE_CAST(Result);
183 virtual ~Result() {};
192 template <
typename algorithmFPType>
193 DAAL_EXPORT services::Status allocate(
const daal::algorithms::Input *input,
int method);
200 data_management::NumericTablePtr
get(ResultId id)
const;
207 void set(ResultId
id,
const data_management::NumericTablePtr &value);
217 services::Status check(
const daal::algorithms::Input *in,
const daal::algorithms::Parameter *par,
int method)
const DAAL_C11_OVERRIDE;
221 template<
typename Archive,
bool onDeserialize>
222 services::Status serialImpl(Archive *arch)
224 return daal::algorithms::Result::serialImpl<Archive, onDeserialize>(arch);
227 typedef services::SharedPtr<Result> ResultPtr;
231 using interface1::ParameterBase;
232 using interface1::Parameter;
233 using interface1::Input;
234 using interface1::Result;
235 using interface1::ResultPtr;
daal
Definition: algorithm_base_common.h:31
daal::algorithms::normalization::minmax::defaultDense
Definition: minmax_types.h:64
daal::algorithms::normalization::minmax::ResultId
ResultId
Definition: minmax_types.h:83
daal::algorithms::normalization::minmax::InputId
InputId
Definition: minmax_types.h:72
daal::algorithms::normalization::minmax::Method
Method
Definition: minmax_types.h:62
daal::algorithms::normalization::minmax::interface1::Parameter
Class that specifies the parameters of the algorithm in the batch computing mode. ...
Definition: minmax_types.h:123
daal::algorithms::normalization::minmax::interface1::ParameterBase
Base class that specifies the parameters of the algorithm in the batch computing mode.
Definition: minmax_types.h:99
daal::algorithms::normalization::minmax::interface1::ParameterBase::lowerBound
double lowerBound
Definition: minmax_types.h:105
daal::algorithms::normalization::minmax::interface1::Result
Provides methods to access final results obtained with the compute() method of the min-max normalizat...
Definition: minmax_types.h:177
daal::algorithms::normalization::minmax::interface1::ParameterBase::upperBound
double upperBound
Definition: minmax_types.h:106
daal::algorithms::normalization::minmax::normalizedData
Definition: minmax_types.h:85
daal::algorithms::normalization::minmax::data
Definition: minmax_types.h:74
daal::algorithms::normalization::minmax::interface1::ParameterBase::moments
services::SharedPtr< low_order_moments::BatchImpl > moments
Definition: minmax_types.h:108
daal::algorithms::math::abs::value
Definition: abs_types.h:86