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

Save optimization output to .csv file #15

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

GerbrichFerdinands
Copy link
Member

Add the option to save optimization output to a .csv file.

asreview show trials.pkl prints the optimization output from the trials.pkl file to the screen.

This output can now be saved as a .csv file to a specified location by providing an extra argument, asreview show trials.pkl . or asreview show trials.pkl optimization_output for example.

@qubixes could you have a look?

@qubixes
Copy link
Contributor

qubixes commented Apr 13, 2020

@GerbrichFerdinands Thanks! Some minor points:

  • I think it makes more sense to either export it to a csv or print it to the console (not both).
  • I would like to use argparse for the option to export. The preferred option flag would be -o/--output. I know I suggested this (temporary) solution, but it would be nice if we can extend it with more options at a later date as well.
  • Also the filename of the export should be something you can supply to the command line interface.

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.

2 participants