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

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

Additional Inherited Members

- Static Protected Member Functions inherited from Argument
static data_management::DataCollectionPtr & getStorage (Argument &a)
 
static const data_management::DataCollectionPtr & getStorage (const Argument &a)
 

Class Declaration

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

Constructor & Destructor Documentation

◆ DistributedInput() [1/2]

Default constructor

◆ DistributedInput() [2/2]

DistributedInput ( const DistributedInput< step3Local > &  other)
inline

Copy constructor

Member Function Documentation

◆ check()

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

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

Reimplemented from Input.

◆ get() [1/3]

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

◆ get() [2/3]

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

◆ get() [3/3]

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

◆ getNumberOfBlocks()

size_t getNumberOfBlocks ( ) const

Returns the number of blocks of data used in distributed computations

Returns
Number of blocks of data

◆ getOffset()

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

◆ getOutBlockIndices()

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

◆ set() [1/3]

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

◆ set() [2/3]

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

◆ set() [3/3]

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.