question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

New predictions group!

See original GitHub issue

Tell us about it

Two new groups were recently added to the InferenceData schema: predictions and predictions_constant_data. #983 added them in from_pymc3, however it is still pending for the other libraries.

Current status:

  • from_pymc3
  • from_pystan
  • from_pyro
  • from_cmdstan
  • from_cmdstanpy
  • (from_emcee)
  • from_numpyro
  • from_dict

Thoughts on implementation

PyStan

@ahartikainen what do you think would be better? Mimicking posterior_predictive or log_likelihood and adding the dict option to rename variables on creation?

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:27 (27 by maintainers)

github_iconTop GitHub Comments

1reaction
nitishp25commented, Feb 26, 2020

Why it (group input) can not be a dictionary that user provides?

It can be. I was just trying to find an easier way from the user’s perspective like if Pyro had an option like pymc3.data or pym3.deterministics then all the user would have to do would be to declare the constant data in the model and ArviZ would convert these automatically to inference data (like in PyMC3) without having to pass an argument separately for them.

But since this is not yet possible in Pyro, a dictionary can definitely be the desired input type. I was just looking for a better way and I thought if waiting for such a solution is worth it or not 😃

1reaction
OriolAbrilcommented, Feb 26, 2020

I’d say it is useful to include the group because it let’s users keep track of how where the predictions generated. For example, in the model you are working with, if you only get the inference data without the constant data groups you are missing quite some information as you would not have the times used to generate the posterior predictive samples.

Read more comments on GitHub >

github_iconTop Results From Across the Web

2022 World Cup Predictions | FiveThirtyEight
Team Group SPI Off. Def. 1st. Place 2nd. Place Make Round of 16Make Rd. of 16 M... Argentina C 89.6 2.8 0.4 ✓ —...
Read more >
World Cup 2022 Predictions: Projecting Winners for Every Group
Some of the group winners are easy to predict because of the gaps in talent between the top teams and their group stage...
Read more >
WORLD CUP PREDICTIONS! Who makes it out of each group?!
The ESPN FC Daily panel go through every group in the 2022 World Cup and offer up their predictions ahead of the final...
Read more >
Looking Back At My 2022 World Cup Predictions - YouTube
At the beginning of the 2022 FIFA World Cup in Qatar, I made a seven bold predictions about how the tournament would turn...
Read more >
MY FINAL WORLD CUP 2022 GROUP STAGE PREDICTIONS!
0:00 · New ! Watch ads now so you can enjoy fewer interruptions. Got it ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found