slmetric.config.Classification Class
Namespace: slmetric.config
(To be removed) Specify categorical metric data ranges
The Metrics Dashboard user interface, metricdashboard function, slmetric package API, and corresponding customizations will be removed in a future release. For more information, see Migrating from Metrics Dashboard to Model Maintainability Dashboard.
Description
Use the slmetric.config.Classification class to classify metric data
ranges as Compliant, Warning, and
NonCompliant. The Metrics Dashboard indicates the range that your metric
data falls under.
Construction
For an slmetric.config.Threshold object, there must be one
slmetric.config.Classification object corresponding to the Compliant
range. There can be only one compliant range. You can specify multiple
slmetric.config.Classification objects corresponding to
Warning and Noncompliant ranges.
By default, threshold objects contain an slmetric.config.Classification
object with a Compliant range of -inf to
inf. To add additional classification objects, use the
slmetric.config.Classification.addClassification method.