Technical requirements
In this chapter, we need the following prerequisites:
- Git: https://git-scm.com/downloads
- Python 3.9+: https://www.python.org/downloads
- Docker: https://www.docker.com/products/docker-desktop/
The code for this chapter is available at the official repository at https://github.com/PacktPublishing/Hands-On-Industrial-Internet-of-Things-Second-Edition.
Jupyter
If you have installed Python, you may want to use a development IDE. One of the best IDE is the Jupyter Notebook. To install Jupyter, run the following commands:
$ pip install notebook scikit-learn numpy pandas
To run the notebook, run the following command from the command line:
$ jupyter notebook
If you want to avoid installing Python and Anaconda, you can also run Jupyter Notebook by starting the jupyter/datascience-notebook
container.
Start the container as follows:
$ docker run -p 8888:8888 -v ./work:/work -i --name jupyterhub-ds jupyter/datascience-notebook...