Neural Network
Generic Neural Network for Classification
Public Member Functions | List of all members
Network Class Reference

Network object the network object acts as a layer between the user and the input,hidden, and output layers. More...

#include <network.h>

Collaboration diagram for Network:
Collaboration graph

Public Member Functions

 Network (int _num_layers, int _input_unit, int _layer_unit, int _output_unit)
 Constructor that calls _init_network.
 
matrixaffine_forward (matrix *a, Layer *layer)
 
matrixrelu_forward (matrix *z)
 
matrixcross_entropy (matrix *f, matrix *a)
 
void ** affine_backward (matrix *df, matrix *a, Layer *layer)
 
matrixrelu_backward (matrix *df, matrix *a_prev)
 
int import_data (std::string filename)
 
int train_network ()
 
void test ()
 

Detailed Description

Network object the network object acts as a layer between the user and the input,hidden, and output layers.


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