mnist

    [Classification] mnist - dataset 불러오기

    [Classification] mnist - dataset 불러오기

    MNIST란 어떤 데이터셋일까? Dataset: 숫자 손글씨 데이터셋 MNIST 데이터 제공자: Prof.Yann Lecun Datset: yann.lecun.com/exdb/mnist/ "The MNIST database of handwritten digits, available from this page, has a training set of 60,000 examples, and a test set of 10,000 examples. It is a subset of a larger set available from NIST. The digits have been size-normalized and centered in a fixed-size image." 공식 사이트를 참고하면 6만장의 traini..

    [Tensorflow] mnist 코드

    사용 라이브러리 tensorflow: 프레임워크 keras: 프레임워크 numpy: array 연산 matplotlib: 시각화 import tensorflow as tf from tensorflow import keras import numpy as np import matplotlib.pyplot as plt 모델 구현 코드 keras.models.Sequential keras.layers.Conv2D keras.layers.MaxPool2D keras.layers.Flatten keras.layers.Dense mnist = keras.datasets.mnist (x_train, y_train), (x_test, y_test) = mnist.load_data() x_train_norm, x_test..