Python Machine Learning By Example

Take tiny steps to enter the big world of data science through this interesting guide
Preview in Mapt

Python Machine Learning By Example

Yuxi (Hayden) Liu

4 customer reviews
Take tiny steps to enter the big world of data science through this interesting guide
Mapt Subscription
FREE
$29.99/m after trial
eBook
$28.00
RRP $39.99
Save 29%
Print + eBook
$49.99
RRP $49.99
What do I get with a Mapt Pro subscription?
  • Unlimited access to all Packt’s 5,000+ eBooks and Videos
  • Early Access content, Progress Tracking, and Assessments
  • 1 Free eBook or Video to download and keep every month after trial
What do I get with an eBook?
  • Download this book in EPUB, PDF, MOBI formats
  • DRM FREE - read and interact with your content when you want, where you want, and how you want
  • Access this title in the Mapt reader
What do I get with Print & eBook?
  • Get a paperback copy of the book delivered to you
  • Download this book in EPUB, PDF, MOBI formats
  • DRM FREE - read and interact with your content when you want, where you want, and how you want
  • Access this title in the Mapt reader
What do I get with a Video?
  • Download this Video course in MP4 format
  • DRM FREE - read and interact with your content when you want, where you want, and how you want
  • Access this title in the Mapt reader
$0.00
$28.00
$49.99
$29.99 p/m after trial
RRP $39.99
RRP $49.99
Subscription
eBook
Print + eBook
Start 14 Day Trial

Frequently bought together


Python Machine Learning By Example Book Cover
Python Machine Learning By Example
$ 39.99
$ 28.00
Artificial Intelligence with Python Book Cover
Artificial Intelligence with Python
$ 39.99
$ 28.00
Buy 2 for $35.00
Save $44.98
Add to Cart

Book Details

ISBN 139781783553112
Paperback254 pages

Book Description

Data science and machine learning are some of the top buzzwords in the technical world today. A resurging interest in machine learning is due to the same factors that have made data mining and Bayesian analysis more popular than ever. This book is your entry point to machine learning.

This book starts with an introduction to machine learning and the Python language and shows you how to complete the setup. Moving ahead, you will learn all the important concepts such as, exploratory data analysis, data preprocessing, feature extraction, data visualization and clustering, classification, regression and model performance evaluation. With the help of various projects included, you will find it intriguing to acquire the mechanics of several important machine learning algorithms – they are no more obscure as they thought. Also, you will be guided step by step to build your own models from scratch. Toward the end, you will gather a broad picture of the machine learning ecosystem and best practices of applying machine learning techniques.

Through this book, you will learn to tackle data-driven problems and implement your solutions with the powerful yet simple language, Python. Interesting and easy-to-follow examples, to name some, news topic classification, spam email detection, online ad click-through prediction, stock prices forecast, will keep you glued till you reach your goal.

Table of Contents

Chapter 1: Getting Started with Python and Machine Learning
What is machine learning and why do we need it?
A very high level overview of machine learning
A brief history of the development of machine learning algorithms
Generalizing with data
Overfitting, underfitting and the bias-variance tradeoff
Avoid overfitting with feature selection and dimensionality reduction
Preprocessing, exploration, and feature engineering
Combining models
Installing software and setting up
Troubleshooting and asking for help
Summary
Chapter 2: Exploring the 20 Newsgroups Dataset with Text Analysis Algorithms
What is NLP?
Touring powerful NLP libraries in Python
The newsgroups data
Getting the data
Thinking about features
Visualization
Data preprocessing
Clustering
Topic modeling
Summary
Chapter 3: Spam Email Detection with Naive Bayes
Getting started with classification
Types of classification
Applications of text classification
Exploring naive Bayes
Bayes' theorem by examples
The mechanics of naive Bayes
The naive Bayes implementations
Classifier performance evaluation
Model tuning and cross-validation
Summary
Chapter 4: News Topic Classification with Support Vector Machine
Recap and inverse document frequency
Support vector machine
News topic classification with support vector machine
More examples - fetal state classification on cardiotocography with SVM
Summary
Chapter 5: Click-Through Prediction with Tree-Based Algorithms
Brief overview of advertising click-through prediction
Getting started with two types of data, numerical and categorical
Decision tree classifier
Click-through prediction with decision tree
Random forest - feature bagging of decision tree
Summary
Chapter 6: Click-Through Prediction with Logistic Regression
One-hot encoding - converting categorical features to numerical
Logistic regression classifier
Click-through prediction with logistic regression by gradient descent
Feature selection via random forest
Summary
Chapter 7: Stock Price Prediction with Regression Algorithms
Brief overview of the stock market and stock price
What is regression?
Predicting stock price with regression algorithms
Summary
Chapter 8: Best Practices
Machine learning workflow
Best practices in the data preparation stage
Best practices in the training sets generation stage
Best practices in the model training, evaluation, and selection stage
Best practices in the deployment and monitoring stage
Summary

