Skip to main content

Demos for the Neural Network Design & Deep Learning books

Project description

nndesigndemos

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

Installation

nndesigndemos is supported on macOS, Linux and Windows. It uses PyQt6, 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.

Usage

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

from nndesigndemos import nndtoc
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.

Dependencies

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.9+
  • PyQt6 6.5.2
  • NumPy 1.25.2
  • SciPy 1.11.1
  • Matplotlib 3.7.2

License

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.1.0.tar.gz (24.2 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

nndesigndemos-1.1.0-py3-none-any.whl (24.3 MB view details)

Uploaded Python 3

File details

Details for the file nndesigndemos-1.1.0.tar.gz.

File metadata

  • Download URL: nndesigndemos-1.1.0.tar.gz
  • Upload date:
  • Size: 24.2 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.13

File hashes

Hashes for nndesigndemos-1.1.0.tar.gz
Algorithm Hash digest
SHA256 f95b170eb4a49db39d619d9ee7d81a1e536b2b2973e6c656f275f28bbca47035
MD5 0c9bb7922aacc88a4635fa7114407703
BLAKE2b-256 9b9aec2ed80aa9e4126c2c3973af3ee0b6877030c001a23b82a5138b7d7da8e1

See more details on using hashes here.

File details

Details for the file nndesigndemos-1.1.0-py3-none-any.whl.

File metadata

  • Download URL: nndesigndemos-1.1.0-py3-none-any.whl
  • Upload date:
  • Size: 24.3 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.13

File hashes

Hashes for nndesigndemos-1.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 2a85d615867527de7aeb826f7cf5b9918505e4c7611c0a599dd034322e1a666d
MD5 c3b69a6e2b8f5565fe6c7228b820fa24
BLAKE2b-256 30cf0e0688efb456ded20b5405be11f084e5d8074c55789c0212b6a92f519d1d

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page