[TENSORFLOW] Polynomial Model
2017/04/10 - [machine learning] - [TENSORFLOW] Linear regression Classification 이전의 Linear regression에서 1차항에 대한 regression을 고민했다면, 이번에는 항이 여러 개인 다차항에 대한 regression을 고민해보자. 위의 식과 같이 여러 개의 항으로 구성되어 있는 model을 Polynomial Model이라고 부른다.import tensorflow as tfimport numpy as npimport matplotlib.pyplot as plt%matplotlib inline num_coeffs = 6training_epochs = 400learning_rate = 0.01 def model(X, w):terms..
2017.04.08