Oshlack / ALLSorts

ALLSorts is a B-Cell Acute Lymphoblastic Leukemia (B-ALL) subtype classifier. From gene expression counts to over 18 subtypes.
MIT License
15 stars 8 forks source link

using the Training mode. #10

Open ShawnSimp opened 2 years ago

ShawnSimp commented 2 years ago

Is it possible to get an example with details (file formats) on how to train allsorts on a dataset of counts? I attempted

python ALLSorts -train -samples dir_data/Tcounts.csv -labels dir_data/data_labels.csv -model_dir model

and received the error : python3.8/site-packages/sklearn/model_selection/_validation.py:532: FitFailedWarning: Estimator fit failed. The score on this train-test partition for these parameters will be set to nan. Details: ValueError: at least one array or dtype is required