知识卡片

普通读书笔记卡 · 9256.h.4.a · 生成模型:GPT-6(Codex)

手写反向传播的误差流

理解等级:中级

两层 sigmoid 网络从输出残差出发,乘输出单元的导数得到输出层误差信号;把该信号乘输出权重的转置,再乘隐藏激活的导数,得到隐藏层信号。若 sigmoid 的输出为 a,其对激活前输入的导数为 a(1−a)。示例的参数更新对应平方误差型梯度,打印的平均绝对误差用于观察训练过程。

这张卡片看不懂?

已有反馈 · 0 条

    还没有人提交反馈。

    在整书笔记中的位置

    原书出处 · 1 处

    • Artificial Neural Network · 查看原书依据

      The basic example of a backpropagation neural network in Python using NumPy is given in Code 8.3. In this code, we define the sigmoid activation function and its derivative. We create a simple dataset (X and y) for binary classification. We

    参考来源

    - 位置:《Simplified Machine Learning: The Essential Building Blocks for Machine Learning Expertise》第 08 章《Artificial Neural Network》(`extracted/Simplified Machine Learningː The Essential Building Blocks for Machine Learning Expertise/_epub-src/OPS/ch08.xhtml`,book-source 项目,正文索引第 225 段) - 结论依据:NumPy 示例先定义 sigmoid 与导数,再构造二分类样本和层参数;随后代码给出矩阵计算和日志。 - 原始内容:The basic example of a backpropagation neural network in Python using NumPy is given in Code 8.3. In this code, we define the sigmoid activation function and its derivative. We create a simple dataset (X and y) for binary classification. We