feat: Finish IA part

This commit is contained in:
2024-10-31 16:45:15 +01:00
parent aa45331010
commit 4b2ab03dab
10 changed files with 76 additions and 3 deletions

View File

@ -0,0 +1,6 @@
The network's weights and biases are initialized randomly using the \texttt{init\_weights} function, which returns a value between 0 and 1. This process is applied to all weights in \texttt{hiddenWeights} and \texttt{outputWeights}, as well as to the biases \texttt{hiddenLayerBias} and \texttt{outputLayerBias}:
\begin{verbatim}
double init_weights() {
return ((double) rand()) / ((double) RAND_MAX);
}
\end{verbatim}