×

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

Chi-Square Test in Machine Learning

A statistical technique called the chi-square test is used to compare actual outcomes to predictions. This test aims to determine if a discrepancy between actual and projected data is caused...

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

Kaggle Machine Learning Project

What is Kaggle? Data scientists and machine learning enthusiasts connect online at Kaggle. Users of Kaggle can work together, access and share datasets, use notebooks with GPU integration, and compete with...

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

Overfitting and Underfitting in Machine Learning

We actually talk about prediction errors, which are a measure of a machine learning model's performance and accuracy. Think about the possibility that we are developing a machine learning model....

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

What is Cross Compiler?

The programs are run through compilers, which change them from text to executable format. The same computer code cannot be transported across numerous systems once a program has been compiled...

4 minutes read.

Best Python Libraries for Machine Learning

Machine Learning is an important technology in modern days. It helps us to do the things which were not possible in previous days. If you have interest in Machine Learning...

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

Machine Learning Engineer Salary in Different Organisation

We are very familiar with the word Machine Learning nowadays. Machine Learning technologies are used everywhere. Many IT companies use this type of technologies to improve their product. This branch...

3 minutes read.

Student Performance Prediction Using Machine Learning

Machine learning is a powerful tool that can be used to analyze and make predictions about student performance. One of the key advantages of using machine learning for student performance...

11 minutes read.

Machine Learning Techniques

In today's world, we are surrounded by machines and different types of gadgets. Machine learning is a technique which prepares machines to think and learn. In modern days machine learning...

6 minutes read.

Top Machine Learning Jobs

Machine Learning is an important part in many industries. Many companies in different sectors use Machine Learning techniques to improve their production rate and quality. In present days, Machine Learning...

4 minutes read.

Pattern Recognition and Machine Learning a MATLAB Companion

The cognitive process that occurs in the brain when it compares the information that we see with the information stored in our memories is called pattern recognition. It is what...

10 minutes read.

Random Forest Algorithm for Machine Learning

Introduction to Random Forest Random forest is an ensemble-based supervised learning model. The concept of random forest is used in both classifications as well as in the regression problems. Basically, in...

7 minutes read.

Boosting in Machine Learning

Machine Learning and Artificial Intelligence are one of the major modern technologies. In Machine Learning, we mainly develop a model by a Machine Learning algorithm which can predict something. In...

3 minutes read.

Regularization in Machine Learning

We are very familiar with the word Machine Learning nowadays. Machine Learning technologies are used in everywhere. Many IT companies use this type of technologies to improve their product. In...

3 minutes read.

Machine Learning Clustering Algorithm

Introduction to ML Clustering Algorithm Clustering falls under unsupervised learning methods. In this, the machine is provided with a set of unlabeled data, and the machine is required to extract the structure from...

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

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.