Machine Learning

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 ...

Get Python Data Science Essentials - Third Edition now with O’Reilly online learning.

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