Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
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
Preface

Artificial Intelligence (AI) is the field concerned with automating tasks in a way that exhibits some form of intelligence to human spectators. This apparent intelligence could be similar to human intelligence, or simply some insightful action a machine or program surprises us with. Since our understanding of the world improves along with our tools, our expectations of what would surprise us or strike us as intelligent are continuously being raised. Rodney Brooks, a well-known researcher in the field of AI, expressed this effect (often referred to as the AI effect):

Every time we figure out a piece of it, it stops being magical; we say, "Oh, that's just a computation." We used to joke that AI means "almost implemented."

(Cited from Kahn, Jennifer (March 2002). It's Alive, in Wired, 10 (30): https://www.wired.com/2002/03/everywhere/)

AI has made huge strides, especially over the last few years with the arrival of powerful hardware, such as Graphics Processing Units (GPUs) and now Tensor Processing Units (TPUs), that can facilitate more powerful models, such as deep learning models with hundreds of thousands, millions, or even billions of parameters. These models perform better and better on benchmarks, often reaching human or even super-human levels. Excitingly for anyone involved in the field, some of these models, trained for many thousands of hours that would be worth hundreds of thousands of dollars if run on Amazon Web Services (AWS), are available for download to play with and extend.

This giant leap in performance is especially remarkable in image processing, audio processing, and increasingly in natural language processing. Nowhere has this been as evident and as showcased in media as it has in games. While the 1997 chess match between Kasparov and Deep Blue is still in the mind of many people, it can be argued that the success of the machine against the human chess champion was mostly due to the brute-force searching and analyzing of 200 million positions per second on a powerful supercomputer. Since then, however, a combination of algorithmic and computational capacities has given machines proficiency and mastery in even more complex games.

The following table illustrates the progress in AI:

Game Champion year Legal states (log10)
Othello (reversi) 1997 28
Draughts (checkers) 1994 21
Chess 1997 46
Scrabble 2006
Shogi 2017 71
Go 2016 172
2p no-limit hold 'em 2017
Starcraft - 270+


Please refer to the Wikipedia article Progress in Artificial Intelligence for more information.
You can see, for a series of games of varying complexity (as per the third column, showing legal states in powers of 10), when AI reached the level of top human players. More generally, you can find out more about state-of-the-art performances in different disciplines on a dedicated website: https://paperswithcode.com/sota.

It is therefore more timely than ever to look at and learn to use the state-of-the-art methods in AI, and this is what this book is about. You'll find carefully chosen recipes that will help you refresh your knowledge and bring you up to date with cutting edge algorithms.

If you are looking to build AI solutions for work or even for your hobby projects, you will find this cookbook useful. With the help of easy-to-follow recipes, this book will take you through the AI algorithms required to build smart models for problem solving. By the end of this book, you'll be able to identify an AI approach for solving applied problems, implement and test algorithms, and deal with model versioning, reports, and monitoring.

lock icon The rest of the chapter is locked
Next Section arrow right
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 $19.99/month. Cancel anytime
Banner background image