What You Will Learn

  • Exploit the power of Python to handle data extraction, manipulation, and exploration techniques
  • Use Python to visualize data spread across multiple dimensions and extract useful features
  • Dive deep into the world of analytics to predict situations correctly
  • Implement machine learning classification and regression algorithms from scratch in Python
  • Be amazed to see the algorithms in action
  • Evaluate the performance of a machine learning model and optimize it
  • Solve interesting real-world problems using machine learning and Python as the journey unfolds

Authors

Table of Contents

Chapter 1: Getting Started with Python and Machine Learning
What is machine learning and why do we need it?
A very high level overview of machine learning
A brief history of the development of machine learning algorithms
Generalizing with data
Overfitting, underfitting and the bias-variance tradeoff
Avoid overfitting with feature selection and dimensionality reduction
Preprocessing, exploration, and feature engineering
Combining models
Installing software and setting up
Troubleshooting and asking for help
Summary
Chapter 2: Exploring the 20 Newsgroups Dataset with Text Analysis Algorithms
What is NLP?
Touring powerful NLP libraries in Python
The newsgroups data
Getting the data
Thinking about features
Visualization
Data preprocessing
Clustering
Topic modeling
Summary
Chapter 3: Spam Email Detection with Naive Bayes
Getting started with classification
Types of classification
Applications of text classification
Exploring naive Bayes
Bayes' theorem by examples
The mechanics of naive Bayes
The naive Bayes implementations
Classifier performance evaluation
Model tuning and cross-validation
Summary
Chapter 4: News Topic Classification with Support Vector Machine
Recap and inverse document frequency
Support vector machine
News topic classification with support vector machine
More examples - fetal state classification on cardiotocography with SVM
Summary
Chapter 5: Click-Through Prediction with Tree-Based Algorithms
Brief overview of advertising click-through prediction
Getting started with two types of data, numerical and categorical
Decision tree classifier
Click-through prediction with decision tree
Random forest - feature bagging of decision tree
Summary
Chapter 6: Click-Through Prediction with Logistic Regression
One-hot encoding - converting categorical features to numerical
Logistic regression classifier
Click-through prediction with logistic regression by gradient descent
Feature selection via random forest
Summary
Chapter 7: Stock Price Prediction with Regression Algorithms
Brief overview of the stock market and stock price
What is regression?
Predicting stock price with regression algorithms
Summary
Chapter 8: Best Practices
Machine learning workflow
Best practices in the data preparation stage
Best practices in the training sets generation stage
Best practices in the model training, evaluation, and selection stage
Best practices in the deployment and monitoring stage
Summary

Book Details

ISBN 139781783553112
Paperback254 pages
Read More
From 4 reviews

Read More Reviews

Recommended for You

Artificial Intelligence with Python Book Cover
Artificial Intelligence with Python
$ 39.99
$ 28.00
Python Deep Learning Book Cover
Python Deep Learning
$ 43.99
$ 30.80
Python Data Analysis - Second Edition Book Cover
Python Data Analysis - Second Edition
$ 39.99
$ 28.00
Learning Predictive Analytics with Python Book Cover
Learning Predictive Analytics with Python
$ 39.99
$ 28.00
Python: End-to-end Data Analysis Book Cover
Python: End-to-end Data Analysis
$ 71.99
$ 50.40
Deep Learning with TensorFlow Book Cover
Deep Learning with TensorFlow
$ 39.99
$ 28.00