by Gilles » Thu Aug 24, 2023 5:22 am
Hi Apprentice,
At the beginning, I have 4 inputs (RSI) that should allow the model to get a general idea of the market's evolution. The weights of the inputs are used to calculate the output of the first layer.
If you look at my diagram, you'll see that all the connections have a weight. And it's the path they take that allows information to be communicated through the network to the output layer.
It's a forward propagation through the network to generate an output prediction, what we call a pass, a full journey through the network, it's an epoch.
At the end of each epoch, I calculate the error.
So, at this point, the model is not training and not learning.
It's only the implementation of the backpropagation that allows adjusting the network's weights based on the error between the prediction and the actual value.
What allows the model to learn is the adjustment of the weights through the process of forward propagation and backpropagation for a defined number of epochs!
I hope this will help you understand what ++
Note: I don't understand why the loop seems unnecessary to you.
My goal is for the model to learn, and for that, it needs to adjust its weights.
What allows or doesn't allow us to see the decision the model makes is the display of the arrows, conditioned by the slope of the MLP[period] curve.