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

List of all members
Input Class Reference

Input objects for the rating prediction stage of the implicit ALS algorithm More...

Class Declaration

Member Function Documentation

services::Status check ( const daal::algorithms::Parameter *  parameter,
int  method 
) const

Checks the input objects and parameters of the implicit ALS algorithm in the rating prediction stage

Parameters
[in]parameterAlgorithm parameter
[in]methodComputation method of the algorithm
ModelPtr get ( ModelInputId  id) const

Returns an input Model object for the rating prediction stage of the implicit ALS algorithm

Parameters
[in]idIdentifier of the input Model object
Returns
Input object that corresponds to the given identifier
size_t getNumberOfItems ( ) const
virtual

Returns the number of columns in the input numeric table

Returns
Number of columns in the input numeric table

Implements InputIface.

size_t getNumberOfUsers ( ) const
virtual

Returns the number of rows in the input numeric table

Returns
Number of rows in the input numeric table

Implements InputIface.

void set ( ModelInputId  id,
const ModelPtr &  ptr 
)

Sets an input Model object for the rating prediction stage of the implicit ALS algorithm

Parameters
[in]idIdentifier of the input object
[in]ptrPointer to the input object

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

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