broadinstitute / ml4h

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

explore: toggle export of error columns

erikr opened this issue · comments

What
Toggle export of error columns in the tensors.csv generated by explore mode, and set no error columns as default.

Why
I have never found these errors to be useful and it clutters the CSV.

How
Add a new argument, --explore_export_errors.
If set to True, export as usual.
If set to False, remove all the error columns from the dataframe prior to exporting to CSV.
This should be the default setting.

Acceptance Criteria
explore outputs tensors.csv without error columns by default, and this behavior is controllable via a command line arg.