Cover of Artificial Intelligence with Python Cookbook
4.3 (28 reviews)

Artificial Intelligence with Python Cookbook

Proven recipes for applying AI algorithms and deep learning techniques using TensorFlow 2.x and PyTorch 1.6. Practical, hands-on solutions for real AI challenges.

Published October 2020 · Packt Publishing

AI algorithmsDeep learning recipesTensorFlow & PyTorchHands-on solutions
Buy on Amazon

About this book

Artificial intelligence plays an integral role in automating problem-solving: predicting and classifying data, and training agents to execute tasks. This book teaches you to solve complex problems with independent recipes ranging from the essentials to methods fresh out of research.

It starts with setting up your Python environment and the fundamentals of data exploration, then moves through heuristic search techniques and genetic algorithms. You'll apply probabilistic models, constraint optimization, and reinforcement learning. As you progress, you'll build deep learning models for text, images, video, and audio, and work through algorithmic bias, style transfer, music generation, and AI use cases in healthcare and insurance.

By the end you'll have the skills to write AI and machine learning algorithms, test them, and deploy them for production.

Highlights

  • Get up and running with AI using hands-on problem-solving recipes
  • Explore Python libraries and tools to build AI solutions for images, text, and sound
  • Implement NLP, reinforcement learning, deep learning, GANs, and Monte-Carlo tree search

What you'll learn

  • Implement data preprocessing steps and optimize model hyperparameters
  • Explore representational learning with adversarial autoencoders
  • Use active learning, recommenders, knowledge embedding, and SAT solvers
  • Get to grips with probabilistic modeling using TensorFlow Probability
  • Run object detection, text-to-speech, and text and music generation
  • Apply swarm algorithms, multi-agent systems, and graph networks
  • Go from proof of concept to production by deploying models as microservices
  • Understand how to use modern AI in practice

Who this book is for

For Python developers, data scientists, machine learning engineers, and deep learning practitioners who want to build AI solutions with easy-to-follow recipes. Basic working knowledge of Python and machine learning concepts helps you work with the code effectively.

Inside the book

  1. Getting Started with Artificial Intelligence in Python
  2. Advanced Topics in Supervised Machine Learning
  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

What Readers Are Saying

Selected reader reviews for "Artificial Intelligence with Python Cookbook"

"It covers everything from the original ELIZA chatbot to cutting-edge algorithms faking videos. I'd recommend this cookbook to anyone that wants to learn more broadly about AI algorithms and how to get started."

Svenski

"Finally a book that does not take up half the text to install Python and teach you linear regression. Practical, direct and rigorous."

Javier

"Ben looks at genetic algorithms, heuristics, NLP and even deployment strategies including Streamlit. Ben's style is easy to read and full notebooks are available online. This is a good book."

Ian Ozsvald, author of High Performance Python

"The best book out there for learning how to write and deploy AI/ML algorithms from scratch."

Tony Camps

Related reading

Product details

Author
Ben Auffarth
Publisher
Packt Publishing
Published
30 October 2020
Edition
1st
Language
English
Print length
470 pages
ISBN-13
978-1789137965