New predict() behaviour and syntax? #2387
Unanswered
DominiqueMakowski
asked this question in
Q&A
Replies: 1 comment
-
Hmm, I think this is a bug and not a feature 😕 I'll investigate 🕵️ |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
It's me again, just wanted some clarification, as it seems like recently the behaviour of
predict()
changed in the recent updates?Previously if you ran
predict(model([vector_of_missing]), chains)
and it would return an array of the size of the vector of missing it's been conditioned on with the draws, but now the same function returns also all the parameters (?)What is the correct way moving forward of generating predictions on the outcome of a model?
If the current
predict()
output is here to stay, how can I easily filter out the draws corresponding to my outcome? In my case, I'm interested in predicting a variable called response timert
. And the chains output has the following names:How can I do something like
pred[parameters_starting_with_rt]
the most Turingy/julian way?Beta Was this translation helpful? Give feedback.
All reactions