In this part to consider, how to works class to created and train of neural network for any amount layers. On this step i am not adding bias neuron. I will show difference between source code and current result. For begin consider source code, evrything is simple here.
Saving the neural network weights to a csv file is much easier. In my opinion this option is faster and csv tables are easily exported to other databases. Another reason is the great versatility of this approach, since to save to the database, you need to raise the local server, while for the files you just need to allocate a directory.
I’ve tested two options for saving and loading weights. The first option works with a MySQL database, the second saves to a CSV file.