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

CSV output #35

Open
garfieldnate opened this issue Jun 1, 2023 · 3 comments
Open

CSV output #35

garfieldnate opened this issue Jun 1, 2023 · 3 comments

Comments

@garfieldnate
Copy link
Owner

Would it be possible to do CSV output with all of the AM-specific information for several classifications at once, e.g. leave-one-out resulting in a single CSV? This would be incredibly useful.

Next best thing would be a script to convert the Weka output to CSV. We need predictions (already possible with default Weka CSV output), gangs, and analogical sets.

@garfieldnate
Copy link
Owner Author

garfieldnate commented Jun 1, 2023

Not sure why Weka has a separate method for printing the header, but it's not suitable for printing the CSV column headers. The doPrintClassification method calls the actual classifier(!), so if we were to print the header in doPrintHeader, we wouldn't be able to output three separate CSV reports.

@garfieldnate
Copy link
Owner Author

garfieldnate commented Jun 1, 2023

Game plan:

  • Add AnalogicalModelingOutput option to output CSV; put this option first at the top of the list of options.
  • Print summary, gangs, analogical set, and predictions in CSV format if specified.
  • Add first-line comment to each CSV specifying how to load the document with Pandas.
  • Add a Python script that consolidates outputs into single CSV's.
  • Update the documentation screenshot of AnalogicalModelingOutput config and add a note about getting Pandas-ready output. Document the use of the script, as well.

@garfieldnate
Copy link
Owner Author

Note that I'd also like to fix #34 and add fix up getResults (fix tooltip, explain why it's there, warn that it's not thread-safe) before releasing.

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

No branches or pull requests

1 participant