2018年3月21日

overfitting

摘要: Interpretation: You can see the cost decreasing. It shows that the parameters are being learned. However, you see that you could train the model even 阅读全文

posted @ 2018-03-21 16:25 cdekelon 阅读(90) 评论(0) 推荐(0) 编辑

python cost function

摘要: https://datascience.stackexchange.com/questions/22470/python-implementation-of-cost-function-in-logistic-regression-why-dot-multiplic https://www.jian 阅读全文

posted @ 2018-03-21 15:35 cdekelon 阅读(227) 评论(0) 推荐(0) 编辑

numpy reshape -1

摘要: >>> import numpy as np >>> x = np.arange(12) >>> x array([ 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11]) >>> x.reshape(2,3,2,1) array([[[[ 0], [ 1]], [[ 2], [ 3]], ... 阅读全文

posted @ 2018-03-21 13:55 cdekelon 阅读(206) 评论(0) 推荐(0) 编辑

numpy official book , broadcasting

摘要: https://docs.scipy.org/doc/numpy-1.10.1/reference/generated/numpy.exp.html https://docs.scipy.org/doc/numpy/user/basics.broadcasting.html 阅读全文

posted @ 2018-03-21 10:50 cdekelon 阅读(77) 评论(0) 推荐(0) 编辑

导航