Learn practical skills, build real-world projects, and advance your career
!pip install jovian --upgrade --quiet
# TensorFlow and tf.keras
import tensorflow as tf
from tensorflow import keras

# Helper libraries
import numpy as np
import matplotlib.pyplot as plt


Assignment1 - Basic Computer Vision using Neural Networks

  1. The dataset is available within keras as dataset.mnist, so make sure to load the data into training and test sets in Colab. (2)
mnist = keras.datasets.mnist
(train_images, train_labels), (test_images, test_labels) = mnist.load_data()
  1. Print the first image and its label from the training set so you can view what your data looks like. What is the class label of the first image in the training set? (3)