Java* API Reference for Intel® Data Analytics Acceleration Library 2018 Update 1

List of all members
Batch Class Reference

Provides methods for bernoulli distribution computations in the batch processing mode. More...

Class Constructor

Batch ( DaalContext  context,
Batch  other 
)

Constructs bernoulli distribution by copying input objects and parameters of another bernoulli distribution

Parameters
contextContext to manage the bernoulli distribution
otherA 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

Parameters
contextContext to manage the distribution
clsData type to use in intermediate computations for the distribution, Double.class or Float.class
methodThe distribution computation method, Method
pSuccess probability of a trial, value from [0.0; 1.0]

Detailed Description

References

Member Function Documentation

Batch clone ( DaalContext  context)

Returns the newly allocated bernoulli distribution with a copy of input objects and parameters of this bernoulli distribution

Parameters
contextContext to manage the distribution
Returns
The newly allocated bernoulli distribution
Result compute ( )

Computes the result of the bernoulli distribution

Returns
Bernoulli distribution result

Member Data Documentation

Method method

Computation method for the distribution

Parameter parameter

Parameters of the bernoulli distribution


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

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