You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The section on Sparse data structures solves the problem of sparse data by converting the data to "long" format, and using a for-loop in the likelihood statement. It then goes on to state that using segment is better solving the related problem of ragged data structures, saying that "A full database type structure could be used, as in the sparse example, but this is inefficient, wasting space for unnecessary indices and not allowing vector-based density operations.". But, over in the section on multiple indexing, the example seems to be equivalent to the unvectorized Sparse data structure example. Am I missing something? Why can't we vectorize the likelihood for the sparse data example using multiple indexing?
Description:
Git blame shows that @bob-carpenter updated the multi-index chapter in 2021. sparse-ragged chapter is pretty much unchanged. should they both be updated?
The text was updated successfully, but these errors were encountered:
Summary:
question from Stan slack:
Description:
Git blame shows that @bob-carpenter updated the multi-index chapter in 2021. sparse-ragged chapter is pretty much unchanged. should they both be updated?
The text was updated successfully, but these errors were encountered: