Deep Learning Visualizer
Interactive visualization of basic applications of deep learning
Loading...
Searching...
No Matches
models::network Class Reference
Inheritance diagram for models::network:
models::mnist

Public Member Functions

void to_file (const std::filesystem::path &file_path)
 

Protected Member Functions

 network (const std::vector< int > &layer_sizes)
 
 network (const std::filesystem::path &file_path)
 
void initialize_weights ()
 Randomly initializes weights between each neuron using He initialization.
 
float backpropagate (const std::vector< models::data_point > &training_batch)
 Performs a single backprogatation step with a list of training data.
 
void set_input (const Eigen::VectorXf &input)
 
void update ()
 
const Eigen::VectorXf & output () const
 

Member Function Documentation

◆ backpropagate()

float models::network::backpropagate ( const std::vector< models::data_point > &  training_batch)
protected

Performs a single backprogatation step with a list of training data.

See also
https://en.wikipedia.org/wiki/Backpropagation
https://youtu.be/Ilg3gGewQ5U
https://youtu.be/tIeHLnjs5U8

◆ initialize_weights()

void models::network::initialize_weights ( )
protected

Randomly initializes weights between each neuron using He initialization.

See also
https://en.wikipedia.org/wiki/Weight_initialization#He_initialization

The documentation for this class was generated from the following files: