43 references to RoleMappedData
Microsoft.ML.Core.Tests (2)
UnitTests\TestEntryPoints.cs (2)
1530var rmd = new RoleMappedData(splitOutput.TrainData[0], "Label", "Features"); 2015var rmd = new RoleMappedData(data, "Label", "Features");
Microsoft.ML.Data (25)
Commands\CrossValidationCommand.cs (1)
282return new RoleMappedData(data, label, features, group, weight, name, customCols);
Commands\EvaluateCommand.cs (3)
166var data = new RoleMappedData(input, label, null, group, weight, null, customCols); 244var data = new RoleMappedData(view, label, null, group, weight, name, customCols); 256var perInstData = new RoleMappedData(perInst, label, null, group, weight, name, customCols);
Commands\TestCommand.cs (2)
121var data = new RoleMappedData(scorePipe, label, null, group, weight, name, customCols); 135var perInstData = new RoleMappedData(perInst, label, null, group, weight, name, customCols);
Commands\TrainCommand.cs (1)
163var data = new RoleMappedData(view, label, feature, group, weight, name, customCols);
Commands\TrainTestCommand.cs (3)
150var data = new RoleMappedData(trainPipe, label, features, group, weight, name, customCols); 210var dataEval = new RoleMappedData(scorePipe, label, features, 225var perInstData = new RoleMappedData(perInst, label, null, group, weight, name, customCols);
DataView\DataViewConstructionUtils.cs (1)
134: env.CreateDefaultScorer(new RoleMappedData(pipe, label: null, "Features"), predictor);
EntryPoints\InputBase.cs (1)
86var roleMappedData = new RoleMappedData(view, label, feature, group, weight, name, custom);
Evaluators\AnomalyDetectionEvaluator.cs (1)
826var data = new RoleMappedData(input.Data, label, null, null, weight, name);
Evaluators\BinaryClassifierEvaluator.cs (1)
1515var data = new RoleMappedData(input.Data, label, null, null, weight, name);
Evaluators\ClusteringEvaluator.cs (1)
871var data = new RoleMappedData(input.Data, label, features, null, weight, name);
Evaluators\MulticlassClassificationEvaluator.cs (1)
1100var data = new RoleMappedData(input.Data, label, null, null, weight, name);
Evaluators\MultiOutputRegressionEvaluator.cs (1)
786var data = new RoleMappedData(input.Data, label, null, null, weight, name);
Evaluators\QuantileRegressionEvaluator.cs (1)
571var data = new RoleMappedData(input.Data, label, null, null, weight, name);
Evaluators\RankingEvaluator.cs (1)
1097var data = new RoleMappedData(input.Data, label, null, groupId, weight, name);
Evaluators\RegressionEvaluator.cs (1)
398var data = new RoleMappedData(input.Data, label, null, null, weight, name);
Model\Pfa\SavePfaCommand.cs (1)
155data = new RoleMappedData(end, DefaultColumnNames.Label,
Training\TrainerEstimatorBase.cs (2)
166new RoleMappedData(data, label: LabelColumn.Name, feature: FeatureColumn.Name, weight: WeightColumn.Name); 198new RoleMappedData(data, label: LabelColumn.Name, feature: FeatureColumn.Name, group: GroupIdColumn.Name, weight: WeightColumn.Name);
Transforms\TrainAndScoreTransformer.cs (1)
272return new RoleMappedData(input, label, feat, group, weight, name, customCols);
Utilities\ComponentCreation.cs (1)
57return new RoleMappedData(data, label, features, group, weight, name: null, custom: custom);
Microsoft.ML.EntryPoints (2)
ModelOperations.cs (1)
153var data = new RoleMappedData(normalizedView, label, feature, null, weight);
OneVersusAllMacro.cs (1)
131var data = new RoleMappedData(input.TrainingData, label, feature, null, weight);
Microsoft.ML.KMeansClustering (1)
KMeansPlusPlusTrainer.cs (1)
977new RoleMappedData(arrDv.GetDataView(), null, DefaultColumnNames.Features, weight: DefaultColumnNames.Weight), CursOpt.Weight | CursOpt.Features);
Microsoft.ML.OnnxConverter (1)
SaveOnnxCommand.cs (1)
347data = new RoleMappedData(end, DefaultColumnNames.Label,
Microsoft.ML.Predictor.Tests (2)
TestPredictors.cs (2)
673var data = new RoleMappedData(idv, label: null, feature: "Features"); 843var data = new RoleMappedData(idv, label: null, feature: "Features");
Microsoft.ML.StandardTrainers (3)
Standard\MulticlassClassification\OneVersusAllTrainer.cs (1)
179var trainedData = new RoleMappedData(view, label: trainerLabel, feature: transformer.FeatureColumnName);
Standard\MulticlassClassification\PairwiseCouplingTrainer.cs (1)
155var trainedData = new RoleMappedData(view, label: trainerLabel, feature: transformer.FeatureColumnName);
Standard\Simple\SimpleTrainers.cs (1)
245RoleMappedData trainRoles = new RoleMappedData(input, label: _labelColumnName, feature: null, weight: _weightColumnName);
Microsoft.ML.Tests (1)
Scenarios\Api\Estimators\TrainWithInitialPredictor.cs (1)
43var trainRoles = new RoleMappedData(trainData, label: "Label", feature: "Features");
Microsoft.ML.TimeSeries (5)
AdaptiveSingularSpectrumSequenceModeler.cs (2)
1532public void Train(IDataView dataView, string inputColumnName) => Train(new RoleMappedData(dataView, null, inputColumnName)); 1556var data = new RoleMappedData(dataView, null, inputColumnName);
SsaChangePointDetector.cs (1)
106InternalTransform.Model.Train(new RoleMappedData(input, null, InternalTransform.InputColumnName));
SSaForecasting.cs (1)
131InternalTransform.Model.Train(new RoleMappedData(input, null, InternalTransform.InputColumnName));
SsaSpikeDetector.cs (1)
103InternalTransform.Model.Train(new RoleMappedData(input, null, InternalTransform.InputColumnName));
Microsoft.ML.Transforms (1)
LearnerFeatureSelection.cs (1)
292var data = new RoleMappedData(view, label, feature, group, weight, name, customCols);