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

List of all members

Class for building model of the logistic regression algorithm More...

Class Constructor

ModelBuilder ( DaalContext  context,
Class<?extends Number >  cls,
long  nFeatures,
long  nClasses 
)

Constructs the logistic regression model builder

Parameters
contextContext to manage logistic regression model builder
clsData type to use in intermediate computations of logistic regression, Double.class or Float.class
nFeaturesNumber of features
nClassesNumber of classes

Detailed Description

References

Member Function Documentation

Model getModel ( )

Returns built model of logistic regression

Returns
Model of logistic regression
void setBeta ( FloatBuffer  bufBeta,
long  length 
)

Sets beta-coefficionts to the model

Parameters
bufBetaSet of beta-coefficients
lengthSize of set of beta-coefficients
void setBeta ( DoubleBuffer  bufBeta,
long  length 
)

Sets beta-coefficionts to the model

Parameters
bufBetaSet of beta-coefficients
lengthSize of set of beta-coefficient
void setBeta ( float[]  bufBeta)

Sets beta-coefficionts to the model

Parameters
bufBetaSet of beta-coefficients
void setBeta ( double[]  bufBeta)

Sets beta-coefficionts to the model

Parameters
bufBetaSet of beta-coefficients

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

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