Not very fancy but I'm still pleased with my implementation of MAP/maximum likelihood estimation in a few lines of code with JAX & some helpers I've been writing. Code below finds mode for general prior and likelihood. Full code is here if curious: github.com/martiningram/m
Conversation
Replying to
Nice type annotations! 😍
(helps me understand this stuff better, as an outsider)
Replying to
Thanks Brendan! There's a docstring too but it's a bit long so I didn't put it in the image! I like them too, they help me remember how to use functions when I don't use them for a bit
1
i feel like there's a carly rae jepsen song out there with hte lyrics "so callable maybe"
1


