Why are most machine learning models (not frameworks) written in Python? Even through almost any programming language can be used for machine learning?
Why are most machine learning models (not frameworks) written in Python? Even through almost any programming language can be used for machine learning?
Also a lot of data scientists aren’t really programmers. They just learned Python to do data science. Learning a new language for this purpose would be both very difficult and, in their eyes, often unnecessary.
I once had dinner with a Stanford professor, years back, who was talking about the fact that he liked teaching in Python because he spent way less time teaching the language and more the higher level stuff that he was actually trying to get across than when he was using C++. Lower barrier to entry for new users. I’d guess that probably in the intervening years, a lot of classes have decided to use it for similar reasons. If you want to teach, I dunno, signal processing and your students maybe don’t have a great handle on the language yet, you want to be spending time on the signal processing stuff, not on language concepts.
This was infuriating to me when I started college as a CS major. I dropped out after Intro because they weren’t giving us anything worth remembering.