딥러닝 실습
1. 딥러닝 Flow In [5]: import numpy as np from tensorflow.keras.models import Sequential from tensorflow.keras.layers import Dense from keras import optimizers In [17]: #데이터셋 설정 time = np.array([1,2,3,4,5]) score= np.array([10,20,30,60,66]) In [18]: #모델구성 model=Sequential() model.add(Dense(1,input_dim=1, activation='linear')) #선형회귀 In [19]: #모델컴파일 sgd= optimizers.SGD(lr=0.01) model.compile(..
2020. 11. 1.