출처 http://jorditorres.org/first-contact-with-tensorflow/#cap2 (First contact with tensorflow)https://tensorflow.rstudio.com/ (Tensorflow™ for R)https://github.com/rstudio/tensorflow (GitHub - rstudio/tensorflow)http://motioninsocial.com/tufte/ (Tufte in R)http://www.cookbook-r.com/Graphs/Multiple_graphs_on_one_page_(ggplot2) (Cookbook for R) 좌표 값 생성 num_points
출처¶ http://jorditorres.org/first-contact-with-tensorflow/#cap2 (First contact with tensorflow) 선형 회귀분석 (ver. 파이썬)¶ linear regression (ver. Python)¶ 1. 좌표값 생성¶ numpy 모듈 임포트 In [1]: import numpy as np 좌표값 생성 In [2]: num_points = 1000 vectors_set = [] for i in range(num_points): x1 = np.random.normal(0.0, 0.55) y1 = x1 * 0.1 + 0.3 + np.random.normal(0.0, 0.03) vectors_set.append([x1, y1]) x_dat..
기본 자료 구조 : 텐서 출처 http://jorditorres.org/first-contact-with-tensorflow/#cap3 (First contact with tensorflow)https://tensorflow.rstudio.com/basic_usage.html#tensors (TensorFlow™ for R)https://www.tensorflow.org/programmers_guide/dims_types (TensorFlow™) 텐서플로와 파이썬 자료형 Data_type Python_type Description DT_FLOAT tf.float32 32비트 실수 DT_DOUBLE tf.float64 64비트 실수 DT_INT8 tf.int8 8비트 정수 DT_INT16 tf.int16 ..