Introduction to TensorFlow for Artificial Intelligence, Machine Learning, and Deep Learning week1

han811·2020년 11월 8일
0
post-thumbnail

기본적인 모델 학습

import tensorflow as tf
import numpy as np
tf.keras.models.Sequential([tf.keras.layers.Dense(units=1, input_shape=[1]])
model.compile(optimizer=tf.nn.sgd(), loss='mean_squared_error')
model.fit(x,y,epochs=100)
model.predict(x_test[0])

가장 기본적인 keras framework를 이용하여 주택가격예측모델을 만들어보는 과정이 있었다.

https://github.com/han811/tensorflow

profile
han811

0개의 댓글