Exercises
- If you do not already have Python installed on your computer, visit https://www.python.org/downloads/ and install the current version. Ensure Python is in your search path by typing
python
–-version
at a system command prompt. You should receive a response similar toPython
3.10.3
.Install TensorFlow (an open source platform for machine learning) with the command (also at the system command prompt)
pip
install
tensorflow
. You may need to use the Run as administrator option when opening the command prompt to get a successful installation. Install Matplotlib (a library for visualizing data) with the commandpip install matplotlib
. - Create a program using the TensorFlow library that loads the CIFAR-10 dataset and displays a subset of the images along with the label associated with each image. This dataset is a product of the Canadian Institute for Advanced Research (CIFAR) and contains 60,000 images, each consisting of 32x32 RGB pixels. The images...