# HG changeset patch
# User bgruening
# Date 1539243001 14400
# Node ID 7509d7059040f2d09e453532db81f9a186157f0f
# Parent 0987bc3904a0cb631e969410065a71d9bbce5a2e
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/sklearn commit c64ccc5850c8e061a95fb64e07ed388384e82393
diff -r 0987bc3904a0 -r 7509d7059040 search_model_validation.xml
--- a/search_model_validation.xml Sat Sep 29 07:26:39 2018 -0400
+++ b/search_model_validation.xml Thu Oct 11 03:30:01 2018 -0400
@@ -85,6 +85,7 @@
options = params["search_schemes"]["options"]
options['cv'] = get_cv( options['cv'].strip() )
options['n_jobs'] = N_JOBS
+primary_scoring = options['scoring']['primary_scoring']
options['scoring'] = get_scoring(options['scoring'])
if options['error_score']:
options['error_score'] = 'raise'
@@ -114,6 +115,7 @@
print(repr(warning.message))
cv_result = pandas.DataFrame(searcher.cv_results_)
+cv_result.rename(inplace=True, columns={"mean_test_primary": "mean_test_"+primary_scoring, "rank_test_primary": "rank_test_"+primary_scoring})
cv_result.to_csv(path_or_buf=outfile_result, sep='\t', header=True, index=False)
#if $save:
@@ -453,6 +455,75 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+