slmetric.config.ThresholdConfiguration 类
R2026b命名空间: slmetric.config
(即将删除)指定用于设置阈值的度量和 slmetric.metric.Result 属性
以后的版本中将会删除度量仪表板、模型度量、slmetric API 以及对应的自定义项。有关详细信息,请参阅Migrating from Metrics Dashboard to Model Design Dashboards。
描述
slmetric.config.ThresholdConfiguration 的实例包含您为某个度量指定的阈值。每个阈值设定对应一个 slmetric.config.Threshold 对象。一个 slmetric.config.ThresholdConfiguration 对象可以包含多个 slmetric.config.Threshold 对象。
构造
对于 slmetric.config.Configuration 对象,请使用 getThresholdConfigurations 方法来访问 slmetric.config.ThresholdConfiguration 对象。
方法
| addThreshold | (To be removed) Create slmetric.config.Threshold
object |
| getThresholds | (To be removed) Obtain properties of threshold objects |
| removeThreshold | (即将删除)从阈值配置对象中删除阈值对象 |