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

StabilityReport only calculated with metrics specified in Report.show_stats #277

Open
sbrugman opened this issue Jul 6, 2023 Discussed in #276 · 1 comment
Open

StabilityReport only calculated with metrics specified in Report.show_stats #277

sbrugman opened this issue Jul 6, 2023 Discussed in #276 · 1 comment
Labels
question Further information is requested

Comments

@sbrugman
Copy link
Collaborator

sbrugman commented Jul 6, 2023

Discussed in #276

Originally posted by mi2354 July 3, 2023
At the moment (V1.4.4), the StabilityReport needs the popmon.config.Report object that has the attribute show_stats to display only some metrics in the report, although all metrics are calculated and stored in StabilityReport.datastore. Would be great that only the metrics that need to be displayed are calculated, instead of all of them.

Another possibility to also speed up the StabilityReport would be to make it optional to create the visualization (make popmon.pipeline.report_pipelines.ReportPipe an optional step in the reference pipelines. I have noticed that is not easy to separately use the metrics pipelines directly, but then if only the StabilityReport.datastore is needed, it's necessary to go through all the pipeline steps.

Please, let me know your thoughts on this! Thanks!

@sbrugman sbrugman added the question Further information is requested label Jul 6, 2023
@sbrugman
Copy link
Collaborator Author

sbrugman commented Jul 6, 2023

@mi2354 Thanks for raising this.

Indeed, show_stats is simply configuring which metrics to display.
In order to disable profiles/comparisons, they can be currently removed from the profiles registry. A feature could be added to disable registered profiles/comparisons via the popmon.config.Report (contributions welcome).

There exists MetricsPipelines that are supposed to make the ReportPipeline step optional (your second point). See also this tutorial.

Happy to take any contributions on documenting this more clearly.

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

No branches or pull requests

1 participant