Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add learning curve plotting command #396

Merged
merged 8 commits into from
Dec 7, 2017

Conversation

desilinguist
Copy link
Member

@desilinguist desilinguist commented Dec 6, 2017

  • Add a new command line utility called plot_learning_curves that generates learning curve PNG files from learning curve summary TSV files.
  • Add a very basic argparse test for this utility as the functionality is already tested in learning curve tests.

@coveralls
Copy link

coveralls commented Dec 6, 2017

Coverage Status

Coverage decreased (-0.6%) to 91.759% when pulling 1b0ebe4 on add-learning-curve-plotting-command into 112cd33 on master.

@coveralls
Copy link

coveralls commented Dec 6, 2017

Coverage Status

Coverage decreased (-0.2%) to 92.2% when pulling 3906891 on add-learning-curve-plotting-command into 112cd33 on master.

@coveralls
Copy link

coveralls commented Dec 6, 2017

Coverage Status

Coverage decreased (-0.2%) to 92.2% when pulling b9f7366 on add-learning-curve-plotting-command into 112cd33 on master.

@coveralls
Copy link

coveralls commented Dec 6, 2017

Coverage Status

Coverage increased (+0.05%) to 92.421% when pulling 586ed9d on add-learning-curve-plotting-command into 112cd33 on master.

@desilinguist
Copy link
Member Author

Thank God! This is now ready for review :)

#!/usr/bin/env python
# License: BSD 3 clause
"""
Little helper script to generate learning plots from the learning curve output TSV file.
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is it worth adding a sentence about why this would be necessary?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good call. I will do that.

@desilinguist desilinguist merged commit 08e42ba into master Dec 7, 2017
@desilinguist desilinguist deleted the add-learning-curve-plotting-command branch December 7, 2017 15:59
if not exists(args.output_dir):
makedirs(args.output_dir)

# check that we have pandas and seaborn available other
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this supposed to say "otherwise throw an error" or something along those lines?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I was just supposed to stop at "available" but forgot to delete the last word :) I will fix it in the next PR. Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants