×

Hands-on Machine Learning with Scikit-Learn, TensorFlow, and Keras

"Hands-On Machine Learning with Scikit-Learn and TensorFlow Keras" by Aurélien Géron is the best for you if you're comfortable with Python coding and want a fast introduction to both traditional and deep learning techniques in Python from an experienced practitioner.

Nearly little prior knowledge of machine learning is assumed throughout the book. It employs Python frameworks prepared for usage in production, including Tensorflow, Keras, and Scikit Learn.

Hands-on Machine Learning with Scikit-Learn, TensorFlow, and Keras

Through several working examples and a small amount of theory, the author emphasizes a practical approach. Although for using this book you need to have a little bit of a premise of certain topics like Python programming, knowledge and understanding of Pandas, Matplotlib, and NumPy, and certain levels of mathematics that include statistics, linear algebra, probability, and calculus.

Content of the book

  1. The Machine Learning Landscape
  2. End-to-End Machine Learning Project
  3. Classification
  4. Training Models
  5. Support Vector Machines
  6. Decision Trees
  7. Ensemble Learning and Random Forests
  8. Dimensionality Reduction
  9. Unsupervised Learning Techniques

1. The Machine Learning Landscape

In this chapter of the book you will learn about the following things:

  • What is Machine Learning?
  • Why do we use Machine Learning?
  • Application of Machine Learning
  • Machine Learning algorithm types like instance-based versus model-based learning and Supervised versus Unsupervised Learning
  • Practical Examples, so that you will enhance your practical skill
  • Challenges of using machine learning.

2. End-to-End Machine Learning Project

As we move forward to the next chapter we will focus on working on real-life projects, where we will pretend that we have the data of a real estate company.

Roughly you will follow these steps:

  • Defining the issue & taking a broad view
  • Getting the Data
  • Exploring the Data
  • Preparing the Data
  • Shortlisting the models
  • Tuning your model
  • Presentation of the solution
  • Launch of the model
  • Maintenance of the solution
Hands-on Machine Learning with Scikit-Learn, TensorFlow, and Keras

3. Classification

MNIST will be used for categorization in this chapter. 70,000 tiny pictures, or "MNIST" data, represent handwritten digits by students and staff of the US Census Bureau. The digit each image represents is written next to it (ranging from 0 to 9).

Scikit-learn offers a number of assistance tools for downloading well-liked datasets.

Hands-on Machine Learning with Scikit-Learn, TensorFlow, and Keras

4. Training Models

Beginning in this chapter, we will examine linear regression training from two alternative perspectives:

  • obtaining the ideal parameters for the linear model using a straightforward, "closed-form," analytical technique.
  • utilizing the gradient descent method of interactive optimization.

Model parameters are gradually adjusted by GD until they match those discovered by Technique 1's method. We will examine several variations of gradient descent, including stochastic, batch, and mini-batch GD.

In the next section, we'll examine polynomial regression models, which may be used to fit non-linear datasets. Then, we'll take a look at a few regularisation strategies that may be used to lessen the overfitting that is frequently observed in polynomial models.

We will now examine two prominent methods for classification tasks: softmax regression and logistic regression.

Hands-on Machine Learning with Scikit-Learn, TensorFlow, and Keras

5. Support Vector Machines

A strong and versatile machine learning model, SVM may be used for classification, regression, and even outlier identification.

Complex small-to-medium-sized datasets are very well suited for SVMs. The fundamental ideas of SVMs, as well as how they function and are used, are covered in this chapter.

Hands-on Machine Learning with Scikit-Learn, TensorFlow, and Keras

6. Decision Trees

We will first go through decision tree training, validation, and prediction in this chapter.

The Scikit-Learn CART training algorithm will next be covered. We'll go through regularising trees and applying them to regression challenges. Finally, we will talk about some decision tree constraints.

Hands-on Machine Learning with Scikit-Learn, TensorFlow, and Keras

7. Ensemble Learning and Random Forests

Imagine that we survey thousands of people with a random question, then compile their responses. We frequently discover that this collective response is superior to an answer from a subject matter expert (really). The wisdom of the multitude refers to this.

Similarly to this, we frequently obtain better predictions than the best individual predictor if we combine the predictions of several models (such as classifiers or regressors).

An ensemble of predictors is a collection of them. As a result, this method is referred to as ensemble learning, and an algorithm for ensemble learning is referred to as an ensemble method.

We may train several decision tree classifiers as an illustration of an ensemble technique, with each classifier using a random portion of the training data. The term "random forest" refers to this collection of decision trees.

The most well-known ensemble learning techniques, including bagging, boosting, and stacking, will be covered in this chapter.

Hands-on Machine Learning with Scikit-Learn, TensorFlow, and Keras

8. Dimensionality Reduction

This chapter will cover the following topics:

  • Curse of dimensionality
  • Understanding of high-dimensional space
  • Dimensionality reduction approaches: Projection and Manifold Learning
  • Dimensionality reduction techniques: LLE, PCA, and Kernel PCA.
Hands-on Machine Learning with Scikit-Learn, TensorFlow, and Keras

9. Unsupervised Learning Techniques

We will examine two unsupervised learning tasks in this chapter:

  • Clustering
  • Anomaly Detection
Hands-on Machine Learning with Scikit-Learn, TensorFlow, and Keras

Related Topics

Genetic Algorithm in Machine Learning

Genetic algorithm Genetic algorithms are basically search algorithms that are different from conventional search algorithms. Compared to conventional search algorithms, it is based on Darwin's theory of evolution. It is used to...

3 minutes read.

Machine Learning and Neural Networks

In the area of computer science known as "machine learning," statistical methods are used to enable computer systems to "learn" from data and so gradually improve their performance on a...

7 minutes read.

Python Anaconda setup

Python programming language is used in this tutorial to get hands-on machine learning. A compatible IDE (Integrated Development Environment) is needed to be installed on the computer system before using...

3 minutes read.

Top 5 programming languages and their libraries for Machine Learning

In this data-driven era, Artificial Intelligence and Machine Learning are combined in every business. Machine learning-based solutions are used to increase the speed. There are many programming languages available for...

3 minutes read.

Naïve Bayes Algorithm in Machine Learning

Introduction to Naïve Bayes Algorithm in Machine Learning The Naïve Bayes algorithm is a classification algorithm that is based on the Bayes Theorem, such that it assumes all the predictors are independent of...

7 minutes read.

Association Rule Learning Algorithm

Introduction to Association Rule Learning Association rule learning extracts alliances among the datapoints in a huge dataset. It incorporates the concept of data mining, which helps in finding useful commercial associations or regularities between the...

3 minutes read.

Azure Machine Learning

Machine learning algorithms are powerful methods and techniques which are high in terms of probability and used to give computers high power to compute the solution for large numbers of...

3 minutes read.

Feature Selection in Machine Learning

Feature selection Feature selection is the methodology of selecting some particular dataset instead of all the datasets, which is relevant to reducing the noise of machine learning models. In the machine...

3 minutes read.

Support Vector Machines

Introduction to SVM Support Vector Machines are part of the supervised learning model with an associated learning algorithm. It is the most powerful and flexible algorithm used for classification, regression, and...

8 minutes read.

Linear Regression in Machine learning

What is Linear Regression? Linear regression is the most important statistical algorithm in machine learning to learn the correlation between a dependent variable and one or more independent features. So, we...

13 minutes read.

Feature engineering for Machine Learning

Machine Learning is one of the most used modern technologies in our world. Machine Learning helps human a lot to do their jobs at ease. Feature engineering is an important...

6 minutes read.

Top 10 Books on Machine Learning

If you are looking to explore some new domains in engineering field then you may like ML or Machine Learning. The popularity of Machine Learning is increasing gradually day by...

5 minutes read.

Diabetes Prediction using Machine Learning

Diabetes Mellitus (shortly known as Diabetes) is one of the fastest-growing diseases. Nowadays, many people are affected with diabetes for many reasons, irrespective of age. Recently, many people who belong...

6 minutes read.

Decision Trees in Machine Learning

Introduction to Decision Trees Decision trees are one of the most powerful classification algorithm that falls under supervised learning-based algorithms. It is used as a tool for making predictions and can...

6 minutes read.

K-means clustering Algorithm

Introduction to K-means clustering K-mean clustering comes under the unsupervised based learning, is a process of splitting an unlabeled dataset into the clusters based on some similarity patterns present in the data. Given...

9 minutes read.

AWS Machine Learning Certification

In the technical world, you must have heard the name of AWS. Its full form is Amazon Web Services. What is AWS (Amazon Web Services)? You must have heard about cloud technology....

3 minutes read.

Feature Extraction in Machine Learning

With the advancement of technology in the databases, everyone can store a vast amount of data with hundreds of thousands of features these days. Features contain information about the dependent...

4 minutes read.

KNN algorithm in Machine Learning

Machine Learning is one of the most used modern technologies in our world. Machine Learning helps human a lot to do their jobs at ease. Today almost every big tech...

7 minutes read.

Difference between AI/ ML/ Deep Learning

Nowadays, people are very much confused with the terms artificial intelligence, machine learning, and deep learning. For them, it seems to be that all these three concepts are the same,...

11 minutes read.

Heart Disease Prediction Using Machine Learning

The world uses machine learning in many different fields. This is also true in the healthcare sector. Machine learning may be crucial in determining if locomotor disorders, heart illnesses, and...

12 minutes read.