Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

添加内容: MLP 的 numpy 实现 #3

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

Nijikadesu
Copy link

感谢大佬们慷慨无私的奉献,本学期我们专业开设了 ML 课程,这个仓库很大程度上帮助了我对相关知识的理解与运用。

我注意到,在该仓库中还没有使用 numpy 实现 MLP 的相关内容。因此,在这次 PR 中,我增加了 MLP 的 numpy 实现,希望学习大佬们的知识共享精神,为开源社区贡献绵薄之力!

该实现中,使用单隐藏层的多层感知机,利用梯度下降算法进行网络权重的更新。

训练结果(num_epochs=50, learning_rate=0.8):

屏幕截图 2024-11-11 133317

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant