Applying an online logistic regression model using Apache Mahout
In this recipe, we will demonstrate how you can apply an online logistic regression model on unseen, unlabeled test data using Apache Mahout. Note that this recipe is very closely related to the previous recipe and requires you to build a model using training data. This requirement is demonstrated in the previous recipe.
- After completing the previous recipe, go to the project folder that you created, and go inside the directory named
modelthat you created in the last recipe. You should see a
- Next, create a test file. Go to the
datafolder that you created in your project folder in the last recipe. Create a test file named