Java* API Reference for Intel® Data Analytics Acceleration Library 2019 Update 5
Provides methods for bernoulli distribution computations in the batch processing mode. More...
| Batch | ( | DaalContext | context, |
| Batch | other | ||
| ) |
Constructs bernoulli distribution by copying input objects and parameters of another bernoulli distribution
| context | Context to manage the bernoulli distribution |
| other | A distributions to be used as the source to initialize the input objects and parameters of this distribution |
| Batch | ( | DaalContext | context, |
| Class<?extends Number > | cls, | ||
| Method | method, | ||
| double | p | ||
| ) |
Constructs the bernoulli distribution
| context | Context to manage the distribution |
| cls | Data type to use in intermediate computations for the distribution, Double.class or Float.class |
| method | The distribution computation method, Method |
| p | Success probability of a trial, value from [0.0; 1.0] |
| Batch clone | ( | DaalContext | context | ) |
Returns the newly allocated bernoulli distribution with a copy of input objects and parameters of this bernoulli distribution
| context | Context to manage the distribution |
| Result compute | ( | ) |
Computes the result of the bernoulli distribution
| Method method |
Computation method for the distribution
| Parameter parameter |
Parameters of the bernoulli distribution
For more complete information about compiler optimizations, see our Optimization Notice.