Have a personal or library account? Click to login
Mastering Machine Learning with scikit-learn Cover

Mastering Machine Learning with scikit-learn

Apply effective learning algorithms to real-world problems using scikit-learn

Paid access
|Sep 2025
Product purchase options

Use scikit-learn to apply machine learning to real-world problems

Key Features

  • Master popular machine learning models including k-nearest neighbors, random forests, logistic regression, k-means, naive Bayes, and artificial neural networks
  • Learn how to build and evaluate performance of efficient models using scikit-learn
  • Practical guide to master your basics and learn from real life applications of machine learning

Book Description

Machine learning is the buzzword bringing computer science and statistics together to build smart and efficient models. Using powerful algorithms and techniques offered by machine learning you can automate any analytical model.

This book examines a variety of machine learning models including popular machine learning algorithms such as k-nearest neighbors, logistic regression, naive Bayes, k-means, decision trees, and artificial neural networks. It discusses data preprocessing, hyperparameter optimization, and ensemble methods. You will build systems that classify documents, recognize images, detect ads, and more. You will learn to use scikit-learn’s API to extract features from categorical variables, text and images; evaluate model performance, and develop an intuition for how to improve your model’s performance.

By the end of this book, you will master all required concepts of scikit-learn to build efficient models at work to carry out advanced tasks with the practical approach.

What you will learn

  • Review fundamental concepts such as bias and variance
  • Extract features from categorical variables, text, and images
  • Predict the values of continuous variables using linear regression and K Nearest Neighbors
  • Classify documents and images using logistic regression and support vector machines
  • Create ensembles of estimators using bagging and boosting techniques
  • Discover hidden structures in data using K-Means clustering
  • Evaluate the performance of machine learning systems in common tasks

Who this book is for

This book is intended for software engineers who want to understand how common machine learning algorithms work and develop an intuition for how to use them, and for data scientists who want to learn about the scikit-learn API. Familiarity with machine learning fundamentals and Python are helpful, but not required.

Table of Contents

  1. The Fundamentals of Machine Learning
  2. Simple linear regression
  3. Classification and Regression with K Nearest Neighbors
  4. Feature Extraction and Preprocessing
  5. From Simple Regression to Multiple Regression
  6. From Linear Regression to Logistic Regression
  7. Naive Bayes
  8. Nonlinear Classification and Regression with Decision Trees
  9. From Decision Trees to Random Forests, and other Ensemble Methods
  10. The Perceptron
  11. From the Perceptron to Support Vector Machines
  12. From the Perceptron to Artificial Neural Networks
  13. Clustering with K-Means
  14. Dimensionality Reduction with Principal Component Analysis
PDF ISBN: 978-1-78829-849-0
Publisher: Packt Publishing Limited
Copyright owner: © 2017 Packt Publishing Limited
Publication date: 2025
Language: English
Pages: 254