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?
Because they’re all copying each other’s homework?
This, but without the implication it’s cheating. As someone who’s both a software engineer and trains ML models, choosing a language that’s commonly used for the general task area you’re tackling (ML or not) is very useful. If it’s popular for the task area you’ll have a lot of references for how to solve problems, you can find and use libraries designed and demonstrated for similar tasks, and yes, you can cut and paste code snippets.
Almost every language is capable of doing anything, and software engineers regularly use multiple languages in the course of their work. Libraries and support are a big deal in deciding which to use, and will often be more important than your personal language familiarity/preference.
we were specifically taught in school to not write something that’s already been written, we all build upon each other’s work, literally going back thousands of years when you consider the importance of the math that underpins all of it.