43 references to MatchNameOrDefaultOrNull
Microsoft.ML.Data (43)
Commands\CrossValidationCommand.cs (7)
160
string name = TrainUtils.
MatchNameOrDefaultOrNull
(ch, loader.Schema, nameof(ImplOptions.NameColumn), ImplOptions.NameColumn, DefaultColumnNames.Name);
271
string label = TrainUtils.
MatchNameOrDefaultOrNull
(ch, schema, nameof(ImplOptions.LabelColumn), ImplOptions.LabelColumn, DefaultColumnNames.Label);
272
string features = TrainUtils.
MatchNameOrDefaultOrNull
(ch, schema, nameof(ImplOptions.FeatureColumn), ImplOptions.FeatureColumn, DefaultColumnNames.Features);
273
string weight = TrainUtils.
MatchNameOrDefaultOrNull
(ch, schema, nameof(ImplOptions.WeightColumn), ImplOptions.WeightColumn, DefaultColumnNames.Weight);
274
string name = TrainUtils.
MatchNameOrDefaultOrNull
(ch, schema, nameof(ImplOptions.NameColumn), ImplOptions.NameColumn, DefaultColumnNames.Name);
275
string group = TrainUtils.
MatchNameOrDefaultOrNull
(ch, schema, nameof(ImplOptions.GroupColumn), ImplOptions.GroupColumn, DefaultColumnNames.GroupId);
297
string group = TrainUtils.
MatchNameOrDefaultOrNull
(ch, schema, nameof(ImplOptions.GroupColumn), ImplOptions.GroupColumn, DefaultColumnNames.GroupId);
Commands\EvaluateCommand.cs (7)
154
string label = TrainUtils.
MatchNameOrDefaultOrNull
(ch, schema, nameof(Arguments.LabelColumn),
156
string group = TrainUtils.
MatchNameOrDefaultOrNull
(ch, schema, nameof(Arguments.GroupColumn),
158
string weight = TrainUtils.
MatchNameOrDefaultOrNull
(ch, schema, nameof(Arguments.WeightColumn),
230
string label = TrainUtils.
MatchNameOrDefaultOrNull
(ch, schema, nameof(Arguments.LabelColumn),
232
string group = TrainUtils.
MatchNameOrDefaultOrNull
(ch, schema, nameof(Arguments.GroupColumn),
234
string weight = TrainUtils.
MatchNameOrDefaultOrNull
(ch, schema, nameof(Arguments.WeightColumn),
236
string name = TrainUtils.
MatchNameOrDefaultOrNull
(ch, schema, nameof(Arguments.NameColumn),
Commands\ScoreCommand.cs (2)
116
string feat = TrainUtils.
MatchNameOrDefaultOrNull
(ch, loader.Schema,
118
string group = TrainUtils.
MatchNameOrDefaultOrNull
(ch, loader.Schema,
Commands\TestCommand.cs (5)
101
string label = TrainUtils.
MatchNameOrDefaultOrNull
(ch, schema, nameof(ImplOptions.LabelColumn),
103
string features = TrainUtils.
MatchNameOrDefaultOrNull
(ch, schema, nameof(ImplOptions.FeatureColumn),
105
string group = TrainUtils.
MatchNameOrDefaultOrNull
(ch, schema, nameof(ImplOptions.GroupColumn),
107
string weight = TrainUtils.
MatchNameOrDefaultOrNull
(ch, schema, nameof(ImplOptions.WeightColumn),
109
string name = TrainUtils.
MatchNameOrDefaultOrNull
(ch, schema, nameof(ImplOptions.NameColumn),
Commands\TrainCommand.cs (5)
152
var label = TrainUtils.
MatchNameOrDefaultOrNull
(ch, schema, nameof(Arguments.LabelColumn), _labelColumn, DefaultColumnNames.Label);
153
var feature = TrainUtils.
MatchNameOrDefaultOrNull
(ch, schema, nameof(Arguments.FeatureColumn), _featureColumn, DefaultColumnNames.Features);
154
var group = TrainUtils.
MatchNameOrDefaultOrNull
(ch, schema, nameof(Arguments.GroupColumn), _groupColumn, DefaultColumnNames.GroupId);
155
var weight = TrainUtils.
MatchNameOrDefaultOrNull
(ch, schema, nameof(Arguments.WeightColumn), _weightColumn, DefaultColumnNames.Weight);
156
var name = TrainUtils.
MatchNameOrDefaultOrNull
(ch, schema, nameof(Arguments.NameColumn), _nameColumn, DefaultColumnNames.Name);
Commands\TrainTestCommand.cs (5)
135
string label = TrainUtils.
MatchNameOrDefaultOrNull
(ch, schema, nameof(Arguments.LabelColumn),
137
string features = TrainUtils.
MatchNameOrDefaultOrNull
(ch, schema, nameof(Arguments.FeatureColumn),
139
string group = TrainUtils.
MatchNameOrDefaultOrNull
(ch, schema, nameof(Arguments.GroupColumn),
141
string weight = TrainUtils.
MatchNameOrDefaultOrNull
(ch, schema, nameof(Arguments.WeightColumn),
143
string name = TrainUtils.
MatchNameOrDefaultOrNull
(ch, schema, nameof(Arguments.NameColumn),
Evaluators\BinaryClassifierEvaluator.cs (3)
1535
label = TrainUtils.
MatchNameOrDefaultOrNull
(host, schema,
1538
weight = TrainUtils.
MatchNameOrDefaultOrNull
(host, schema,
1541
name = TrainUtils.
MatchNameOrDefaultOrNull
(host, schema,
Evaluators\ClusteringEvaluator.cs (1)
867
string features = TrainUtils.
MatchNameOrDefaultOrNull
(host, schema,
Evaluators\RankingEvaluator.cs (1)
1093
string groupId = TrainUtils.
MatchNameOrDefaultOrNull
(host, schema,
Transforms\TrainAndScoreTransformer.cs (7)
93
string feat = TrainUtils.
MatchNameOrDefaultOrNull
(env, input.Schema,
95
string group = TrainUtils.
MatchNameOrDefaultOrNull
(env, input.Schema,
261
feat = TrainUtils.
MatchNameOrDefaultOrNull
(ectx, schema, nameof(args.FeatureColumn), args.FeatureColumn,
263
var label = TrainUtils.
MatchNameOrDefaultOrNull
(ectx, schema, nameof(args.LabelColumn), args.LabelColumn,
265
group = TrainUtils.
MatchNameOrDefaultOrNull
(ectx, schema, nameof(args.GroupColumn), args.GroupColumn,
267
var weight = TrainUtils.
MatchNameOrDefaultOrNull
(ectx, schema, nameof(args.WeightColumn), args.WeightColumn,
269
var name = TrainUtils.
MatchNameOrDefaultOrNull
(ectx, schema, nameof(args.NameColumn), args.NameColumn,