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

Use the calculated_point_estimates config parameter in PZFlowEstimator #6

Closed
drewoldag opened this issue Aug 14, 2023 · 0 comments
Closed

Comments

@drewoldag
Copy link
Collaborator

A new config parameter, calculated_point_estimates was introduced in rail_base PR #29. This parameter defines which point estimates to compute automatically during the estimation stage.

The implementation will likely look similar to what was done for RAIL_flexzboost in PR #34

The following is a rough gist:

ancil_dictionary = dict()

calculated_point_estimates = []
if ‘calculated_point_estimates’ in self.config:
    calculated_point_estimates = self.config.calculated_point_estimates

if ‘mode’ in calculated_point_estimates:
    ancil_dictionary.update(mode = <mode calculation>)

if ‘mean’ in calculated_point_estimates:
    ancil_dictionary.update(mean = <mean calculation>)

if ‘median’ in calculated_point_estimates:
    ancil_dictionary.update(median = <median calculation>)

if calculated_point_estimates:
    qp_dstn.set_ancil(ancil_dictionary)
@drewoldag drewoldag linked a pull request Aug 14, 2023 that will close this issue
20 tasks
@drewoldag drewoldag closed this as not planned Won't fix, can't repro, duplicate, stale Sep 19, 2023
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 a pull request may close this issue.

1 participant