목록2024/08/19 (1)
printf("ho_tari\n");
ep.30 딥러닝개론4
2024.8.19 import numpy as npimport matplotlib.pyplot as pltx_data = [1.0, 2.0, 3.0]y_data = [2.0, 4.0, 6.0]w = 1.0def forward(x): return x * wdef loss(x, y): y_pred = forward(x) return (y_pred - y) * (y_pred - y)w_list = []mse_list = []for w in np.arange(0.0, 4.1, 0.1): print("w=", w) l_sum = 0 for x_val, y_val in zip(x_data, y_data): y_pred_val = forward(x_val) l = loss(x_val, y_val..
두산 로보틱스 부트캠프 ROKEY/Computer Vision 교육
2024. 8. 19. 16:29