Computes the cross-entropy loss objective function in the batch processing mode.
More...
Constructs the cross-entropy loss objective function algorithm by copying input objects and parameters of another cross-entropy loss objective function algorithm
- Parameters
-
context | Context to manage the cross-entropy loss objective function |
other | An algorithm to be used as the source to initialize the input objects and parameters of the algorithm |
Constructs the cross-entropy loss objective function algorithm
- Parameters
-
context | Context to manage the cross-entropy loss objective function algorithm |
cls | Data type to use in intermediate computations for the cross-entropy loss objective function algorithm, Double.class or Float.class |
method | Cross-entropy loss objective function computation method, Method |
numberOfTerms | Number of terms in the cross-entropy loss objective function that can be represented as sum |
nClasses | The number of different values of dependent variable |
Returns the newly allocated cross-entropy loss objective function algorithm with a copy of input objects and parameters of this cross-entropy loss objective function algorithm
- Parameters
-
context | Context to manage the cross-entropy loss objective function algorithm |
- Returns
- The newly allocated algorithm
Computes the cross-entropy loss objective function in the batch processing mode
- Returns
- Results of the computation
Return the input of the algorithm
- Returns
- Input of the algorithm
Return the result of the algorithm
- Returns
- Result of the algorithm
void setResult |
( |
Result |
result | ) |
|
Registers user-allocated memory to store the results of computing the cross-entropy loss objective function in the batch processing mode
- Parameters
-
result | Structure to store results of computing the cross-entropy loss objective function |
Computation method for the algorithm
Parameters of the algorithm
The documentation for this class was generated from the following file:
- optimization_solver/cross_entropy_loss/Batch.java