In this recipe, we will use the wine quality dataset from UCI and Spark's streaming linear regression algorithm from MLlib to predict the quality of a wine based on a group of wine features.
The difference between this recipe and the traditional regression recipes we saw before is the use of Spark ML streaming to score the quality of the wine in real time using a linear regression model.