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

List of all members
DistributedInput< step3Local > Class Template Reference

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

Class Declaration

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

Constructor & Destructor Documentation

Default constructor

DistributedInput ( const DistributedInput< step3Local > &  other)
inline

Copy constructor

Member Function Documentation

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

Checks the parameters and input objects of 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
PartialModelPtr get ( PartialModelInputId  id) const

Returns an input partial model object for the implicit ALS training algorithm

Parameters
[in]idIdentifier of the input object
Returns
Input object that corresponds to the given identifier
data_management::KeyValueDataCollectionPtr get ( Step3LocalCollectionInputId  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
data_management::NumericTablePtr get ( Step3LocalNumericTableInputId  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 getNumberOfBlocks ( ) const

Returns the number of blocks of data used in distributed computations

Returns
Number of blocks of data
size_t getOffset ( ) const

Returns the index of the starting row of the input partial model

Returns
Index of the starting row of the input partial model
data_management::NumericTablePtr getOutBlockIndices ( size_t  key) const

Returns the numeric table that contains the indices of factors that should be transferred to a specified node

Parameters
[in]keyIndex of the node
Returns
Numeric table that contains the indices of factors that should be transferred to a specified node
void set ( PartialModelInputId  id,
const PartialModelPtr &  ptr 
)

Sets an input partial model object for the implicit ALS training algorithm

Parameters
[in]idIdentifier of the input object
[in]ptrPointer to the new input object value
void set ( Step3LocalCollectionInputId  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 ( Step3LocalNumericTableInputId  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.