We are going to use the Python package installer "pip3" to install the necessary packages. These can be installed in the local conda environment or Google colab.
To install a Python package in a local conda environment, first activate the environment in which you are planning to install the packages, then please use the following syntax:
pip3 install <package name >
To install a Python package in a Google Colab environment, please use the following syntax in the python notebook
!pip3 install <package name >
Here are the list of the packages you need to install which you are going to use
Used for handling the dataset, reading the CSV files and much more,
Used for handling numerical data, especially arrays
Used for visualization of data
* Used to handle Jupyter notebooks kernels in Python
Used to visualize the progress
Used to handle Excel files in Python
Used for creating machine learning models
Used to create a summary of deep learning models
(* indicated for local machine purposes only)
To work on creating some of the advanced deep learning frameworks, we can use PyTorch libraries. Please refer to their website to find the correct versions compatible with your OS and NVIDIA driver that you currently have
If you have a NVIDIA GPU on your local machine you can install a CUDA version using the script
pip3 install torch torchvision --index-url https://download.pytorch.org/whl/cu126
(or)
If you have an onboard machine without a dedicated NVIDIA GPU you can install a cpu only version using the script
pip3 install torch torchvision