You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Allow users to group custom label predictions into bins.
Fixes#29
Co-authored-by: Hilmar Lapp <[email protected]>
Co-authored-by: Elizabeth Campolongo <[email protected]>
--format=FORMAT format of the output (table or csv) for predict mode [default: csv]
120
-
--rank=RANK rank of the classification (kingdom, phylum, class, order, family, genus, species) [default: species]
121
-
--k=K number of top predictions to show [default: 5]
122
-
--cls=CLS classes to predict: either a comma separated list or a path to a text file of classes (one per line), when specified the --rank argument is not allowed.
help='rank of the classification, default: species (when)')
102
+
cls_help="classes to predict: either a comma separated list or a path to a text file of classes (one per line), when specified the --rank and --bins arguments are not allowed."
103
+
cls_group.add_argument('--cls', help=cls_help)
104
+
cls_group.add_argument('--bins', help='path to CSV file with two columns with the first being classes and second being bin names, when specified the --cls argument is not allowed.')
86
105
predict_parser.add_argument('--k', type=int, help='number of top predictions to show, default: 5')
87
-
cls_help="classes to predict: either a comma separated list or a path to a text file of classes (one per line), when specified the --rank argument is not allowed."
0 commit comments