TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Prkl-ann: I've improved my C++ neural network framework to be generally useful

2 点作者 perkele1989大约 2 个月前

1 comment

perkele1989大约 2 个月前
This week I started working on an educational C++ framework for building and training neural networks. It&#x27;s gone quite well, and while I only have dense MLP&#x27;s for now (convolutional&#x2F;pooling layers still in the works), the fundamental architecture of the framework has become quite fleshed out and works really well for what it does.<p>It supports multiple activation functions and evaluation modes&#x2F;classifications, with softmax etc. It also features adaptive learning rate, automatic overfitting prevention, and early exit when training stops converging (based on either training loss, or evaluated success rate at each epoch).<p>I&#x27;ve managed to build a model for the MNIST digits dataset, achieving a 98.55% success rate (on the eval set), but it can obviously be used to build any arbitrary dense MLP.<p>If you&#x27;re curious and like me want to learn more about how NN&#x27;s actually work, I suggest you check it out! :)