3 ms·
OT: What ML algorithms have you implemented? How has Scala helped/hindered this? I'm considering doing the same.
by Dn_Ab 16y ago
OT: What ML algorithms have you implemented? How has Scala helped/hindered this? I'm considering doing the same.
- cageface 16y agoYou can see what I've done here: http://github.com/cageface/brains http://github.com/cageface/brains So far I've implemented a neural net, a naive bayes classifer, a decision tree builder, and a couple of clustering algorithms. So far Scala has proven to be an excellent vehicle for this. People say that static languages are better for big teams but I'm finding the type system to be a huge help in solo coding. It makes it so much easier to pinpoint stupid bugs, forces me to think more carefully about the architecture of my code, and makes me much more confident about constant and aggressive refactoring. Also, a lot of ML algorithms look a lot less scary in a concise, high level language like Scala. The main hurdle has been coming to terms with the Scala collections library. It's a fantastic package, but there's a lot there and it takes some time to learn how the different collection types work and how they interface with the type system. TL;DR - I'm not sure I could have picked a better language for this.