Live data from Hacker News

Machine Learning from scratch: Bare bones implementations in Python

github.com

1–10 of 67 posts

Re: Machine Learning from scratch: Bare bones implementations in Python

#2
One quick comment: in general it is a bad idea to compute the inverse of a matrix (to solve a linear system). It's much better to compute the QR factorization or SVD instead (or simply call least square solver).

See for example: https://www.johndcook.com/blog/2010/01/19/dont-invert-that-m...

Re: Machine Learning from scratch: Bare bones implementations in Python

#5
post #2

One quick comment: in general it is a bad idea to compute the inverse of a matrix (to solve a linear system). It's much better to compute the QR factorization or SVD instead (or simply call least square solver). See for example: https://www.johndcook.com/blog/2010/01/19/dont-invert-that-m...

Thank you for the feedback. :) I plan on fixing this soon!

Re: Machine Learning from scratch: Bare bones implementations in Python

#6
Nice! I have started brushing up my maths and reading about machine learning in general. Next step is to get my feet wet in the implementation. I think looking at your project can give me a good idea as to how to implement some of the most basic algorithms. Good luck!

Re: Machine Learning from scratch: Bare bones implementations in Python

#7
post #6

Nice! I have started brushing up my maths and reading about machine learning in general. Next step is to get my feet wet in the implementation. I think looking at your project can give me a good idea as to how to implement some of the most basic algorithms. Good luck!

Awesome! :) Doing the nitty-gritty has been a great way of learning the limitations and benefits of using certain models for a given task. Good luck to you as well!

Re: Machine Learning from scratch: Bare bones implementations in Python

#9
post #8

Cool! How long did it take to learn and implement these models?

I have taken some ML courses during my university studies and have also done some model implementations in other programming languages. So I didn't have to start from scratch. But I have been working on this project for about three weeks now.
Post reply on HN