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

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.

3

u/remixrotation Oct 02 '17

was looking for some materials on this subject. thanks a lot!

1

u/turunambartanen Oct 02 '17

I'm on the official reddit app (android). How can I save this post?

I can save this comment. That will have to do lol.

6

u/[deleted] Oct 02 '17

The save icon is hidden because its color is same as the back ground image (white). You can just tap where the save icon should be.

3

u/selbstadt Oct 02 '17

Change the theme to night/dark mode 😌

Who uses light mode anyways :P

Edit: misspelled mode as nude :V

1

u/lechatsportif Oct 02 '17

BaconReader fan here, can do all you want and more. Not the sexiest client, but very stable and functional.