Having illustrated all the data preparation steps in a data science project, we have finally arrived at the learning phase, where learning algorithms are applied. To introduce you to the most effective machine learning tools that are readily available in scikit-learn and in other Python packages, we have prepared a brief introduction to all the major families of algorithms. We completed it with examples and tips on the hyper-parameters that guarantee the best possible results.
In this chapter, we will present the following topics:
- Linear and logistic regression
- Naive Bayes
- K-Nearest Neighbors (k-NN)
- Support Vector Machines (SVM)
- Ensemble solutions
- Bagged and boosted classifiers
- Stochastic gradient-based classification and regression for big data
- Unsupervised clustering with K-means and DBSCAN
Neural networks and deep learning, instead, will be dealt with in...