2022-04-01 15:41:54 +02:00
|
|
|
#include <stdio.h>
|
|
|
|
#include <stdlib.h>
|
|
|
|
#include <string.h>
|
|
|
|
#include <math.h>
|
|
|
|
#include <time.h>
|
|
|
|
|
|
|
|
#include "struct/neuron.h"
|
|
|
|
|
|
|
|
#ifndef DEF_NEURAL_NETWORK_H
|
|
|
|
#define DEF_NEURAL_NETWORK_H
|
|
|
|
|
2022-04-05 09:08:39 +02:00
|
|
|
float max(float a, float b);
|
|
|
|
float sigmoid(float x);
|
|
|
|
float sigmoid_derivee(float x);
|
|
|
|
float ReLU(float x);
|
2022-04-01 15:41:54 +02:00
|
|
|
void creation_du_reseau_neuronal(Reseau* reseau_neuronal, int* neurones_par_couche, int nb_couches);
|
|
|
|
void suppression_du_reseau_neuronal(Reseau* reseau_neuronal);
|
|
|
|
void forward_propagation(Reseau* reseau_neuronal);
|
|
|
|
int* creation_de_la_sortie_voulue(Reseau* reseau_neuronal, int pos_nombre_voulu);
|
|
|
|
void backward_propagation(Reseau* reseau_neuronal, int* sortie_voulue);
|
|
|
|
void modification_du_reseau_neuronal(Reseau* reseau_neuronal);
|
|
|
|
void initialisation_du_reseau_neuronal(Reseau* reseau_neuronal);
|
|
|
|
|
|
|
|
|
|
|
|
#endif
|