24 #ifndef __MINMAX_TYPES_H__
25 #define __MINMAX_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 "algorithms/moments/low_order_moments_batch.h"
31 #include "services/daal_defines.h"
46 namespace normalization
88 lastResultId = normalizedData
101 struct DAAL_EXPORT ParameterBase :
public daal::algorithms::Parameter
105 ParameterBase(
double lowerBound,
double upperBound,
const services::SharedPtr<low_order_moments::BatchImpl> &momentsForParameterBase);
110 services::SharedPtr<low_order_moments::BatchImpl> moments;
117 virtual services::Status check() const DAAL_C11_OVERRIDE;
124 template<typename algorithmFPType>
125 struct DAAL_EXPORT Parameter : public ParameterBase
129 Parameter(
double lowerBound = 0.0,
double upperBound = 1.0);
132 Parameter(
double lowerBound,
double upperBound,
const services::SharedPtr<low_order_moments::BatchImpl> &momentsForParameter);
139 class DAAL_EXPORT Input :
public daal::algorithms::Input
146 Input(
const Input& other);
155 data_management::NumericTablePtr
get(InputId id)
const;
162 void set(InputId
id,
const data_management::NumericTablePtr &ptr);
171 services::Status check(
const daal::algorithms::Parameter *par,
int method)
const DAAL_C11_OVERRIDE;
179 class DAAL_EXPORT Result :
public daal::algorithms::Result
182 DECLARE_SERIALIZABLE_CAST(Result);
185 virtual ~Result() {};
194 template <
typename algorithmFPType>
195 DAAL_EXPORT services::Status allocate(
const daal::algorithms::Input *input,
int method);
202 data_management::NumericTablePtr
get(ResultId id)
const;
209 void set(ResultId
id,
const data_management::NumericTablePtr &value);
219 services::Status check(
const daal::algorithms::Input *in,
const daal::algorithms::Parameter *par,
int method)
const DAAL_C11_OVERRIDE;
223 template<
typename Archive,
bool onDeserialize>
224 services::Status serialImpl(Archive *arch)
226 return daal::algorithms::Result::serialImpl<Archive, onDeserialize>(arch);
229 typedef services::SharedPtr<Result> ResultPtr;
233 using interface1::ParameterBase;
234 using interface1::Parameter;
235 using interface1::Input;
236 using interface1::Result;
237 using interface1::ResultPtr;
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:179
daal::algorithms::normalization::minmax::data
Definition: minmax_types.h:76
daal::algorithms::normalization::minmax::interface1::ParameterBase::upperBound
double upperBound
Definition: minmax_types.h:108
daal::algorithms::normalization::minmax::normalizedData
Definition: minmax_types.h:87
daal::algorithms::normalization::minmax::Method
Method
Definition: minmax_types.h:64
daal::algorithms::normalization::minmax::ResultId
ResultId
Definition: minmax_types.h:85
daal::algorithms::normalization::minmax::defaultDense
Definition: minmax_types.h:66
daal::algorithms::normalization::minmax::interface1::ParameterBase::moments
services::SharedPtr< low_order_moments::BatchImpl > moments
Definition: minmax_types.h:110
daal::algorithms::normalization::minmax::interface1::Parameter
Class that specifies the parameters of the algorithm in the batch computing mode. ...
Definition: minmax_types.h:125
daal::algorithms::normalization::minmax::interface1::ParameterBase
Base class that specifies the parameters of the algorithm in the batch computing mode.
Definition: minmax_types.h:101
daal::algorithms::normalization::minmax::interface1::Input
Input objects for the min-max normalization algorithm
Definition: minmax_types.h:139
daal::algorithms::math::abs::value
Definition: abs_types.h:88
daal::algorithms::normalization::minmax::interface1::ParameterBase::lowerBound
double lowerBound
Definition: minmax_types.h:107
daal::algorithms::normalization::minmax::InputId
InputId
Definition: minmax_types.h:74