Training Neural Networks in C++ (2021)
1h 47mAdvanced2021-02-26
Authors

Eduardo Corpeño
Electrical Engineer, Computer Programmer, and Teacher for 15+ years
Course details
Learn about the purpose, structure, and training process of neural networks to improve your machine learning skills. In this project-based course, instructor Eduardo Corpeño teaches you how to create an intelligent system with a neural network from scratch in C++, as well as how to choose the right neural network architecture and training method for each problem. Eduardo starts by explaining the difference between a neural network and other programming tools. He goes over why this course uses C++ and how to add different types of neural networks to your toolbox. The inspiration for artificial neural networks is the brain, and Eduardo relates parts of a biological neuron to C++ elements, then shows how to use activation functions and perceptrons in building neuron models. Eduardo covers the steps you will need to build and train your network. He explains segment display recognition, then guides you through designing and training your own SDR neural network.
Skills covered
C++Neural Networks and Deep LearningAdvancedArtificial Intelligence (AI)Programming LanguagesOpen SourceSoftware Development
Concepts
0. Introduction
- 01 - Create a neural network from scratch in C++
- 02 - What you should know
1. Choosing a Neural Network
- 03 - What is a neural network
- 04 - Why C++
- 05 - The many applications of machine learning
- 06 - Types of classifiers
- 07 - Types of neural networks
- 08 - Multilayer perceptrons
2. The Building Blocks of Neural Networks
- 09 - Neurons and the brain
- 10 - A simple model of a neuron
- 11 - Activation functions
- 12 - Perceptrons - A better model of a neuron
- 13 - Challenge - Finish the perceptron
- 14 - Solution - Finish the perceptron
- 15 - Logic gates
- 16 - Challenge - Logic gates with perceptrons
- 17 - Solution - Logic gates with perceptrons
3. Building Your Network
- 18 - Linear separability
- 19 - Writing the multilayer perceptron class
- 20 - Challenge - Finish the multilayer perceptron class
- 21 - Solution - Finish the multilayer perceptron class
4. Training Your Network
- 22 - The need for training
- 23 - The training process
- 24 - Error function
- 25 - Gradient descent
- 26 - The delta rule
- 27 - The backpropagation algorithm
- 28 - Challenge - Write your own backpropagation function
- 29 - Solution - Write your own backpropagation function
5. Make a Segment Display Classifier
- 30 - Segment display recognition
- 31 - Challenge - Design your own SDR neural network
- 32 - Solution - Design your own SDR neural network
- 33 - Challenge - Train your own SDR neural network
- 34 - Solution - Train your own SDR neural network
Conclusion
- 35 - Next steps
Related courses
- Training Neural Networks in C++
- Training Neural Networks in Python
- Neural Networks and Convolutional Neural Networks Essential Training (2018)
- Deep Learning with Python and Keras: Build a Model for Sentiment Analysis
- Advanced Graph Neural Networks
- Artificial Intelligence Foundations: Neural Networks
- Learning JAX
- Deep Learning with Python: Optimizing Deep Learning Models
Related learn paths
- Advance Your Skills in Deep Learning and Neural Networks
- Understanding Generative AI for Tech Leaders
- Build Essential Data Skills
- Develop Your SPSS Skills
- Prepare for the MTA: Software Development Fundamentals Exam (98-361)
- Fundamentals to Become a Machine Learning Engineer
- Become an AI Engineer
- Getting Started with AI and Machine Learning