21 references to ScoreUtils
Microsoft.ML.Data (21)
Commands\CrossValidationCommand.cs (2)
529var bindable = ScoreUtils.GetSchemaBindableMapper(host, predictor, scorerFactorySettings: _scorer as ICommandLineComponentFactory); 532var scorerComp = _scorer ?? ScoreUtils.GetScorerComponent(host, mapper);
Commands\ScoreCommand.cs (2)
112var bindable = ScoreUtils.GetSchemaBindableMapper(Host, predictor, scorerFactorySettings: scorer as ICommandLineComponentFactory); 125scorer = ScoreUtils.GetScorerComponent(Host, mapper);
Commands\TestCommand.cs (1)
116IDataScorerTransform scorePipe = ScoreUtils.GetScorer(ImplOptions.Scorer, predictor, loader, features, group, customCols, Host, trainSchema);
Commands\TrainTestCommand.cs (1)
205IDataScorerTransform scorePipe = ScoreUtils.GetScorer(ImplOptions.Scorer, predictor, testPipe, features, group, customCols, Host, data.Schema);
Model\Pfa\SavePfaCommand.cs (1)
159var scorePipe = ScoreUtils.GetScorer(rawPred, data, Host, trainSchema);
Prediction\Calibrator.cs (4)
755_bindable = ScoreUtils.GetSchemaBindableMapper(Host, SubModel as IPredictorProducing<float>); 762_bindable = ScoreUtils.GetSchemaBindableMapper(Host, SubModel as IPredictorProducing<float>); 877var bindable = ScoreUtils.GetSchemaBindableMapper(env, predictor); 1022var scored = ScoreUtils.GetScorer(predictor, data, env, null);
Scorers\FeatureContributionCalculation.cs (3)
69var scorer = ScoreUtils.GetScorerComponent(env, contributionMapper); 135GenericMapper = ScoreUtils.GetSchemaBindableMapper(_env, Predictor, null); 153GenericMapper = ScoreUtils.GetSchemaBindableMapper(_env, Predictor, null);
Scorers\PredictionTransformer.cs (3)
238BindableMapper = ScoreUtils.GetSchemaBindableMapper(Host, ModelAsPredictor); 253BindableMapper = ScoreUtils.GetSchemaBindableMapper(Host, ModelAsPredictor); 268BindableMapper = ScoreUtils.GetSchemaBindableMapper(Host, ModelAsPredictor);
Transforms\TrainAndScoreTransformer.cs (2)
99return ScoreUtils.GetScorer(args.Scorer, predictor, input, feat, group, customCols, env, trainSchema); 245return ScoreUtils.GetScorer(args.Scorer, predictor, input, feat, group, customCols, env, data.Schema, mapperFactory);
Utilities\ComponentCreation.cs (2)
171var bindable = ScoreUtils.GetSchemaBindableMapper(env, predictor, scorerFactorySettings: scorerFactorySettings); 194return ScoreUtils.GetScorer(predictor, data, env, trainSchema);