3 ms·
I don't think you should learn a language for machine learning. Learn algorithms and techniques. In particular, C++ and Java aren't different enough from each
by AnimalMuppet 9y ago
I don't think you should learn a language for machine learning. Learn algorithms and techniques.
In particular, C++ and Java aren't different enough from each other that one is going to have a big edge over the other in machine learning. An algorithm that can be implemented in one can be implemented in the other, without a radical difference in code size, development time, or execution speed. Java may be slightly easier due to the possibility of running off the end of arrays, and following uninitialized or stale pointers, but you're not supposed to write C++ that way any longer. It's much easier with C++11/14 style coding.
(There may be differences in availability of useful libraries between C++ and Java, which may be what you're really asking. I don't know enough to answer that.)