© Butch Quinto 2020
Butch QuintoNext-Generation Machine Learning with Sparkhttps://doi.org/10.1007/978-1-4842-5669-5_3

3. Supervised Learning

Butch Quinto
Carson, CA, USA
The surest kind of knowledge is what you construct yourself.
—Judea Pearli
Supervised learning is a machine learning task that makes prediction using a training dataset. Supervised learning can be categorized into either classification or regression. Regression is for predicting continuous values such as price, temperature, or distance, while classification is for predicting categories such as yes or no, spam or not spam, or malignant or benign.


Classification is perhaps the most common supervised machine learning task. You most likely have already encountered ...

Get Next-Generation Machine Learning with Spark: Covers XGBoost, LightGBM, Spark NLP, Distributed Deep Learning with Keras, and More now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.