BaşlayınÜcretsiz Başlayın

Exploring dollar bills

You will practice building classification models in Keras with the Banknote Authentication dataset.

Your goal is to distinguish between real and fake dollar bills. In order to do this, the dataset comes with 4 features: variance,skewness,kurtosis and entropy. These features are calculated by applying mathematical operations over the dollar bill images. The labels are found in the dataframe's class column.

A pandas DataFrame named banknotes is ready to use, let's do some data exploration!

Bu egzersiz

Introduction to Deep Learning with Keras

kursunun bir parçasıdır
Kursu Görüntüle

Egzersiz talimatları

  • Import seaborn as sns.
  • Use seaborn's pairplot() on banknotes and set hue to be the name of the column containing the labels.
  • Generate descriptive statistics for the banknotes authentication data.
  • Count the number of observations per label with .value_counts().

Uygulamalı interaktif egzersiz

Bu örnek kodu tamamlayarak bu egzersizi bitirin.

# Import seaborn
import ____ as ____

# Use pairplot and set the hue to be our class column
sns.____(____, hue=____) 

# Show the plot
plt.show()

# Describe the data
print('Dataset stats: \n', banknotes.____)

# Count the number of observations per class
print('Observations per class: \n', banknotes[____].____)
Kodu Düzenle ve Çalıştır