05. Tensor Flow 로 Classification 예제 (binary)
05. Logistic Classification 출처 : 모두를위한 머신러닝 (http://hunkim.github.io/ml/) 이론 Logistic Regression¶ In [1]: import tensorflow as tf x_data = [[1, 2], [2, 3], [3, 1], [4, 3], [5, 3], [6, 2]] y_data = [[0], [0], [0], [1], [1], [1]] # placeholder for a tensor will be fed X = tf.placeholder(tf.float32, shape=[None, 2]) # n개 일때 None Y = tf.placeholder(tf.float32, shape=[None, 1]) # X: nx2, Y: nx1 --> X..
2018. 8. 17.