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

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

Performs implicit ALS model-based prediction in the first step of the distributed processing mode. More...

Class Declaration

template<typename algorithmFPType, Method method>
class daal::algorithms::implicit_als::prediction::ratings::interface1::Distributed< step1Local, 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
References

Constructor & Destructor Documentation

◆ Distributed() [1/2]

Distributed ( )
inline

Default constructor

◆ Distributed() [2/2]

Distributed ( const Distributed< step1Local, 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<Distributed<step1Local, algorithmFPType, method> > clone ( ) const
inline

Returns a pointer to the newly allocated ALS ratings prediction algorithm with a copy of input objects and parameters 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.

◆ getPartialResult()

PartialResultPtr getPartialResult ( )
inline

Returns the structure that contains computed partial results of the implicit ALS ratings prediction algorithm

Returns
Structure that contains computed partial results of the implicit ALS ratings prediction algorithm

◆ getResult()

ResultPtr getResult ( )
inline

Returns the structure that contains the results of the implicit ALS ratings prediction algorithm

Returns
Structure that contains the results of the implicit ALS ratings prediction algorithm

◆ setPartialResult()

services::Status setPartialResult ( const PartialResultPtr partialResult,
bool  initFlag = false 
)
inline

Registers user-allocated memory for storing partial results of the implicit ALS ratings prediction algorithm

Parameters
[in]partialResultStructure for storing partial results of the implicit ALS ratings prediction algorithm
[in]initFlagFlag that specifies whether partial results are initialized

◆ 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

Input data structure

◆ parameter

ParameterType parameter

Parameters 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.