Class that represents a quality metric set to check the model trained with linear regression algorithm.
More...
- Enumerations
- QualityMetricId Identifiers of quality metrics provided by the library
- References
-
def __init__ |
( |
|
self, |
|
|
|
nBeta, |
|
|
|
nBetaReducedModel, |
|
|
|
useDefaultMetrics = True |
|
) |
| |
Constructs a quality metric set for the model trained with the linear regression algorithm
- Parameters
-
useDefaultMetrics | Flag. If true, a quality metric set is initialized with the quality metrics provided by the library |
nBeta | Number of beta coefficients (p) of linear regression model used for prediction |
nBetaReducedModel | Number of beta coefficients (p0) used for prediction with reduced linear regression model where p - p0 of p beta coefficients are set to 0 |
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
Parameters of the algorithm
The documentation for this class was generated from the following file:
- linear_regression/quality_metric_set.py