Visualization
Our dataset consists of various rows, each depicting pixel values on a grey scale ranging from 0 to 255. Let's display a few of these images.
Swipe to start coding
-
Extract the feature data (images) from the MNIST dataset and store it in variable
X
. -
Loop through the first 7 images in the dataset and visualize each image using seaborn's heatmap function. Also you need to reshape each image to a 2D array of 28x28 pixels.
Ratkaisu
Kiitos palautteestasi!
Kysy tekoälyä
Kysy tekoälyä
Kysy mitä tahansa tai kokeile jotakin ehdotetuista kysymyksistä aloittaaksesi keskustelumme
Awesome!
Completion rate improved to 10
Visualization
Our dataset consists of various rows, each depicting pixel values on a grey scale ranging from 0 to 255. Let's display a few of these images.
Swipe to start coding
-
Extract the feature data (images) from the MNIST dataset and store it in variable
X
. -
Loop through the first 7 images in the dataset and visualize each image using seaborn's heatmap function. Also you need to reshape each image to a 2D array of 28x28 pixels.
Ratkaisu
Kiitos palautteestasi!