Skip to main content

Demos for the Neural Network Design & Deep Learning books

Project description


This is a set of demonstrations paired with the Neural Network Design & Neural Network Design: Deep Learning books written in Python.


nndesigndemos is supported on macOS, Linux and Windows. It uses PyQt5, so your OS version needs to be compatible with it. If you get an installation error, this is most likely the reason.

Installing via pip

The quick way is simply to install via pip install nndesigndemos, which works in most cases.

The recommended way is to create a virtual environment to avoid dependency issues. Here is an easy way to do so:

python3 -m venv env
source env/bin/activate  # macOS/Linux
env\Scripts\activate.bat  # Windows
pip install nndesigndemos

To deactivate the virtual environment, just type deactivate.


All the demos start from the same main menu, which can be accessed by entering the Python Shell and running

from nndesigndemos import nndtoc

After doing so, a window will pop up, and you will be able to navigate the demos listed by book and then by chapter.

There are some demos that have sound, so if you want to mute them just run nndtoc(play_sound=False) instead.

The original software for these demos runs on MATLAB, so for every section of the Neural Network Design book where you see the MATLAB logo, there will be a corresponding Python demo in this package. The second book is in progress.

If you are using multiple monitors and switching between them, you may need to restart your computer to avoid scaling issues.


These are the packages needed to run all the demos. These specific versions are known to work, but this does not mean older or newer versions will cause any issues.

  • Python 3.5+
  • PyQt5 5.14.1
  • NumPy 1.18.1
  • SciPy 1.4.1
  • Matplotlib 3.1.2


nndesigndemos is available under MIT license.

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

nndesigndemos-1.0.0.tar.gz (24.1 MB view hashes)

Uploaded source

Built Distribution

nndesigndemos-1.0.0-py3-none-any.whl (24.3 MB view hashes)

Uploaded py3

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page