48 #ifndef __MINMAX_TYPES_H__
49 #define __MINMAX_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 "algorithms/moments/low_order_moments_batch.h"
55 #include "services/daal_defines.h"
70 namespace normalization
112 lastResultId = normalizedData
125 struct DAAL_EXPORT ParameterBase :
public daal::algorithms::Parameter
129 ParameterBase(
double lowerBound,
double upperBound,
const services::SharedPtr<low_order_moments::BatchImpl> &momentsForParameterBase);
134 services::SharedPtr<low_order_moments::BatchImpl> moments;
141 virtual services::Status check() const DAAL_C11_OVERRIDE;
148 template<typename algorithmFPType>
149 struct DAAL_EXPORT Parameter : public ParameterBase
153 Parameter(
double lowerBound = 0.0,
double upperBound = 1.0);
156 Parameter(
double lowerBound,
double upperBound,
const services::SharedPtr<low_order_moments::BatchImpl> &momentsForParameter);
163 class DAAL_EXPORT Input :
public daal::algorithms::Input
170 Input(
const Input& other);
179 data_management::NumericTablePtr
get(InputId id)
const;
186 void set(InputId
id,
const data_management::NumericTablePtr &ptr);
195 services::Status check(
const daal::algorithms::Parameter *par,
int method)
const DAAL_C11_OVERRIDE;
203 class DAAL_EXPORT Result :
public daal::algorithms::Result
206 DECLARE_SERIALIZABLE_CAST(Result);
209 virtual ~Result() {};
218 template <
typename algorithmFPType>
219 DAAL_EXPORT services::Status allocate(
const daal::algorithms::Input *input,
int method);
226 data_management::NumericTablePtr
get(ResultId id)
const;
233 void set(ResultId
id,
const data_management::NumericTablePtr &value);
243 services::Status check(
const daal::algorithms::Input *in,
const daal::algorithms::Parameter *par,
int method)
const DAAL_C11_OVERRIDE;
247 template<
typename Archive,
bool onDeserialize>
248 services::Status serialImpl(Archive *arch)
250 return daal::algorithms::Result::serialImpl<Archive, onDeserialize>(arch);
253 typedef services::SharedPtr<Result> ResultPtr;
257 using interface1::ParameterBase;
258 using interface1::Parameter;
259 using interface1::Input;
260 using interface1::Result;
261 using interface1::ResultPtr;
daal
Definition: algorithm_base_common.h:57
daal::algorithms::normalization::minmax::defaultDense
Definition: minmax_types.h:90
daal::algorithms::normalization::minmax::ResultId
ResultId
Definition: minmax_types.h:109
daal::algorithms::normalization::minmax::InputId
InputId
Definition: minmax_types.h:98
daal::algorithms::normalization::minmax::Method
Method
Definition: minmax_types.h:88
daal::algorithms::normalization::minmax::interface1::Parameter
Class that specifies the parameters of the algorithm in the batch computing mode. ...
Definition: minmax_types.h:149
daal::algorithms::normalization::minmax::interface1::ParameterBase
Base class that specifies the parameters of the algorithm in the batch computing mode.
Definition: minmax_types.h:125
daal::algorithms::normalization::minmax::interface1::ParameterBase::lowerBound
double lowerBound
Definition: minmax_types.h:131
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:203
daal::algorithms::normalization::minmax::interface1::ParameterBase::upperBound
double upperBound
Definition: minmax_types.h:132
daal::algorithms::normalization::minmax::normalizedData
Definition: minmax_types.h:111
daal::algorithms::normalization::minmax::data
Definition: minmax_types.h:100
daal::algorithms::normalization::minmax::interface1::ParameterBase::moments
services::SharedPtr< low_order_moments::BatchImpl > moments
Definition: minmax_types.h:134
daal::algorithms::math::abs::value
Definition: abs_types.h:112