r/datascience • • Dec 26 '18

Projects 🤖Python examples of popular machine learning algorithms with interactive Jupyter demos and math being explained

https://github.com/trekhleb/homemade-machine-learning
282 Upvotes

19 comments sorted by

View all comments

2

u/coffeecoffeecoffeee MS | Data Scientist Dec 26 '18

This is great! Thanks for posting! Is there any reason why you use your own method implementations, instead of off-the-shelf ones? I'd love to see a version of this with scikit-learn functions.

4

u/trekhleb Dec 26 '18

Yes, SciPy (or Keras or Tensorflow) versions are the next in line. The only reason I'm using custom implementation is to actually learn algorithms from the inside. Thus the code in the repo is for learning purpose rather than for production.

2

u/coffeecoffeecoffeee MS | Data Scientist Dec 26 '18

Makes sense. It’s also easy to read your code based on what I’ve skimmed.

1

u/trekhleb Dec 26 '18

Great! Nice to hear that!