Share via


RegressionExperimentResultExtensions.Best Method

Definition

Overloads

Best(IEnumerable<CrossValidationRunDetail<RegressionMetrics>>, RegressionMetric)

Select the best run from an enumeration of experiment cross validation runs.

Best(IEnumerable<RunDetail<RegressionMetrics>>, RegressionMetric)

Select the best run from an enumeration of experiment runs.

Best(IEnumerable<CrossValidationRunDetail<RegressionMetrics>>, RegressionMetric)

Select the best run from an enumeration of experiment cross validation runs.

public static Microsoft.ML.AutoML.CrossValidationRunDetail<Microsoft.ML.Data.RegressionMetrics> Best (this System.Collections.Generic.IEnumerable<Microsoft.ML.AutoML.CrossValidationRunDetail<Microsoft.ML.Data.RegressionMetrics>> results, Microsoft.ML.AutoML.RegressionMetric metric = Microsoft.ML.AutoML.RegressionMetric.RSquared);
static member Best : seq<Microsoft.ML.AutoML.CrossValidationRunDetail<Microsoft.ML.Data.RegressionMetrics>> * Microsoft.ML.AutoML.RegressionMetric -> Microsoft.ML.AutoML.CrossValidationRunDetail<Microsoft.ML.Data.RegressionMetrics>
<Extension()>
Public Function Best (results As IEnumerable(Of CrossValidationRunDetail(Of RegressionMetrics)), Optional metric As RegressionMetric = Microsoft.ML.AutoML.RegressionMetric.RSquared) As CrossValidationRunDetail(Of RegressionMetrics)

Parameters

results
IEnumerable<CrossValidationRunDetail<RegressionMetrics>>

Enumeration of AutoML experiment cross validation run results.

metric
RegressionMetric

Metric to consider when selecting the best run.

Returns

The best experiment run.

Applies to

Best(IEnumerable<RunDetail<RegressionMetrics>>, RegressionMetric)

Select the best run from an enumeration of experiment runs.

public static Microsoft.ML.AutoML.RunDetail<Microsoft.ML.Data.RegressionMetrics> Best (this System.Collections.Generic.IEnumerable<Microsoft.ML.AutoML.RunDetail<Microsoft.ML.Data.RegressionMetrics>> results, Microsoft.ML.AutoML.RegressionMetric metric = Microsoft.ML.AutoML.RegressionMetric.RSquared);
static member Best : seq<Microsoft.ML.AutoML.RunDetail<Microsoft.ML.Data.RegressionMetrics>> * Microsoft.ML.AutoML.RegressionMetric -> Microsoft.ML.AutoML.RunDetail<Microsoft.ML.Data.RegressionMetrics>
<Extension()>
Public Function Best (results As IEnumerable(Of RunDetail(Of RegressionMetrics)), Optional metric As RegressionMetric = Microsoft.ML.AutoML.RegressionMetric.RSquared) As RunDetail(Of RegressionMetrics)

Parameters

results
IEnumerable<RunDetail<RegressionMetrics>>

Enumeration of AutoML experiment run results.

metric
RegressionMetric

Metric to consider when selecting the best run.

Returns

The best experiment run.

Applies to