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

List of all members
DistributedInput< step4Local > Class Template Reference

Input objects for the implicit ALS training algorithm in the fourth step of the distributed processing mode More...

Class Declaration

template<>
class daal::algorithms::implicit_als::training::interface1::DistributedInput< step4Local >

Constructor & Destructor Documentation

Default constructor

DistributedInput ( const DistributedInput< step4Local > &  other)
inline

Copy constructor

Member Function Documentation

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

Checks the parameters and input objects for the implicit ALS training algorithm in the first step of the distributed processing mode

Parameters
[in]parameterParameter of the algorithm
[in]methodComputation method of the algorithm
data_management::KeyValueDataCollectionPtr get ( Step4LocalPartialModelsInputId  id) const

Returns an input key-value data collection object for the implicit ALS training algorithm

Parameters
[in]idIdentifier of the input object
Returns
Input object that corresponds to the given identifier. A key-value data collection contains partial models consisting of user factors/item factors computed in the third step of the distributed processing mode
data_management::NumericTablePtr get ( Step4LocalNumericTableInputId  id) const

Returns an input numeric table object for the implicit ALS training algorithm

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

Returns the number of rows in the partial matrix of users factors/items factors

Returns
Number of rows in the partial matrix of factors
void set ( Step4LocalPartialModelsInputId  id,
const data_management::KeyValueDataCollectionPtr &  ptr 
)

Sets an input key-value data collection object for the implicit ALS training algorithm

Parameters
[in]idIdentifier of the input object
[in]ptrPointer to the new input object value
void set ( Step4LocalNumericTableInputId  id,
const data_management::NumericTablePtr &  ptr 
)

Sets an input numeric table object for the implicit ALS training algorithm

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

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

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