C++ API Reference for Intel® Data Analytics Acceleration Library 2020 Update 1

List of all members
Batch< algorithmFPType, method > Class Template Reference

Predicts logistic regression results. More...

Class Declaration

template<typename algorithmFPType = DAAL_ALGORITHM_FP_TYPE, Method method = defaultDense>
class daal::algorithms::logistic_regression::prediction::interface2::Batch< algorithmFPType, method >

Template Parameters
algorithmFPTypeData type to use in intermediate computations for the logistic regression algortithm, double or float
methodlogistic regression computation method, Method
Enumerations
References

Constructor & Destructor Documentation

Batch ( size_t  nClasses)

Constructs logistic regression prediction algorithm

Parameters
[in]nClassesNumber of classes
Batch ( const Batch< algorithmFPType, method > &  other)

Constructs a logistic regression prediction algorithm by copying input objects and parameters of another logistic regression prediction algorithm

Parameters
[in]otherAn algorithm to be used as the source to initialize the input objects and parameters of the algorithm
~Batch ( )
inline

Destructor

Member Function Documentation

services::SharedPtr<Batch<algorithmFPType, method> > clone ( ) const
inline

Returns a pointer to the newly allocated logistic regression prediction algorithm with a copy of input objects and parameters of this logistic regression prediction algorithm

Returns
Pointer to the newly allocated algorithm
InputType* getInput ( )
inline

Gets input objects for the logistic regression prediction algorithm

Returns
Input objects for the logistic regression prediction algorithm
virtual int getMethod ( ) const
inlinevirtual

Returns method of the algorithm

Returns
Method of the algorithm
classifier::prediction::ResultPtr getResult ( )
inline

Returns the structure that contains the result of the logistic regression model-based prediction

Returns
Structure that contains the result of the logistic regression model-based prediction
ParameterType& parameter ( )
inline

Gets parameter of the algorithm

Returns
parameter of the algorithm
const ParameterType& parameter ( ) const
inline

Gets parameter of the algorithm

Returns
parameter of the algorithm

Member Data Documentation

InputType input

Input objects of the algorithm


The documentation for this class was generated from the following file:

For more complete information about compiler optimizations, see our Optimization Notice.