
* 겪고 있는 문제 상황을 최대한 자세하게 작성해주세요.
* 문제 해결을 위해 어떤 시도를 해보았는지 구체적으로 함께 알려주세요.
코드 하나하나 오류뜨네요
하..
뭐가문제죠
이번에도 건든거 없습니다.

WARNING:absl:`lr` is deprecated in Keras optimizer, please use `learning_rate` or use the legacy optimizer, e.g.,tf.keras.optimizers.legacy.SGD.
---------------------------------------------------------------------------
AttributeError Traceback (most recent call last)
<ipython-input-4-db771bd0ef26> in <cell line: 15>()
13 model.compile(loss='mean_squared_error', optimizer=SGD(lr=0.1)) #SGD: 경사하강법 # lr: learning rate14
---> 15 model.fit(x_data, y_data, epochs=100) # epochs 복수형으로 쓰기! #epochs: 반복학습 횟수
5 frames
/usr/local/lib/python3.10/dist-packages/keras/engine/training_v1.py in _make_train_function(self)
2282 with backend.name_scope("training"):
2283 # Training updates
-> 2284 updates = self.optimizer.get_updates(
2285 params=self._collected_trainable_weights,
2286 loss=self.total_loss,
AttributeError: 'SGD' object has no attribute 'get_updates'
