feat: ✨ Finish IA part
This commit is contained in:
@ -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}
|
Reference in New Issue
Block a user