## Book description

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

**About This Book**

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

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

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

**In Detail**

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.

**Style and approach**

This book is motivated by the belief that you do not understand something until you can describe it simply. Work through toy problems to develop your understanding of the learning algorithms and models, then apply your learnings to real-life problems.

## Publisher resources

## Table of contents

- Preface
- The Fundamentals of Machine Learning
- Simple Linear Regression
- Classification and Regression with k-Nearest Neighbors
- Feature Extraction
- From Simple Linear Regression to Multiple Linear Regression
- From Linear Regression to Logistic Regression
- Naive Bayes
- Nonlinear Classification and Regression with Decision Trees
- From Decision Trees to Random Forests and Other Ensemble Methods
- The Perceptron
- From the Perceptron to Support Vector Machines
- From the Perceptron to Artificial Neural Networks
- K-means
- Dimensionality Reduction with Principal Component Analysis

## Product information

- Title: Mastering Machine Learning with scikit-learn - Second Edition
- Author(s):
- Release date: July 2017
- Publisher(s): Packt Publishing
- ISBN: 9781788299879

## You might also like

book

### Python Machine Learning

Python makes machine learning easy for beginners and experienced developers With computing power increasing exponentially and …

book

### Feature Engineering Made Easy

A perfect guide to speed up the predicting power of machine learning algorithms About This Book …

book

### Python Feature Engineering Cookbook

Extract accurate information from data to train and improve machine learning models using NumPy, SciPy, pandas, …

book

### Statistics for Machine Learning

Build Machine Learning models with a sound statistical understanding. About This Book Learn about the statistics …