Mercurial > repos > bgruening > sklearn_ensemble
diff ensemble.xml @ 31:af0523c606a7 draft
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/sklearn commit 5b2ac730ec6d3b762faa9034eddd19ad1b347476"
author | bgruening |
---|---|
date | Mon, 16 Dec 2019 05:42:39 -0500 |
parents | dde0f1654d18 |
children | 19d6c2745d34 |
line wrap: on
line diff
--- a/ensemble.xml Thu Nov 07 05:45:03 2019 -0500 +++ b/ensemble.xml Mon Dec 16 05:42:39 2019 -0500 @@ -79,7 +79,7 @@ with open(infile_model, 'rb') as model_handler: classifier_object = load_model(model_handler) header = 'infer' if params["selected_tasks"]["header"] else None - data = pandas.read_csv(infile_data, sep='\t', header=header, index_col=None, parse_dates=True, encoding=None, tupleize_cols=False) + data = pandas.read_csv(infile_data, sep='\t', header=header, index_col=None, parse_dates=True, encoding=None) prediction = classifier_object.predict(data) prediction_df = pandas.DataFrame(prediction, columns=["predicted"]) res = pandas.concat([data, prediction_df], axis=1)