摘要: import numpy as np def sigmod(x): return 1 / (1 + np.exp(-x)) def deriv_sigmod(x): fx = sigmod(x) return fx * (1 - fx) def mse_loss(y_true, y_pred): return ((y_true - y_pred)**2).m... 阅读全文
posted @ 2019-04-10 20:38 qilibin 阅读(759) 评论(0) 推荐(0) 编辑