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 support to output a Report with a variable bias threshold #42

Open
neiljp opened this issue Jun 1, 2018 · 0 comments
Open

Add support to output a Report with a variable bias threshold #42

neiljp opened this issue Jun 1, 2018 · 0 comments

Comments

@neiljp
Copy link
Collaborator

neiljp commented Jun 1, 2018

Currently Report.__str__ just outputs fully-negative reports, and Report.to_dict gives all the data.

Ideally the output of the textual report would be tuneable. This cannot be easily set in the constructor, since this is called in each Detector.

Two options were discussed on slack:

  • set a report attribute (or call a function) to specify the threshold, then use __str__;
  • add an additional function (or maybe alternative to __str__) such as to_string, which accepts the threshold value.

I prefer the latter, but we can discuss further before implementing if necessary.

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

No branches or pull requests

1 participant