Commit 417942fcd22d566053d2dc13351e93e57d653eb6

Authored by quillotm
1 parent 9bb5ff657b
Exists in master

Specifying that "n" argument is required to pred_distribution_wt_sel

Showing 1 changed file with 1 additions and 1 deletions Side-by-side Diff

... ... @@ -198,7 +198,7 @@
198 198 # pred-distribution-with-selection
199 199 parser_pred_dist_wt_sel = subparsers.add_parser("pred-distribution-with-selection", help="plot distributions of prediction through labels with a selection of the n best records by column/class prediction.")
200 200 parser_pred_dist_wt_sel.add_argument("--predictions", type=str, help="prediction file", required=True)
201   - parser_pred_dist_wt_sel.add_argument("-n", type=int, help="Number of maximum selected for each prediction y_i.")
  201 + parser_pred_dist_wt_sel.add_argument("-n", type=int, help="Number of maximum selected for each prediction y_i.", required=True)
202 202 parser_pred_dist_wt_sel.add_argument("--labels", type=str, help="label file", required=True)
203 203 parser_pred_dist_wt_sel.add_argument("--labelencoder", type=str, help="label encode pickle file", required=True)
204 204 parser_pred_dist_wt_sel.add_argument("--outdir", type=str, help="output file", required=True)