시작하기무료로 시작하기

그림처럼 만들어요!

다음 학습으로 넘어가기 전에 마지막 도전에 도전해 보세요. 아래 그림과 같은 네트워크를 직접 구성해 보세요. Keras의 기본기를 얼마나 잘 익혔는지 금방 증명하실 수 있어요!

이 연습은 강의의 일부입니다

Keras로 시작하는 딥 러닝

강의 보기

연습 안내

  • Sequential 모델을 생성하세요.
  • 입력층과 은닉층을 구성하세요.
  • 출력층을 추가하세요.

실습형 인터랙티브 연습

이 예제를 이 샘플 코드를 완성하여 풀어보세요.

from tensorflow.keras.models import Sequential
from tensorflow.keras.layers import Dense

# Instantiate a Sequential model
model = ____

# Build the input and hidden layer
model.____

# Add the ouput layer
model.____
코드 편집 및 실행