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)
595roles.Add(new KeyValuePair<RoleMappedSchema.ColumnRole, string>(RoleMappedSchema.ColumnRole.Feature, feat.Name));
597roles.Add(new KeyValuePair<RoleMappedSchema.ColumnRole, string>(RoleMappedSchema.ColumnRole.Label, LabelColumn.Name));
600roles.Add(new KeyValuePair<RoleMappedSchema.ColumnRole, string>(RoleMappedSchema.ColumnRole.Feature, WeightColumn.Name));
611return new FieldAwareFactorizationMachinePredictionTransformer(_host, model, trainData.Schema, FeatureColumns.Select(x => x.Name).ToArray());
629if (!inputSchema.TryFindColumn(column.Name, out var col))
630throw _host.ExceptSchemaMismatch(nameof(inputSchema), columnRole, column.Name);
633throw _host.ExceptSchemaMismatch(nameof(inputSchema), columnRole, column.Name,
647var outColumns = inputSchema.ToDictionary(x => x.Name);
649outColumns[col.Name] = col;
656bool 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)
323var outColumns = inputSchema.ToDictionary(x => x.Name);
433var outColumns = inputSchema.ToDictionary(x => x.Name);
458if (!inputSchema.TryFindColumn(SentenceColumn.Name, out var sentenceCol))
459throw Host.ExceptSchemaMismatch(nameof(inputSchema), "sentence", SentenceColumn.Name);
461throw Host.ExceptSchemaMismatch(nameof(inputSchema), "sentence", SentenceColumn.Name,
466if (!inputSchema.TryFindColumn(SentenceColumn2.Name, out var sentenceCol2))
467throw Host.ExceptSchemaMismatch(nameof(inputSchema), "sentence2", SentenceColumn2.Name);
469throw Host.ExceptSchemaMismatch(nameof(inputSchema), "sentence2", SentenceColumn2.Name,
Microsoft.ML.TorchSharp.Tests (10)
Microsoft.ML.Transforms (28)
Microsoft.ML.Vision (4)