2 ms·
My limited experience taught me that doing anything mathy in Java is painful due to types (well, more lack of math-specific built-in types). The input/output i
by mywittyname 8y ago
My limited experience taught me that doing anything mathy in Java is painful due to types (well, more lack of math-specific built-in types). The input/output is usually going to be in primitive types while the library likely uses some home-brew custom typing(or Commons, if you're lucky) for Complex numbers, matrices, etc. So you have to do the type conversion song-and-dance.
The Python libraries never seem to care. Just give them a list of a list of number-ish values and off they go.
Java might have some great ML/Math libraries, but the fact that Python dominates data science suggests that my experience is a real-world pain-point.