代码来源:https://github.com/eriklindernoren/ML-From-Scratch
卷积神经网络中卷积层Conv2D(带stride、padding)的具体实现:https:...//www.cnblogs.com/xiximayou/p/12706576.html
激活函数的实现(sigmoid、softmax、tanh、relu、leakyrelu、elu、selu、softplus...):https://www.cnblogs.com/xiximayou/p/12713081.html
这节讲解两个基础的损失函数的实现:
from __future__ import division...,p是预测值对应的标签。...1,2,3,5,6,7,8,9])
np.clip(x,3,8)
array([3, 3, 3, 5, 6, 7, 8, 8])
这里使用到了mlfromscrach/utils/data_operation.py中的