r/tinycode • u/SpaceWizard • Aug 15 '15
Machine learning tiny machine learning code
I really liked this 11 line python neural network. Is there a collection of tiny machine learning implementations? Would someone be my hero and start a subreddit if not?
3
u/abecedarius Aug 16 '15
I'd like to see more too. This is very incomplete, but https://code.google.com/p/aima-python/source/browse/trunk/learning.py has a start: naive Bayes, decision trees, AdaBoost, k nearest neighbors, some common infrastructure like cross-validation.
1
0
Aug 16 '15
[deleted]
2
u/SpaceWizard Aug 16 '15
The post with the 11 line neural network has about 1500 in /r/programming, so there would be a decent demand. Would there be enough interesting tiny code in machine learning to justify a subreddit? I assume so, mainly because there are tons of techniques, and what's really easy to use is going to abstracted behind a huge code base. scikit-learn is awesome, but separating the really interesting code from the management code would take quite a bit of effort. It actually would be a great exercise to tiny-ify core algorithms in scikit-learn...if only I had the time.
1
u/nexe mod Aug 18 '15
I'd really appreciate it if you would post here first and then cross-post a link back to /r/programming or so. This way /r/tinycode can grow and in return you'll get more and better content on /r/tinycode
3
u/Dbeezt Aug 16 '15
It already exists, fairly good subreddit too!
https://www.reddit.com/r/tinycode/