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

List of all members
ModelBuilder Class Reference

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

Class Constructor

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

Constructs the linear regression model builder

Parameters
contextContext to manage linear regression model builder
clsData type to use in intermediate computations of linear regression, Double.class or Float.class
nFeaturesNumber of features
nResponsesNumber of responses

Detailed Description

References

Member Function Documentation

Model getModel ( )

Returns built model of linear regression

Returns
Model of linear 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-coefficients
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.