Mercurial > repos > bgruening > sklearn_nn_classifier
diff nn_classifier.xml @ 17:699024d5c451 draft
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/sklearn commit 5b2ac730ec6d3b762faa9034eddd19ad1b347476"
author | bgruening |
---|---|
date | Mon, 16 Dec 2019 05:31:46 -0500 |
parents | d0efc68a3ddb |
children | 1d3447c2203c |
line wrap: on
line diff
--- a/nn_classifier.xml Thu Nov 07 05:37:54 2019 -0500 +++ b/nn_classifier.xml Mon Dec 16 05:31:46 2019 -0500 @@ -34,7 +34,7 @@ classifier_object = load_model(model_handler) header = 'infer' if params["selected_tasks"]["header"] else None -data = pandas.read_csv("$selected_tasks.infile_data", sep='\t', header=header, index_col=None, parse_dates=True, encoding=None, tupleize_cols=False) +data = pandas.read_csv("$selected_tasks.infile_data", sep='\t', header=header, index_col=None, parse_dates=True, encoding=None) prediction = classifier_object.predict(data) prediction_df = pandas.DataFrame(prediction) res = pandas.concat([data, prediction_df], axis=1)