In order to proceed with this chapter, you will need to install the following packages. These packages will be used to pre-process and visually represent the data being processed. Some of the packages also contain a well-written implementation of the algorithms that will operate on our data.
Preferably, these modules should be installed using pip. So, firstly, we need to install pip for Python 3 using the following commands:
- sudo apt-get update
- sudo apt-get install python3-pip
Furthermore, the following commands are to be run to install the numpy, scikit-learn, matplotlib, pandas, and textblob packages:
# pip3 install numpy
# pip3 install scikit-learn
# pip3 install matplotlib
# pip3 install pandas
# pip3 install textblob
If you are using the old version of Python (that is, Python 2), the packages can be installed using the same commands by replacing pip3...