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

Static Public Member Functions | List of all members
Batch< algorithmFPType, method > Class Template Reference

Computes the Cross-entropy loss objective function in the batch processing mode. More...

Static Public Member Functions

static DAAL_DEPRECATED
services::SharedPtr< Batch
< algorithmFPType, method > > 
create (size_t nClasses, size_t numberOfTerms)
 

Class Declaration

template<typename algorithmFPType = DAAL_ALGORITHM_FP_TYPE, Method method = defaultDense>
class daal::algorithms::optimization_solver::cross_entropy_loss::interface1::Batch< algorithmFPType, method >

Deprecated:
This item will be removed in a future release.
Template Parameters
algorithmFPTypeData type to use in intermediate computations for the Cross-entropy loss objective function, double or float
methodThe Cross-entropy loss objective function computation method
Enumerations
  • Method Computation methods for the Cross-entropy loss objective function
  • InputId Identifiers of input objects for the Cross-entropy loss objective function
  • objective_function::ResultId Result identifiers for the Cross-entropy loss objective function
References

Constructor & Destructor Documentation

DAAL_DEPRECATED Batch ( size_t  nClasses,
size_t  numberOfTerms 
)
inline

Main constructor

DAAL_DEPRECATED Batch ( const Batch< algorithmFPType, method > &  other)
inline

Constructs an the Cross-entropy loss objective function algorithm by copying input objects and parameters of another the Cross-entropy loss objective function algorithm

Parameters
[in]otherAn algorithm to be used as the source to initialize the input objects and parameters of the algorithm

Member Function Documentation

DAAL_DEPRECATED services::Status allocate ( )
inline

Allocates memory buffers needed for the computations

Returns
Status of computations
DAAL_DEPRECATED services::SharedPtr<Batch<algorithmFPType, method> > clone ( ) const
inline

Returns a pointer to the newly allocated the Cross-entropy loss objective function algorithm with a copy of input objects of this the Cross-entropy loss objective function algorithm

Returns
Pointer to the newly allocated algorithm
static DAAL_DEPRECATED services::SharedPtr<Batch<algorithmFPType, method> > create ( size_t  nClasses,
size_t  numberOfTerms 
)
static

Creates the instance of the class

Parameters
[in]nClassesConstructor argument
[in]numberOfTermsConstructor argument
Returns
New instance of the class
virtual DAAL_DEPRECATED_VIRTUAL int getMethod ( ) const
inlinevirtual

Returns the method of the algorithm

Returns
Method of the algorithm
DAAL_DEPRECATED ParameterType& parameter ( )
inline

Gets parameter of the algorithm

Returns
parameter of the algorithm
DAAL_DEPRECATED const ParameterType& parameter ( ) const
inline

Gets parameter of the algorithm

Returns
parameter of the algorithm

Member Data Documentation

InputType input

Input data structure


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

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