blog/2023/08/15/matrix-multiply-logit-predict/ #90
Replies: 2 comments 2 replies
-
If you have a large dataset, sparse_model_matrix from the Matrix package can speed this up a bunch :-) |
Beta Was this translation helpful? Give feedback.
-
Happily, Further, fwiw, although it can seem like an arcane under-the-hood kind of R function, in teaching contexts I've found it's helpful to introduce |
Beta Was this translation helpful? Give feedback.
-
blog/2023/08/15/matrix-multiply-logit-predict/
This is like basic stats stuff, but I can never remember how to do it—here’s how to use matrix multiplication to replicate the results of
predict()
https://www.andrewheiss.com/blog/2023/08/15/matrix-multiply-logit-predict/
Beta Was this translation helpful? Give feedback.
All reactions