Book Image

Artificial Intelligence with Python

Book Image

Artificial Intelligence with Python

Overview of this book

Artificial Intelligence is becoming increasingly relevant in the modern world. By harnessing the power of algorithms, you can create apps which intelligently interact with the world around you, building intelligent recommender systems, automatic speech recognition systems and more. Starting with AI basics you'll move on to learn how to develop building blocks using data mining techniques. Discover how to make informed decisions about which algorithms to use, and how to apply them to real-world scenarios. This practical book covers a range of topics including predictive analytics and deep learning.
Table of Contents (23 chapters)
Artificial Intelligence with Python
Credits
About the Author
About the Reviewer
www.PacktPub.com
Customer Feedback
Preface

Installing Python packages


Before we start logic programming in Python, we need to install a couple of packages. The package logpy is a Python package that enables logic programming in Python. We will also be using SymPy for some of the problems. So let's go ahead and install logpy and sympy using pip:

$ pip3 install logpy
$ pip3 install sympy

If you get an error during the installation process for logpy, you can install from source at  https://github.com/logpy/logpy . Once you have successfully installed these packages, you can proceed to the next section.