28 references to EvaluateUtils
Microsoft.ML.Data (28)
Commands\CrossValidationCommand.cs (3)
205EvaluateUtils.GetEvaluator(Host, tasks[0].Result.ScoreSchema); 228var perInstance = EvaluateUtils.ConcatenatePerInstanceDataViews(Host, eval, ImplOptions.CollateMetrics, 551EvaluateUtils.GetEvaluator(host, scorePipe.Schema);
Commands\EvaluateCommand.cs (2)
164EvaluateUtils.GetEvaluator(env, input.Schema); 242EvaluateUtils.GetEvaluator(Host, view.Schema);
Commands\TestCommand.cs (1)
120EvaluateUtils.GetEvaluator(Host, scorePipe.Schema);
Commands\TrainTestCommand.cs (1)
209EvaluateUtils.GetEvaluator(Host, scorePipe.Schema);
Evaluators\AnomalyDetectionEvaluator.cs (1)
796var scoreCol = EvaluateUtils.GetScoreColumn(Host, schema.Schema, ScoreCol, nameof(Arguments.ScoreColumn),
Evaluators\BinaryClassifierEvaluator.cs (5)
1344var scoreCol = EvaluateUtils.GetScoreColumn(Host, schema.Schema, ScoreCol, nameof(Arguments.ScoreColumn), 1348var probCol = EvaluateUtils.GetOptAuxScoreColumn(Host, schema.Schema, _probCol, nameof(Arguments.ProbabilityColumn), 1461idv = EvaluateUtils.AddFoldIndex(Host, idv, i, metrics.Length); 1479var scoreCol = EvaluateUtils.GetScoreColumn(Host, schema.Schema, ScoreCol, nameof(Arguments.ScoreColumn), 1482var probCol = EvaluateUtils.GetOptAuxScoreColumn(Host, schema.Schema, _probCol, nameof(Arguments.ProbabilityColumn),
Evaluators\ClusteringEvaluator.cs (1)
813string feat = EvaluateUtils.GetColName(_featureCol, schema.Feature, DefaultColumnNames.Features);
Evaluators\EvaluatorBase.cs (1)
52EvaluateUtils.CheckWeightType(Host, schema.Weight.Value.Type);
Evaluators\EvaluatorUtils.cs (2)
1571var metrics = EvaluateUtils.ComputeMetricsSum(env, data, 1, out int isWeightedCol, out int stratCol, 1696var overallWithAvg = EvaluateUtils.GetOverallMetricsData(env, overall, numFolds, out var agg, out var weightedAgg);
Evaluators\MamlEvaluator.cs (4)
137var scoreCol = EvaluateUtils.GetScoreColumn(Host, schema.Schema, ScoreCol, nameof(ArgumentsBase.ScoreColumn), 142string label = EvaluateUtils.GetColName(LabelCol, schema.Label, DefaultColumnNames.Label); 145string weight = EvaluateUtils.GetColName(WeightCol, schema.Weight, null); 193return EvaluateUtils.ConcatenateOverallMetrics(Host, metrics);
Evaluators\MulticlassClassificationEvaluator.cs (1)
976EvaluateUtils.ReconcileSlotNames<double>(Host, views, MulticlassClassificationEvaluator.PerClassLogLoss, NumberDataViewType.Double,
Evaluators\MultiOutputRegressionEvaluator.cs (1)
650var scoreCol = EvaluateUtils.GetScoreColumn(Host, schema.Schema, ScoreCol, nameof(Arguments.ScoreColumn),
Evaluators\QuantileRegressionEvaluator.cs (1)
546var scoreCol = EvaluateUtils.GetScoreColumn(Host, schema.Schema, ScoreCol, nameof(Arguments.ScoreColumn),
Evaluators\RankingEvaluator.cs (3)
896var groupIdCol = EvaluateUtils.GetColName(_groupIdCol, schema.Group, DefaultColumnNames.GroupId); 933idv = EvaluateUtils.AddFoldIndex(Host, idv, i, metrics.Length); 949var scoreCol = EvaluateUtils.GetScoreColumn(Host, schema.Schema, ScoreCol, nameof(Arguments.ScoreColumn),
Evaluators\RegressionEvaluator.cs (1)
368var scoreCol = EvaluateUtils.GetScoreColumn(Host, schema.Schema, ScoreCol, nameof(Arguments.ScoreColumn),