RankingExperimentResultExtensions.Best 方法

定义

重载

Best(IEnumerable<CrossValidationRunDetail<RankingMetrics>>, RankingMetric, UInt32)

从试验交叉验证运行的枚举中选择最佳运行。

Best(IEnumerable<RunDetail<RankingMetrics>>, RankingMetric, UInt32)

从试验运行的枚举中选择最佳运行。

Best(IEnumerable<CrossValidationRunDetail<RankingMetrics>>, RankingMetric, UInt32)

从试验交叉验证运行的枚举中选择最佳运行。

public static Microsoft.ML.AutoML.CrossValidationRunDetail<Microsoft.ML.Data.RankingMetrics> Best (this System.Collections.Generic.IEnumerable<Microsoft.ML.AutoML.CrossValidationRunDetail<Microsoft.ML.Data.RankingMetrics>> results, Microsoft.ML.AutoML.RankingMetric metric = Microsoft.ML.AutoML.RankingMetric.Ndcg, uint optimizationMetricTruncationLevel = 10);
static member Best : seq<Microsoft.ML.AutoML.CrossValidationRunDetail<Microsoft.ML.Data.RankingMetrics>> * Microsoft.ML.AutoML.RankingMetric * uint32 -> Microsoft.ML.AutoML.CrossValidationRunDetail<Microsoft.ML.Data.RankingMetrics>
<Extension()>
Public Function Best (results As IEnumerable(Of CrossValidationRunDetail(Of RankingMetrics)), Optional metric As RankingMetric = Microsoft.ML.AutoML.RankingMetric.Ndcg, Optional optimizationMetricTruncationLevel As UInteger = 10) As CrossValidationRunDetail(Of RankingMetrics)

参数

results
IEnumerable<CrossValidationRunDetail<RankingMetrics>>

AutoML 试验交叉验证运行结果的枚举。

metric
RankingMetric

选择最佳运行时要考虑的指标。

optimizationMetricTruncationLevel
UInt32

计算 (N) DCG 的最大截断级别。 默认值为 10。

返回

最佳试验运行。

适用于

Best(IEnumerable<RunDetail<RankingMetrics>>, RankingMetric, UInt32)

从试验运行的枚举中选择最佳运行。

public static Microsoft.ML.AutoML.RunDetail<Microsoft.ML.Data.RankingMetrics> Best (this System.Collections.Generic.IEnumerable<Microsoft.ML.AutoML.RunDetail<Microsoft.ML.Data.RankingMetrics>> results, Microsoft.ML.AutoML.RankingMetric metric = Microsoft.ML.AutoML.RankingMetric.Ndcg, uint optimizationMetricTruncationLevel = 10);
static member Best : seq<Microsoft.ML.AutoML.RunDetail<Microsoft.ML.Data.RankingMetrics>> * Microsoft.ML.AutoML.RankingMetric * uint32 -> Microsoft.ML.AutoML.RunDetail<Microsoft.ML.Data.RankingMetrics>
<Extension()>
Public Function Best (results As IEnumerable(Of RunDetail(Of RankingMetrics)), Optional metric As RankingMetric = Microsoft.ML.AutoML.RankingMetric.Ndcg, Optional optimizationMetricTruncationLevel As UInteger = 10) As RunDetail(Of RankingMetrics)

参数

results
IEnumerable<RunDetail<RankingMetrics>>

AutoML 试验运行结果的枚举。

metric
RankingMetric

选择最佳运行时要考虑的指标。

optimizationMetricTruncationLevel
UInt32

计算 (N) DCG 的最大截断级别。 默认值为 10。

返回

最佳试验运行。

适用于