Linear Regression
The dataset that we'll use for this recipe, for lack of creativity, is lifted from the UCI website at http://archive.ics.uci.edu/ml/machine-learning-databases/wine-quality/. This dataset has 1599 instances of various red wines, their chemical composition, and their quality. We'll use it to predict the quality of a red wine.
- Creating
LabeledPoint
- Preparing the training and test data.
- Scaling the features.
- Training the model.
- Predicting against the test data.
- Evaluating the model.
- Regularizing the parameters.
- Mini batching.