Search icon CANCEL
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Artificial Intelligence with Python Cookbook

You're reading from   Artificial Intelligence with Python Cookbook Proven recipes for applying AI algorithms and deep learning techniques using TensorFlow 2.x and PyTorch 1.6

Arrow left icon
Product type Paperback
Published in Oct 2020
Publisher Packt
ISBN-13 9781789133967
Length 468 pages
Edition 1st Edition
Languages
Tools
Arrow right icon
Authors (2):
Arrow left icon
Ritesh Kumar Ritesh Kumar
Author Profile Icon Ritesh Kumar
Ritesh Kumar
Ben Auffarth Ben Auffarth
Author Profile Icon Ben Auffarth
Ben Auffarth
Arrow right icon
View More author details
Toc

Table of Contents (13) Chapters Close

Preface 1. Getting Started with Artificial Intelligence in Python 2. Advanced Topics in Supervised Machine Learning FREE CHAPTER 3. Patterns, Outliers, and Recommendations 4. Probabilistic Modeling 5. Heuristic Search Techniques and Logical Inference 6. Deep Reinforcement Learning 7. Advanced Image Applications 8. Working with Moving Images 9. Deep Learning in Audio and Speech 10. Natural Language Processing 11. Artificial Intelligence in Production 12. Other Books You May Enjoy

What this book covers

Chapter 1, Getting Started with Artificial Intelligence in Python, describes a basic setup with Python for data crunching and AI. We'll perform data loading in pandas, plotting, and writing first models in scikit-learn and Keras. Since data preparation is such a time-consuming activity, we will present state-of-the-art techniques to facilitate this activity.

Chapter 2, Advanced Topics in Supervised Machine Learning, explains how to deal with common issues in supervised machine learning problems, such as class imbalance, time series, and dealing with algorithmic bias.

Chapter 3, Patterns, Outliers, and Recommendations, goes through an example involving clustering in real-world situations, and how to detect anomalies and outliers in data using sklearn and Keras. Then we will cover how to build a nearest neighbor search for fuzzy string matching, collaborative filtering by building a latent space, and fraud detection in a graph network.

Chapter 4, Probabilistic Modeling, explains how to build probabilistic models for predicting stock prices, and how we estimate customer lifetimes, diagnose a disease, and quantify credit risk under conditions of uncertainty.

Chapter 5, Heuristic Search Techniques and Logical Inference, introduces a broad class of problem solving tools, starting with ontologies and knowledge-based reasoning, through to optimization in the context of satisfiability, and combinatorial optimization with methods such as Particle Swarm Optimization, a genetic algorithm. We will simulate the spread of a pandemic in a multi-agent system, implement a Monte-Carlo tree search for a chess engine, we'll write a basic logic solver, and we'll embed knowledge through a graph algorithm.

Chapter 6, Deep Reinforcement Learning, applies multi-armed bandits to website optimization, and implements the REINFORCE algorithm for control tasks and a deep Q network for a simple game.

Chapter 7, Advanced Image Applications, takes you on a journey from more basic to state-of-the-art approaches in image recognition. We'll then learn how to create image samples using generative adversarial networks, and then perform style transfer using an adversarial autoencoder.

Chapter 8, Working with Moving Images, starts with image detection on a video feed and then creates videos using a deep fake model.

Chapter 9, Deep Learning in Audio and Speech, classifies different voice commands, before going through a text-to-speech architecture, and concludes with a recipe for modeling and generating sequences of music with a recurrent neural network.

Chapter 10, Natural Language Processing, explains how to classify sentiment, create a chatbot, and translate a text using sequence-to-sequence models. Finally, we'll attempt to write a popular novel using state-of-the-art text generation models.

Chapter 11, Artificial Intelligence in Production, covers monitoring and model versioning, visualizations as dashboards, and explains how to secure a model against malicious hacking attacks that could leak user data.

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at €18.99/month. Cancel anytime