Skip to content

Conversation

@vagmcs
Copy link

@vagmcs vagmcs commented Dec 15, 2021

Computes weghts_per_obs only when required

  • In case weights given for calculating the weighted log-likelihood are none or ones, then there is no need to perform the multiplication and max operations over the rows_to_obs matrix, since it can lead to an out of memory error for very large matrices. Instead, just set weights_per_obs to an array of ones.

- In case weights given for calculating the weighted log-likelihood are
  none or ones, then there is no need to perform the multiplication and
  max operations over the rows_to_obs matrix, since it can lead to an out of
  memory error for very large matrices. Instead just set weights_per_obs
  to an array of ones.
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.

1 participant