1 instantiation of Arguments
Microsoft.ML.Data (1)
Commands\TrainCommand.cs (1)
117var 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), 37internal sealed class TrainCommand : DataCommand.ImplBase<TrainCommand.Arguments> 97public TrainCommand(IHostEnvironment env, Arguments args) 152var label = TrainUtils.MatchNameOrDefaultOrNull(ch, schema, nameof(Arguments.LabelColumn), _labelColumn, DefaultColumnNames.Label); 153var feature = TrainUtils.MatchNameOrDefaultOrNull(ch, schema, nameof(Arguments.FeatureColumn), _featureColumn, DefaultColumnNames.Features); 154var group = TrainUtils.MatchNameOrDefaultOrNull(ch, schema, nameof(Arguments.GroupColumn), _groupColumn, DefaultColumnNames.GroupId); 155var weight = TrainUtils.MatchNameOrDefaultOrNull(ch, schema, nameof(Arguments.WeightColumn), _weightColumn, DefaultColumnNames.Weight); 156var name = TrainUtils.MatchNameOrDefaultOrNull(ch, schema, nameof(Arguments.NameColumn), _nameColumn, DefaultColumnNames.Name); 214ectx.CheckValue(trainer, nameof(TrainCommand.Arguments.Trainer), "A trainer is required."); 217throw ectx.ExceptUserArg(nameof(TrainCommand.Arguments.DataFile), "Data file must be defined."); 275ch.Warning("Ignoring " + nameof(TrainCommand.Arguments.InputModelFile) + 449ch.CheckUserArg(Enum.IsDefined(typeof(NormalizeOption), autoNorm), nameof(TrainCommand.Arguments.NormalizeFeatures), 521ectx.CheckUserArg(!string.IsNullOrWhiteSpace(kindName.Value), nameof(TrainCommand.Arguments.CustomColumns), "Names for columns with custom kind must not be empty"); 523throw ectx.ExceptUserArg(nameof(TrainCommand.Arguments.CustomColumns), "Custom column with name '{0}' needs a kind. Use col[<Kind>]={0}", kindName.Value);