4 ms·
I did look at GSL :). I decided to write it by hand because I wanted to help people understand the underlying math. I find that too many people use libraries wi
by ucsd_surfNerd 14y ago
I did look at GSL :). I decided to write it by hand because I wanted to help people understand the underlying math. I find that too many people use libraries without understand the math which can become problematic especially when performing statistical analysis.
Thanks for pointing out GSL. I appreciate the feedback.
- cheald 14y agoIt's definitely good to understand the underlying math, and it's a good article on "this is how to translate a formula into Ruby code", but given that the article is positioned as "We needed to solve this problem, and this is how we solved it", it seems like it'd make more sense to focus on solving it with the least work and the best performance, which is why I mentioned GSL. It's great to see other people doing statistical work in Ruby, though, so please don't let my criticism keep you from continuing to do it! :)
- ucsd_surfNerd 14y agoI appreciate the feedback, especially when it is constructive criticism. It helps me understand how other people were interpreting the post. Perhaps I got the positioning slightly wrong as I wanted it to be more about teaching the basic math and how to translate that into Ruby. I will try and get the positioning better next time. While we do some stats in Ruby it definitely doesn't represent the entire "this is how we solved it". In fact we use a large amount of R and Java to solve all our statistics problems.