Mercurial > repos > bgruening > sklearn_clf_metrics
comparison clf_metrics.xml @ 2:504ea7ea42b1 draft
planemo upload for repository https://github.com/bgruening/galaxytools/tools/sklearn commit 641ac64ded23fbb6fe85d5f13926da12dcce4e76
author | bgruening |
---|---|
date | Tue, 13 Mar 2018 04:57:23 -0400 |
parents | 0f5111e694db |
children | 82f51b60c4ee |
comparison
equal
deleted
inserted
replaced
1:813b38053344 | 2:504ea7ea42b1 |
---|---|
25 | 25 |
26 input_json_path = sys.argv[1] | 26 input_json_path = sys.argv[1] |
27 params = json.load(open(input_json_path, "r")) | 27 params = json.load(open(input_json_path, "r")) |
28 | 28 |
29 | 29 |
30 y_t = columns("$clf_metrics.infile1","$clf_metrics.col1") | 30 y_t = read_columns( |
31 y_p = columns("$clf_metrics.infile2","$clf_metrics.col2") | 31 "$clf_metrics.infile1", |
32 "$clf_metrics.col1", | |
33 sep='\t', | |
34 header=None, | |
35 parse_dates=True | |
36 ) | |
37 y_p = read_columns( | |
38 "$clf_metrics.infile2", | |
39 "$clf_metrics.col2", | |
40 sep='\t', | |
41 header=None, | |
42 parse_dates=True | |
43 ) | |
32 | 44 |
33 options = params["clf_metrics"].get("options", {}) | 45 options = params["clf_metrics"].get("options", {}) |
34 print(options) | 46 print(options) |
35 if options and options.get('average', '') == 'None': | 47 if options and options.get('average', '') == 'None': |
36 options['average'] = None | 48 options['average'] = None |