From b4c345e6a5fa929ba20eac19183b9c777055f52d Mon Sep 17 00:00:00 2001 From: Gaspard Coulet Date: Wed, 28 Apr 2021 23:12:36 +0200 Subject: Initial commit --- Doc/html/_layer_8h_source.html | 129 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 129 insertions(+) create mode 100644 Doc/html/_layer_8h_source.html (limited to 'Doc/html/_layer_8h_source.html') diff --git a/Doc/html/_layer_8h_source.html b/Doc/html/_layer_8h_source.html new file mode 100644 index 0000000..7eb64e4 --- /dev/null +++ b/Doc/html/_layer_8h_source.html @@ -0,0 +1,129 @@ + + + + + + +Implémentation de l'algorithme de rétropagation sur un réseau neuronal: Layer/Layer.h Source File + + + + + + + + + + + + + + + +
+
+ + + + + + + +
+
Implémentation de l'algorithme de rétropagation sur un réseau neuronal +
+
+
+ + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+
+
Layer.h
+
+
+
1 #ifndef _LAYER_H_
2 #define _LAYER_H_
3 #include"../Neurone/Neurone.h"
4 #include"../Neurone/NeuroneB.h"
5 #include "../Neurone/FonctionActivation.h"
6 #include<vector>
7 
8 class Layer {
9 public:
10  enum TypeLayer {
11  INPUT,
12  OUTPUT,
13  HIDDEN
14  };
15 protected:
16  double k;
17  int nbNeurone;
18  std::vector<Neurone *> membres;
19  std::vector<double> input;
20  std::vector<double> output;
21  TypeLayer type;
22 public:
23  Layer();
24  Layer(TypeLayer,int,int,FonctionActivation::EnumFonctionActivation);
25  Neurone * getNeurone(int index);
26  virtual std::vector<double> fire(std::vector<double>, double);
27  int getNbNeurones();
28  std::vector<double> getInput();
29  std::vector<double> getOutput();
30  void printWeight();
31 };
32  #endif
Layer()
Definition: Layer.cpp:7
+
std::vector< double > getInput()
Definition: Layer.cpp:53
+
virtual std::vector< double > fire(std::vector< double >, double)
Definition: Layer.cpp:67
+
Definition: Layer.h:8
+
void printWeight()
Definition: Layer.cpp:36
+
int getNbNeurones()
Definition: Layer.cpp:46
+
Definition: Neurone.h:9
+
Neurone * getNeurone(int index)
Definition: Layer.cpp:29
+
+
+ + + + -- cgit v1.2.3