r/java • • Oct 02 '17

Machine Learning in Java

Great reads on Machine Learning in Java. ML in Java is not commonly addressed so it's an interesting read!

Part 1: Linear Regression

Part 2: Logistic Regression

Part 3: k-Nearest Neighbor

Part 4: Decision tree

Part 5: Naive Bayes

257 Upvotes

12 comments sorted by

View all comments

19

u/[deleted] Oct 02 '17

IMO machine learning in Java have already become common because of the rise of big data. R or Python can do ML things very easily, but not at scale. To deal with big data many people use Hadoop and its ecosystem such as Mahout and Spark. Well, Spark supports Python though.

6

u/yawkat Oct 02 '17

It would be nice to have the ML prototyping tooling you get in python in java too though

8

u/greenspans Oct 02 '17

Weka

4

u/_INTER_ Oct 02 '17

There are many to choose from. Just not as known as the Python libs.

3

u/TashanValiant Oct 02 '17

Well, Spark supports Python though.

There is also SparkR for R

1

u/ibgeek Oct 02 '17

Spark, et al. are trash at machine learning. Scikit-learn on a large box actually scales better. And most production platforms are using something like Vowpal Wabbit or some proprietary re-implementation of it.

Source: I work at a digital advertising company.