C++ API Reference for Intel® Data Analytics Acceleration Library 2018 Update 2

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

Predicts the results of the implicit ALS algorithm. More...

Class Declaration

template<typename algorithmFPType = DAAL_ALGORITHM_FP_TYPE, Method method = defaultDense>
class daal::algorithms::implicit_als::prediction::ratings::interface1::Batch< algorithmFPType, method >

Template Parameters
algorithmFPTypeData type to use in intermediate computations for implicit ALS model-based prediction, double or float
methodImplicit ALS prediction method, Method
Enumerations
  • Method Implicit ALS prediction methods

Constructor & Destructor Documentation

◆ Batch() [1/2]

Batch ( )
inline

Default constructor

◆ Batch() [2/2]

Batch ( const Batch< algorithmFPType, method > &  other)
inline

Constructs an implicit ALS ratings prediction algorithm by copying input objects and parameters of another implicit ALS ratings prediction algorithm

Parameters
[in]otherAn algorithm to be used as the source to initialize the input objects and parameters of the algorithm

Member Function Documentation

◆ clone()

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

Returns a pointer to the newly allocated ALS ratings prediction algorithm with a copy of input objects of this ALS ratings prediction algorithm

Returns
Pointer to the newly allocated algorithm

◆ getMethod()

virtual int getMethod ( ) const
inlinevirtual

Returns the method of the algorithm

Returns
Method of the algorithm

Implements AlgorithmIface.

◆ getResult()

ResultPtr getResult ( )
inline

Returns the structure that contains the computed prediction results

Returns
Structure that contains the computed prediction results

◆ setResult()

services::Status setResult ( const ResultPtr result)
inline

Registers user-allocated memory for storing the prediction results

Parameters
[in]resultStructure for storing the prediction results

Member Data Documentation

◆ input

InputType input

Input objects for the algorithm

◆ parameter

ParameterType parameter

Parameters of the ratings prediction algorithm


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

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