심층신경망_훈련_및_성능향상 연습
사용할 라이브러리 정의¶ In [ ]: """ - 패션MNIST 데이터 읽어들이기(훈련 및 테스트 데이터) - 정규화하기 - 훈련 및 검증으로 분류하기 """ In [2]: import tensorflow as tf from tensorflow import keras from tensorflow.keras import layers import matplotlib.pyplot as plt import numpy as np from sklearn.model_selection import train_test_split In [10]: (train_input, train_target), (test_input, test_target) =\ keras.datasets.fashion_mnist.load_data() ..
머신러닝
2024. 1. 4. 17:23