Click here to Skip to main content
15,898,134 members
Articles / Programming Languages / C++

C++26: Basic linear algebra algorithms applied to Machine learning.

27 Apr 2024CPOL3 min read 2.3K   5   5
An implementation of the Neural Network backpropagation learning algorithm in C++ using the BLAS proposal in P1673.
The article implements a Neural Network backpropagation learning algorithm using the C++26 proposed std::linalg module. It compares the implementation with similar code written using boost::ublas library. std::linalg integrates with std::mdspan, a C++23 feature, the options for optimisation your memory usage using mdspan are discussed.
This is a new version of the currently published tip/trick.

Only logged in members can view this content

Please go to the C++ Table of Contents to view the list of available articles in this section.