Deep Neural Network for MNIST Handwriting Recognition  1.0
Deep Neural Network for MNIST Handwriting Recognition
swarm.h
Go to the documentation of this file.
1 //
2 // swarm.h
3 // mnist-cvnn
4 //
5 // Created by Matt Lind on 2/9/16.
6 // Copyright © 2016 Matt Lind. All rights reserved.
7 //
8 
9 
10 /*
11 
12 #ifndef SWARM_HEADER
13 #define SWARM_HEADER
14 
15 
16 
17 #include <stdio.h>
18 #include "mlnn.h"
19 #include "../util/mnist-utils.h"
20 
21 typedef struct SwarmAgent SwarmAgent;
22 
23  #define NUMBER_OF_SWARM_NETS 10
24 
25 
26 
27 struct SwarmAgent {
28  int id;
29  Network *nn;
30  int runCount;
31  int trainCount;
32  int errorCount;
33  double startRate;
34  double currAccuracy;
35  double bestAccuracy;
36  double validationAccuracy;
37  FILE *imageFile;
38  FILE *labelFile;
39 };
40 
41 
42 
43 void swarming(int layerCount, LayerDefinition *layerDefs);
44 
45 
46 #endif
47 */
48