선형회귀 => Input(shape=(3,)) Dense(1) 🌟 sequential API 사용 model.add( keras.layers.Input(shape=(3,))) model.add( keras.layers.Dense(1, activation='linear')) 🌟 Functional API 사용 input_layer(il) = keras.layers.Input(shape=(3,)) output_layer(ol) = keras.layers.Dense(1)(il) 1. 모듈 불러오기 import tensorflow as tf from tensorflow import keras import numpy as np 2. x, y 값 지정 x = np.array(range(20)) y = x * 2 -..