TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

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

2 pointsby perkele19893 months ago

1 comment

perkele19893 months ago
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! :)