-
Notifications
You must be signed in to change notification settings - Fork 83
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
pass inputs into the LDS model #329
Comments
Hi @weigcdsb, I'm not sure I totally understand your use case, would you be able to explain it in some more detail and we'll see if I can help 😄. In general, it should be possible to use |
@gileshd, thanks for replying & sorry for confusions. Just use the notations in the comment of your models.py file: My question is how can I pass the input Hope this clarifies my question. |
Correct. The input vector u_t at each time step must be a D-dimensional vector. So |
Hello,
I have a very basic question: how to pass N X T X D inputs ("X") into the LDS model (N trials, T time steps and D dimensional inputs)?
In the linear_gaussian_ssm model.py file, the inputs is Optional[Float[Array, "ntime input_dim"]], so there's no dimension for trials (N)?
I tried to do things as in the Kalman filter/ smoother example. But the problem is that I also need to include d latent trajectoreis into the model (i.e. the state dimension should be D + d, if I encode the covariates into the emission matrix).
Not sure how to do it correctly...
The text was updated successfully, but these errors were encountered: