@@ -17,7 +17,7 @@ internal static class CommandDefinitions
17
17
{
18
18
internal static System . CommandLine . Command New ( ICommandHandler handler )
19
19
{
20
- var newCommand = new System . CommandLine . Command ( "new" , "ML.NET CLI tool for code generation " , handler : handler )
20
+ var newCommand = new System . CommandLine . Command ( "new" , "Create a new .NET project using ML.NET to train and run a model " , handler : handler )
21
21
{
22
22
Dataset ( ) ,
23
23
ValidationDataset ( ) ,
@@ -56,47 +56,47 @@ internal static System.CommandLine.Command New(ICommandHandler handler)
56
56
return newCommand ;
57
57
58
58
Option Dataset ( ) =>
59
- new Option ( "--dataset" , "Dataset file path." ,
59
+ new Option ( "--dataset" , "File path to either a single dataset or a training dataset for train/test split approaches ." ,
60
60
new Argument < FileInfo > ( ) . ExistingOnly ( ) ) ;
61
61
62
62
Option ValidationDataset ( ) =>
63
- new Option ( "--validation-dataset" , "Validation dataset file path. Used for model exploration ." ,
63
+ new Option ( "--validation-dataset" , "File path for the validation dataset in train/validation/test split approaches ." ,
64
64
new Argument < FileInfo > ( defaultValue : default ( FileInfo ) ) . ExistingOnly ( ) ) ;
65
65
66
66
Option TestDataset ( ) =>
67
- new Option ( "--test-dataset" , "Test dataset file path ." ,
67
+ new Option ( "--test-dataset" , "File path for the test dataset in train/test approaches ." ,
68
68
new Argument < FileInfo > ( defaultValue : default ( FileInfo ) ) . ExistingOnly ( ) ) ;
69
69
70
70
Option MlTask ( ) =>
71
- new Option ( "--ml-task" , "Type of ML task. " ,
71
+ new Option ( "--ml-task" , "Type of ML task to perform. Current supported tasks: regression and binary-classification " ,
72
72
new Argument < string > ( ) . FromAmong ( GetMlTaskSuggestions ( ) ) ) ;
73
73
74
74
Option LabelName ( ) =>
75
- new Option ( "--label-column-name" , "Name of the label column." ,
75
+ new Option ( "--label-column-name" , "Name of the label (target) column to predict ." ,
76
76
new Argument < string > ( ) ) ;
77
77
78
78
Option LabelColumnIndex ( ) =>
79
- new Option ( "--label-column-index" , "Index of the label column." ,
79
+ new Option ( "--label-column-index" , "Index of the label (target) column to predict ." ,
80
80
new Argument < uint > ( ) ) ;
81
81
82
82
Option MaxExplorationTime ( ) =>
83
- new Option ( "--max-exploration-time" , "Timeout in seconds for exploring models." ,
83
+ new Option ( "--max-exploration-time" , "Maximum time in seconds for exploring models with best configuration ." ,
84
84
new Argument < uint > ( defaultValue : 10 ) ) ;
85
85
86
86
Option Verbosity ( ) =>
87
- new Option ( new List < string > ( ) { "--verbosity" } , "Verbosity of the output to be shown by the tool. " ,
87
+ new Option ( new List < string > ( ) { "--verbosity" } , "Output verbosity choices: q[uiet], m[inimal] ( by default) and diag[nostic] " ,
88
88
new Argument < string > ( defaultValue : "m" ) . FromAmong ( GetVerbositySuggestions ( ) ) ) ;
89
89
90
90
Option Name ( ) =>
91
- new Option ( new List < string > ( ) { "--name" } , "Name of the output files( project). " ,
91
+ new Option ( new List < string > ( ) { "--name" } , "Name for the output project or solution to create. " ,
92
92
new Argument < string > ( defaultValue : "Sample" ) ) ;
93
93
94
94
Option OutputPath ( ) =>
95
- new Option ( new List < string > ( ) { "--output-path" } , "Output folder path ." ,
95
+ new Option ( new List < string > ( ) { "--output-path" } , "Location folder to place the generated output. The default is the current directory ." ,
96
96
new Argument < DirectoryInfo > ( defaultValue : new DirectoryInfo ( "." ) ) ) ;
97
97
98
98
Option HasHeader ( ) =>
99
- new Option ( new List < string > ( ) { "--has-header" } , "Specifies if the dataset has header or not ." ,
99
+ new Option ( new List < string > ( ) { "--has-header" } , "Specify true/false depending if the dataset file(s) have a header row ." ,
100
100
new Argument < bool > ( defaultValue : true ) ) ;
101
101
102
102
}
0 commit comments