Training an online logistic regression model using Apache Mahout
In this recipe, we will use Apache Mahout to train an online logistic regression model using Apache Mahout Java library.
Getting ready
- In Eclipse, create a new Maven project. The author had Eclipse Mars set up. To do so, go to File. Then select New and Other...:
- Then, expand Maven from the wizard and select Maven Project. Click on Next until you reach the window where Eclipse prompts you to provide an Artifact Id. Type in
mahout
as Artifact Id, and the grayed out Finish button will become visible. Click on Finish. This will create a Maven project for you named mahout: - Double-click ...
Get Java Data Science Cookbook now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.