1 instantiation of Arguments
Microsoft.ML.Data (1)
Commands\TrainCommand.cs (1)
117
var settings = CmdParser.GetSettings(Host, ImplOptions, new
Arguments
());
14 references to Arguments
Microsoft.ML.Data (14)
Commands\TrainCommand.cs (14)
20
[assembly: LoadableClass(TrainCommand.Summary, typeof(TrainCommand), typeof(TrainCommand.
Arguments
), typeof(SignatureCommand),
37
internal sealed class TrainCommand : DataCommand.ImplBase<TrainCommand.
Arguments
>
97
public TrainCommand(IHostEnvironment env,
Arguments
args)
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);
214
ectx.CheckValue(trainer, nameof(TrainCommand.
Arguments
.Trainer), "A trainer is required.");
217
throw ectx.ExceptUserArg(nameof(TrainCommand.
Arguments
.DataFile), "Data file must be defined.");
275
ch.Warning("Ignoring " + nameof(TrainCommand.
Arguments
.InputModelFile) +
449
ch.CheckUserArg(Enum.IsDefined(typeof(NormalizeOption), autoNorm), nameof(TrainCommand.
Arguments
.NormalizeFeatures),
521
ectx.CheckUserArg(!string.IsNullOrWhiteSpace(kindName.Value), nameof(TrainCommand.
Arguments
.CustomColumns), "Names for columns with custom kind must not be empty");
523
throw ectx.ExceptUserArg(nameof(TrainCommand.
Arguments
.CustomColumns), "Custom column with name '{0}' needs a kind. Use col[<Kind>]={0}", kindName.Value);