Mercurial > repos > bgruening > sklearn_discriminant_classifier
comparison train_test_eval.py @ 27:8e49f26b14d3 draft
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/sklearn commit ba6a47bdf76bbf4cb276206ac1a8cbf61332fd16"
author | bgruening |
---|---|
date | Fri, 13 Sep 2019 12:10:41 -0400 |
parents | 9bb505eafac9 |
children | 64b771b1471a |
comparison
equal
deleted
inserted
replaced
26:9bb505eafac9 | 27:8e49f26b14d3 |
---|---|
401 del main_est.fit_params | 401 del main_est.fit_params |
402 del main_est.model_class_ | 402 del main_est.model_class_ |
403 del main_est.validation_data | 403 del main_est.validation_data |
404 if getattr(main_est, 'data_generator_', None): | 404 if getattr(main_est, 'data_generator_', None): |
405 del main_est.data_generator_ | 405 del main_est.data_generator_ |
406 del main_est.data_batch_generator | |
407 | 406 |
408 with open(outfile_object, 'wb') as output_handler: | 407 with open(outfile_object, 'wb') as output_handler: |
409 pickle.dump(estimator, output_handler, | 408 pickle.dump(estimator, output_handler, |
410 pickle.HIGHEST_PROTOCOL) | 409 pickle.HIGHEST_PROTOCOL) |
411 | 410 |