Computes the Cross-entropy loss objective function in the batch processing mode.
More...
|
static DAAL_DEPRECATED
services::SharedPtr< Batch
< algorithmFPType, method > > | create (size_t nClasses, size_t numberOfTerms) |
|
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
-
algorithmFPType | Data type to use in intermediate computations for the Cross-entropy loss objective function, double or float |
method | The 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
-
DAAL_DEPRECATED Batch |
( |
size_t |
nClasses, |
|
|
size_t |
numberOfTerms |
|
) |
| |
|
inline |
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] | other | An algorithm to be used as the source to initialize the input objects and parameters of the algorithm |
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] | nClasses | Constructor argument |
[in] | numberOfTerms | Constructor 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
Gets parameter of the algorithm
- Returns
- parameter of the algorithm
Gets parameter of the algorithm
- Returns
- parameter of the algorithm
The documentation for this class was generated from the following file: