0
Can we use JAVA for Machine Learning? I often hear python is the best language for ML, but I wonder why JAVA couldn't be so...
2 Respostas
+ 3
We know AI projects cannot be maintained using one single programming language. However, if you ask us Java or Python for AI, it is Python ! Python is more suitable for machine learning, artificial intelligence and data science.. AI developers prefer Python over Java because of its ease of use, accessibility and simplicity.
Java has a better performance than Python but Python requires lesser code and can compile even when there are bugs in your code. On the other hand, Java handles concurrency better than Python. One of the main reasons why Python is widely used is its ease to adopt for people who are beginners. It is also more suited for quick prototyping. In short,h Python is preferred over Java for AI projects including developer productivity, language flexibility, library support, community support, and ease of learning.
+ 1
The reason python is popular for data science and machine learning is that there are great third party modules available that cover pretty much everything you need for ds and ml.
I don't know to what extent java has that.