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

New config param to define point estimates to calculate when running a CatEstimator stage #29

Merged
merged 1 commit into from
Aug 3, 2023

Conversation

drewoldag
Copy link
Collaborator

@drewoldag drewoldag commented Jul 27, 2023

Work in progress

It is not yet settled whether the default should be no calculations or all calculations done on behalf of the user. However, this PR is still mostly valid regardless of the decision.

Introduce a new config parameters, calculated_point_estimates, in SHARED_PARAMS that will be used by subclasses of CatEstimator.

…SHARED_PARAMS` that will be used by subclasses of `CatEstimator`.
@drewoldag drewoldag self-assigned this Jul 27, 2023
@codecov
Copy link

codecov bot commented Jul 27, 2023

Codecov Report

Patch coverage: 100.00% and no project coverage change.

Comparison is base (39959e4) 97.53% compared to head (b5eff6d) 97.54%.
Report is 7 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main      #29   +/-   ##
=======================================
  Coverage   97.53%   97.54%           
=======================================
  Files          28       28           
  Lines        1585     1586    +1     
=======================================
+ Hits         1546     1547    +1     
  Misses         39       39           
Files Changed Coverage Δ
src/rail/core/common_params.py 100.00% <ø> (ø)
src/rail/estimation/estimator.py 100.00% <100.00%> (ø)

... and 10 files with indirect coverage changes

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@eacharles
Copy link
Collaborator

it would make sense as a next step to add a function to the base class to actually use the new parameter.

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.

New configuration to specify point estimate calculations in CatEstimator stages
4 participants