1 write to Name
Microsoft.ML.Core (1)
210 references to Name
Microsoft.ML.Core (6)
Microsoft.ML.Data (41)
Prediction\CalibratorCatalog.cs (9)
91if (!inputSchema.TryFindColumn(column.Name, out var outCol))
92throw Host.ExceptSchemaMismatch(nameof(inputSchema), columnRole, column.Name);
94throw Host.ExceptSchemaMismatch(nameof(inputSchema), columnRole, column.Name, column.GetTypeString(), outCol.GetTypeString());
103bool success = inputSchema.TryFindColumn(ScoreColumn.Name, out var inputScoreCol);
124var outColumns = inputSchema.ToDictionary(x => x.Name);
145_calibratorTrainer, input, LabelColumn.Name, ScoreColumn.Name, WeightColumn.Name);
146return Create(Host, calibrator, ScoreColumn.Name);
Training\TrainerEstimatorBase.cs (18)
85var outColumns = inputSchema.ToDictionary(x => x.Name);
87outColumns[col.Name] = col;
108if (!inputSchema.TryFindColumn(FeatureColumn.Name, out var featureCol))
109throw Host.ExceptSchemaMismatch(nameof(inputSchema), "feature", FeatureColumn.Name);
111throw Host.ExceptSchemaMismatch(nameof(inputSchema), "feature", FeatureColumn.Name,
116if (!inputSchema.TryFindColumn(WeightColumn.Name, out var weightCol))
117throw Host.ExceptSchemaMismatch(nameof(inputSchema), "weight", WeightColumn.Name);
119throw Host.ExceptSchemaMismatch(nameof(inputSchema), "weight", WeightColumn.Name,
127if (!inputSchema.TryFindColumn(LabelColumn.Name, out var labelCol))
128throw Host.ExceptSchemaMismatch(nameof(inputSchema), "label", LabelColumn.Name);
139throw Host.ExceptSchemaMismatch(nameof(labelCol), "label", LabelColumn.Name,
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);
Microsoft.ML.FastTree (12)
Microsoft.ML.ImageAnalytics (5)
Microsoft.ML.LightGbm (9)
Microsoft.ML.Mkl.Components (3)
Microsoft.ML.OnnxTransformer (2)
Microsoft.ML.PCA (1)
Microsoft.ML.Recommender (5)
Microsoft.ML.StandardTrainers (51)
FactorizationMachine\FactorizationMachineTrainer.cs (10)
605roles.Add(new KeyValuePair<RoleMappedSchema.ColumnRole, string>(RoleMappedSchema.ColumnRole.Feature, feat.Name));
607roles.Add(new KeyValuePair<RoleMappedSchema.ColumnRole, string>(RoleMappedSchema.ColumnRole.Label, LabelColumn.Name));
610roles.Add(new KeyValuePair<RoleMappedSchema.ColumnRole, string>(RoleMappedSchema.ColumnRole.Feature, WeightColumn.Name));
621return new FieldAwareFactorizationMachinePredictionTransformer(_host, model, trainData.Schema, FeatureColumns.Select(x => x.Name).ToArray());
639if (!inputSchema.TryFindColumn(column.Name, out var col))
640throw _host.ExceptSchemaMismatch(nameof(inputSchema), columnRole, column.Name);
643throw _host.ExceptSchemaMismatch(nameof(inputSchema), columnRole, column.Name,
657var outColumns = inputSchema.ToDictionary(x => x.Name);
659outColumns[col.Name] = col;
666bool success = inputSchema.TryFindColumn(LabelColumn.Name, out var labelCol);
Microsoft.ML.TensorFlow (2)
Microsoft.ML.TestFramework (6)
Microsoft.ML.TimeSeries (6)
Microsoft.ML.TorchSharp (19)
NasBert\NasBertTrainer.cs (8)
345var outColumns = inputSchema.ToDictionary(x => x.Name);
455var outColumns = inputSchema.ToDictionary(x => x.Name);
480if (!inputSchema.TryFindColumn(SentenceColumn.Name, out var sentenceCol))
481throw Host.ExceptSchemaMismatch(nameof(inputSchema), "sentence", SentenceColumn.Name);
483throw Host.ExceptSchemaMismatch(nameof(inputSchema), "sentence", SentenceColumn.Name,
488if (!inputSchema.TryFindColumn(SentenceColumn2.Name, out var sentenceCol2))
489throw Host.ExceptSchemaMismatch(nameof(inputSchema), "sentence2", SentenceColumn2.Name);
491throw Host.ExceptSchemaMismatch(nameof(inputSchema), "sentence2", SentenceColumn2.Name,
Microsoft.ML.TorchSharp.Tests (10)
Microsoft.ML.Transforms (28)
Microsoft.ML.Vision (4)