22 references to RSquared
Microsoft.ML.AutoML (11)
API\RecommendationExperiment.cs (2)
20/// <value>The default value is <see cref="RegressionMetric.RSquared"/>.</value> 34OptimizingMetric = RegressionMetric.RSquared;
API\RegressionExperiment.cs (5)
28/// <value>The default value is <see cref="RegressionMetric.RSquared" />.</value> 44OptimizingMetric = RegressionMetric.RSquared; 340public static RunDetail<RegressionMetrics> Best(this IEnumerable<RunDetail<RegressionMetrics>> results, RegressionMetric metric = RegressionMetric.RSquared) 353public static CrossValidationRunDetail<RegressionMetrics> Best(this IEnumerable<CrossValidationRunDetail<RegressionMetrics>> results, RegressionMetric metric = RegressionMetric.RSquared) 474RegressionMetric.RSquared => metrics.RSquared,
AutoMLExperiment\IMetricManager.cs (2)
119RegressionMetric.RSquared => true, 134RegressionMetric.RSquared => metric.RSquared,
Experiment\MetricsAgents\RegressionMetricsAgent.cs (2)
35case RegressionMetric.RSquared: 57case RegressionMetric.RSquared:
Microsoft.ML.AutoML.Tests (11)
AutoMLExperimentTests.cs (4)
357.SetRegressionMetric(RegressionMetric.RSquared, label) 367.SetRegressionMetric(RegressionMetric.RSquared, label) 387.SetRegressionMetric(RegressionMetric.RSquared, label) 406.SetRegressionMetric(RegressionMetric.RSquared, label)
BestResultUtilTests.cs (2)
35var metricsAgent = new RegressionMetricsAgent(null, RegressionMetric.RSquared); 48var metricsAgent = new RegressionMetricsAgent(null, RegressionMetric.RSquared);
MetricsAgentsTests.cs (3)
101Assert.Equal(0.6, GetScore(metrics, RegressionMetric.RSquared)); 111Assert.False(IsPerfectModel(metrics, RegressionMetric.RSquared)); 121Assert.True(IsPerfectModel(metrics, RegressionMetric.RSquared));
Utils\TaskAgnosticAutoFit.cs (2)
78OptimizingMetric = RegressionMetric.RSquared, 100OptimizingMetric = RegressionMetric.RSquared,