Python* API Reference for Intel® Data Analytics Acceleration Library 2020 Update 1

Public Member Functions | Static Public Attributes | List of all members
Batch Class Reference

Class that represents a quality metric set to check the model trained with linear regression algorithm. More...

Public Member Functions

def __init__
 
def getResultCollection
 
def getInputDataCollection
 
def compute
 
- Public Member Functions inherited from Batch
def getResultCollection
 
def getInputDataCollection
 
def computeNoThrow
 
def compute
 

Static Public Attributes

 parameter = ...
 
- Static Public Attributes inherited from Batch
 inputAlgorithms = ...
 

Detailed Description

Enumerations
  • QualityMetricId Identifiers of quality metrics provided by the library
References

Constructor & Destructor Documentation

def __init__ (   self,
  nBeta,
  nBetaReducedModel,
  useDefaultMetrics = True 
)

Constructs a quality metric set for the model trained with the linear regression algorithm

Parameters
useDefaultMetricsFlag. If true, a quality metric set is initialized with the quality metrics provided by the library
nBetaNumber of beta coefficients (p) of linear regression model used for prediction
nBetaReducedModelNumber of beta coefficients (p0) used for prediction with reduced linear regression model where p - p0 of p beta coefficients are set to 0

Member Function Documentation

def compute (   self)

compute(Batch self) -> daal.algorithms.linear_regression.quality_metric_set.ResultCollectionPtr

def getInputDataCollection (   self)

Returns the collection of input objects of the quality metrics algorithm

Returns
Collection of input objects of the quality metrics algorithm
def getResultCollection (   self)

Returns the structure that contains a computed quality metric set

Returns
Structure that contains a computed quality metric set

Member Data Documentation

parameter = ...
static

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.