chore: add single line of comment above local data loading lines of code @ practical 3b.
This commit is contained in:
@@ -38,6 +38,7 @@ from sklearn.metrics import confusion_matrix, classification_report
|
|||||||
# Fashion MNIST is built into Keras, downloads automatically on first run
|
# Fashion MNIST is built into Keras, downloads automatically on first run
|
||||||
(X_train, y_train), (X_test, y_test) = tf.keras.datasets.fashion_mnist.load_data()
|
(X_train, y_train), (X_test, y_test) = tf.keras.datasets.fashion_mnist.load_data()
|
||||||
|
|
||||||
|
# --- Offline alternative (comment out tf.keras line above and use this instead) ---
|
||||||
# import pandas as pd
|
# import pandas as pd
|
||||||
# train_df = pd.read_csv('fashion-mnist_train.csv')
|
# train_df = pd.read_csv('fashion-mnist_train.csv')
|
||||||
# test_df = pd.read_csv('fashion-mnist_test.csv')
|
# test_df = pd.read_csv('fashion-mnist_test.csv')
|
||||||
|
|||||||
Reference in New Issue
Block a user