Java* API Reference for Intel® Data Analytics Acceleration Library 2019 Update 4

List of all members

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

Class Constructor

Batch ( DaalContext  context,
Batch  other 
)

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

Parameters
contextContext to manage the cross-entropy loss objective function
otherAn algorithm to be used as the source to initialize the input objects and parameters of the algorithm
Batch ( DaalContext  context,
Class<?extends Number >  cls,
Method  method,
long  numberOfTerms,
long  nClasses 
)

Constructs the cross-entropy loss objective function algorithm

Parameters
contextContext to manage the cross-entropy loss objective function algorithm
clsData type to use in intermediate computations for the cross-entropy loss objective function algorithm, Double.class or Float.class
methodCross-entropy loss objective function computation method, Method
numberOfTermsNumber of terms in the cross-entropy loss objective function that can be represented as sum
nClassesThe number of different values of dependent variable

Detailed Description

References

Member Function Documentation

Batch clone ( DaalContext  context)

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
contextContext to manage the cross-entropy loss objective function algorithm
Returns
The newly allocated algorithm
Result compute ( )

Computes the cross-entropy loss objective function in the batch processing mode

Returns
Results of the computation
Input getInput ( )

Return the input of the algorithm

Returns
Input of the algorithm
Result getResult ( )

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
resultStructure to store results of computing the cross-entropy loss objective function

Member Data Documentation

Method method

Computation method for the algorithm

Parameter parameter

Parameters of the algorithm


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

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