-
Notifications
You must be signed in to change notification settings - Fork 0
/
index-all.html
889 lines (887 loc) · 67.6 KB
/
index-all.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
<!DOCTYPE HTML>
<html lang="en">
<head>
<!-- Generated by javadoc (17) on Mon Dec 19 10:22:32 IST 2022 -->
<title>Index (ANN4j)</title><link rel="icon" type="image/x-icon" href="resources/favion.png">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta name="dc.created" content="2022-12-19">
<meta name="description" content="index">
<meta name="generator" content="javadoc/IndexWriter">
<link rel="stylesheet" type="text/css" href="stylesheet.css" title="Style">
<link rel="stylesheet" type="text/css" href="script-dir/jquery-ui.min.css" title="Style">
<link rel="stylesheet" type="text/css" href="jquery-ui.overrides.css" title="Style">
<script type="text/javascript" src="script.js"></script>
<script type="text/javascript" src="script-dir/jquery-3.5.1.min.js"></script>
<script type="text/javascript" src="script-dir/jquery-ui.min.js"></script>
</head>
<body class="index-page">
<script type="text/javascript">var pathtoroot = "./";
loadScripts(document, 'script');</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
<div class="flex-box">
<header role="banner" class="flex-header">
<nav role="navigation">
<!-- ========= START OF TOP NAVBAR ======= -->
<div class="top-nav" id="navbar-top">
<div class="skip-nav"><a href="#skip-navbar-top" title="Skip navigation links">Skip navigation links</a></div>
<ul id="navbar-top-firstrow" class="nav-list" title="Navigation">
<li><a href="index.html">Overview</a></li>
<li>Package</li>
<li>Class</li>
<li><a href="overview-tree.html">Tree</a></li>
<li class="nav-bar-cell1-rev">Index</li>
<li><a href="help-doc.html#index">Help</a></li>
</ul>
</div>
<div class="sub-nav">
<div class="nav-list-search"><label for="search-input">SEARCH:</label>
<input type="text" id="search-input" value="search" disabled="disabled">
<input type="reset" id="reset-button" value="reset" disabled="disabled">
</div>
</div>
<!-- ========= END OF TOP NAVBAR ========= -->
<span class="skip-nav" id="skip-navbar-top"></span></nav>
</header>
<div class="flex-content">
<main role="main">
<div class="header">
<h1>Index</h1>
</div>
<a href="#I:A">A</a> <a href="#I:B">B</a> <a href="#I:C">C</a> <a href="#I:D">D</a> <a href="#I:E">E</a> <a href="#I:F">F</a> <a href="#I:G">G</a> <a href="#I:H">H</a> <a href="#I:I">I</a> <a href="#I:L">L</a> <a href="#I:M">M</a> <a href="#I:N">N</a> <a href="#I:O">O</a> <a href="#I:P">P</a> <a href="#I:R">R</a> <a href="#I:S">S</a> <a href="#I:T">T</a> <a href="#I:U">U</a> <a href="#I:W">W</a> <br><a href="allclasses-index.html">All Classes and Interfaces</a><span class="vertical-separator">|</span><a href="allpackages-index.html">All Packages</a>
<h2 class="title" id="I:A">A</h2>
<dl class="index">
<dt><a href="ann4j/Neuron.html#addLeftConnections(ann4j.Connection)" class="member-name-link">addLeftConnections(Connection)</a> - Method in class ann4j.<a href="ann4j/Neuron.html" title="class in ann4j">Neuron</a></dt>
<dd>
<div class="block">This function adds a connection to the leftConnections list.</div>
</dd>
<dt><a href="ann4j/Layer.html#addNeuron(ann4j.Neuron)" class="member-name-link">addNeuron(Neuron)</a> - Method in class ann4j.<a href="ann4j/Layer.html" title="class in ann4j">Layer</a></dt>
<dd>
<div class="block">This function adds a neuron to the list of neurons</div>
</dd>
<dt><a href="ann4j/NeuronObserver.html#addNeuronToBeObserved(int,int)" class="member-name-link">addNeuronToBeObserved(int, int)</a> - Method in class ann4j.<a href="ann4j/NeuronObserver.html" title="class in ann4j">NeuronObserver</a></dt>
<dd>
<div class="block">Add a neuron to the list of objects to be observed.</div>
</dd>
<dt><a href="ann4j/NeuronObserver.html#addObjectToBeObserved(ann4j.Observable)" class="member-name-link">addObjectToBeObserved(Observable)</a> - Method in class ann4j.<a href="ann4j/NeuronObserver.html" title="class in ann4j">NeuronObserver</a></dt>
<dd>
<div class="block">This function adds an object to the list of objects that this object will
observe.</div>
</dd>
<dt><a href="ann4j/Observer.html#addObjectToBeObserved(ann4j.Observable)" class="member-name-link">addObjectToBeObserved(Observable)</a> - Method in interface ann4j.<a href="ann4j/Observer.html" title="interface in ann4j">Observer</a></dt>
<dd>
<div class="block">Add an object to the list of objects to be observed.</div>
</dd>
<dt><a href="ann4j/Neuron.html#addRightConnections(ann4j.Connection)" class="member-name-link">addRightConnections(Connection)</a> - Method in class ann4j.<a href="ann4j/Neuron.html" title="class in ann4j">Neuron</a></dt>
<dd>
<div class="block">This function adds a connection to the rightConnections list</div>
</dd>
<dt><a href="ann4j/package-summary.html">ann4j</a> - package ann4j</dt>
<dd> </dd>
<dt><a href="ann4j/NN.html#average(double%5B%5D)" class="member-name-link">average(double[])</a> - Static method in class ann4j.<a href="ann4j/NN.html" title="class in ann4j">NN</a></dt>
<dd>
<div class="block">It takes an array of doubles, adds them all together, divides by the length
of the array, and
returns the result</div>
</dd>
<dt><a href="ann4j/NN.html#average(java.util.ArrayList)" class="member-name-link">average(ArrayList<Double>)</a> - Static method in class ann4j.<a href="ann4j/NN.html" title="class in ann4j">NN</a></dt>
<dd>
<div class="block">It takes an ArrayList of Doubles as input, and returns the average of the
elements in the
ArrayList</div>
</dd>
</dl>
<h2 class="title" id="I:B">B</h2>
<dl class="index">
<dt><a href="ann4j/Connection.html#backPropagate()" class="member-name-link">backPropagate()</a> - Method in class ann4j.<a href="ann4j/Connection.html" title="class in ann4j">Connection</a></dt>
<dd>
<div class="block">The backpropagation algorithm is calculating the gradient of the loss function with respect to
the weight.</div>
</dd>
<dt><a href="ann4j/Layer.html#backwardPropagate()" class="member-name-link">backwardPropagate()</a> - Method in class ann4j.<a href="ann4j/Layer.html" title="class in ann4j">Layer</a></dt>
<dd>
<div class="block">This function iterates through the list of neurons and calls the backwardPropagate method on each
neuron</div>
</dd>
<dt><a href="ann4j/LayerManager.html#backwardPropagate()" class="member-name-link">backwardPropagate()</a> - Method in class ann4j.<a href="ann4j/LayerManager.html" title="class in ann4j">LayerManager</a></dt>
<dd>
<div class="block">For each layer in the network, starting from the last layer, call the backwardPropagate
function of that layer</div>
</dd>
<dt><a href="ann4j/Neuron.html#backwardPropagate()" class="member-name-link">backwardPropagate()</a> - Method in class ann4j.<a href="ann4j/Neuron.html" title="class in ann4j">Neuron</a></dt>
<dd>
<div class="block">The neuron first sets its delta, then backpropagates through all of its left
connections, and
then changes its bias</div>
</dd>
<dt><a href="ann4j/Neuron.html#bias" class="member-name-link">bias</a> - Variable in class ann4j.<a href="ann4j/Neuron.html" title="class in ann4j">Neuron</a></dt>
<dd> </dd>
</dl>
<h2 class="title" id="I:C">C</h2>
<dl class="index">
<dt><a href="ann4j/Connection.html#calculateActivationForwardPropagation()" class="member-name-link">calculateActivationForwardPropagation()</a> - Method in class ann4j.<a href="ann4j/Connection.html" title="class in ann4j">Connection</a></dt>
<dd>
<div class="block">Calculate the activation of the left neuron times the weight of the connection.</div>
</dd>
<dt><a href="ann4j/LayerManager.html#calculateMSE()" class="member-name-link">calculateMSE()</a> - Method in class ann4j.<a href="ann4j/LayerManager.html" title="class in ann4j">LayerManager</a></dt>
<dd>
<div class="block">This function calculates the mean squared error of the network</div>
</dd>
<dt><a href="ann4j/MeanSquaredErrorCalculator.html#calculateMSE(ann4j.OutputLayer,java.util.ArrayList)" class="member-name-link">calculateMSE(OutputLayer, ArrayList<Double>)</a> - Static method in class ann4j.<a href="ann4j/MeanSquaredErrorCalculator.html" title="class in ann4j">MeanSquaredErrorCalculator</a></dt>
<dd>
<div class="block">The function takes in an output layer and an array list of expected outputs.</div>
</dd>
<dt><a href="ann4j/Connection.html#changeWishlist" class="member-name-link">changeWishlist</a> - Variable in class ann4j.<a href="ann4j/Connection.html" title="class in ann4j">Connection</a></dt>
<dd> </dd>
<dt><a href="ann4j/NeuronObserver.html#clear()" class="member-name-link">clear()</a> - Method in class ann4j.<a href="ann4j/NeuronObserver.html" title="class in ann4j">NeuronObserver</a></dt>
<dd>
<div class="block">Clearing the list of objects that this object will observe.</div>
</dd>
<dt><a href="ann4j/Observer.html#clear()" class="member-name-link">clear()</a> - Method in interface ann4j.<a href="ann4j/Observer.html" title="interface in ann4j">Observer</a></dt>
<dd> </dd>
<dt><a href="ann4j/ModelEvaluator.html#confusionMatrix" class="member-name-link">confusionMatrix</a> - Variable in class ann4j.<a href="ann4j/ModelEvaluator.html" title="class in ann4j">ModelEvaluator</a></dt>
<dd> </dd>
<dt><a href="ann4j/Connection.html" class="type-name-link" title="class in ann4j">Connection</a> - Class in <a href="ann4j/package-summary.html">ann4j</a></dt>
<dd> </dd>
<dt><a href="ann4j/Connection.html#%3Cinit%3E(ann4j.Neuron,ann4j.Neuron)" class="member-name-link">Connection(Neuron, Neuron)</a> - Constructor for class ann4j.<a href="ann4j/Connection.html" title="class in ann4j">Connection</a></dt>
<dd> </dd>
</dl>
<h2 class="title" id="I:D">D</h2>
<dl class="index">
<dt><a href="ann4j/Neuron.html#delta" class="member-name-link">delta</a> - Variable in class ann4j.<a href="ann4j/Neuron.html" title="class in ann4j">Neuron</a></dt>
<dd> </dd>
<dt><a href="ann4j/Neuron.html#deregisterObserver(ann4j.NeuronObserver)" class="member-name-link">deregisterObserver(NeuronObserver)</a> - Method in class ann4j.<a href="ann4j/Neuron.html" title="class in ann4j">Neuron</a></dt>
<dd> </dd>
<dt><a href="ann4j/Observable.html#deregisterObserver(ann4j.NeuronObserver)" class="member-name-link">deregisterObserver(NeuronObserver)</a> - Method in interface ann4j.<a href="ann4j/Observable.html" title="interface in ann4j">Observable</a></dt>
<dd>
<div class="block">Deregisters the observer from the observable</div>
</dd>
<dt><a href="ann4j/parameter.html#display()" class="member-name-link">display()</a> - Static method in class ann4j.<a href="ann4j/parameter.html" title="class in ann4j">parameter</a></dt>
<dd>
<div class="block">Ends the display of the current page.</div>
</dd>
</dl>
<h2 class="title" id="I:E">E</h2>
<dl class="index">
<dt><a href="ann4j/Writer.html#end()" class="member-name-link">end()</a> - Static method in class ann4j.<a href="ann4j/Writer.html" title="class in ann4j">Writer</a></dt>
<dd>
<div class="block">This function closes the file that we opened in the start() function</div>
</dd>
<dt><a href="ann4j/Neuron.html#exclude()" class="member-name-link">exclude()</a> - Method in class ann4j.<a href="ann4j/Neuron.html" title="class in ann4j">Neuron</a></dt>
<dd>
<div class="block">This function sets the value of the isIncluded variable to false, after which
it wont be included in forward propagation</div>
</dd>
<dt><a href="ann4j/Trainer.html#expectedLayer" class="member-name-link">expectedLayer</a> - Variable in class ann4j.<a href="ann4j/Trainer.html" title="class in ann4j">Trainer</a></dt>
<dd> </dd>
<dt><a href="ann4j/MNISTDataBaseFileReader.html#expectedOutputArray" class="member-name-link">expectedOutputArray</a> - Variable in class ann4j.<a href="ann4j/MNISTDataBaseFileReader.html" title="class in ann4j">MNISTDataBaseFileReader</a></dt>
<dd> </dd>
<dt><a href="ann4j/LayerManager.html#ExpectedOutputArrayList" class="member-name-link">ExpectedOutputArrayList</a> - Static variable in class ann4j.<a href="ann4j/LayerManager.html" title="class in ann4j">LayerManager</a></dt>
<dd> </dd>
</dl>
<h2 class="title" id="I:F">F</h2>
<dl class="index">
<dt><a href="ann4j/InputFileReader.html#filename" class="member-name-link">filename</a> - Variable in class ann4j.<a href="ann4j/InputFileReader.html" title="class in ann4j">InputFileReader</a></dt>
<dd> </dd>
<dt><a href="ann4j/MNISTDataBaseFileReader.html#fileName" class="member-name-link">fileName</a> - Variable in class ann4j.<a href="ann4j/MNISTDataBaseFileReader.html" title="class in ann4j">MNISTDataBaseFileReader</a></dt>
<dd> </dd>
<dt><a href="ann4j/Layer.html#forwardPropagate()" class="member-name-link">forwardPropagate()</a> - Method in class ann4j.<a href="ann4j/Layer.html" title="class in ann4j">Layer</a></dt>
<dd>
<div class="block">The forwardPropagate function iterates through the list of neurons and calls the forwardPropagate
method on each neuron</div>
</dd>
<dt><a href="ann4j/LayerManager.html#forwardPropagate()" class="member-name-link">forwardPropagate()</a> - Method in class ann4j.<a href="ann4j/LayerManager.html" title="class in ann4j">LayerManager</a></dt>
<dd>
<div class="block">The forwardPropagate() method is called on every layer in the listOfLayers ArrayList, except the
input layer</div>
</dd>
<dt><a href="ann4j/Neuron.html#forwardPropagate()" class="member-name-link">forwardPropagate()</a> - Method in class ann4j.<a href="ann4j/Neuron.html" title="class in ann4j">Neuron</a></dt>
<dd>
<div class="block">The activation of the neuron is set to the rectified value of the weighted
sum of the left
connections plus the bias</div>
</dd>
<dt><a href="ann4j/LayerManager.html#forwardPropagatewithExclusionInputLayer()" class="member-name-link">forwardPropagatewithExclusionInputLayer()</a> - Method in class ann4j.<a href="ann4j/LayerManager.html" title="class in ann4j">LayerManager</a></dt>
<dd>
<div class="block">The function calculates the relevance of each pixel in the input image by excluding each pixel
and calculating the loss function</div>
</dd>
<dt><a href="ann4j/Trainer.html#forwardPropagatewithExclusionInputLayerOnKSamples(int)" class="member-name-link">forwardPropagatewithExclusionInputLayerOnKSamples(int)</a> - Method in class ann4j.<a href="ann4j/Trainer.html" title="class in ann4j">Trainer</a></dt>
<dd> </dd>
</dl>
<h2 class="title" id="I:G">G</h2>
<dl class="index">
<dt><a href="ann4j/MNISTDataBaseFileReader.html#generateExpectedOutputArrayFromLabel()" class="member-name-link">generateExpectedOutputArrayFromLabel()</a> - Method in class ann4j.<a href="ann4j/MNISTDataBaseFileReader.html" title="class in ann4j">MNISTDataBaseFileReader</a></dt>
<dd>
<div class="block">This function is responsible for generating the output neurons</div>
</dd>
<dt><a href="ann4j/MNISTDataBaseFileReader.html#generateInputFromBigArray(java.util.ArrayList)" class="member-name-link">generateInputFromBigArray(ArrayList<Double>)</a> - Method in class ann4j.<a href="ann4j/MNISTDataBaseFileReader.html" title="class in ann4j">MNISTDataBaseFileReader</a></dt>
<dd>
<div class="block">It takes the array of all the values in the dataset and returns an array of all the values
except the first one</div>
</dd>
<dt><a href="ann4j/ModelEvaluator.html#getAccuracy()" class="member-name-link">getAccuracy()</a> - Method in class ann4j.<a href="ann4j/ModelEvaluator.html" title="class in ann4j">ModelEvaluator</a></dt>
<dd>
<div class="block">It returns the accuracy of the player as a percentage</div>
</dd>
<dt><a href="ann4j/Neuron.html#getActivation()" class="member-name-link">getActivation()</a> - Method in class ann4j.<a href="ann4j/Neuron.html" title="class in ann4j">Neuron</a></dt>
<dd>
<div class="block">This function returns the activation of the neuron</div>
</dd>
<dt><a href="ann4j/Connection.html#getBackwardWeightedSum()" class="member-name-link">getBackwardWeightedSum()</a> - Method in class ann4j.<a href="ann4j/Connection.html" title="class in ann4j">Connection</a></dt>
<dd>
<div class="block">The function returns the gradient of the loss function with respect to the weight</div>
</dd>
<dt><a href="ann4j/parameter.html#getBatchsize()" class="member-name-link">getBatchsize()</a> - Static method in class ann4j.<a href="ann4j/parameter.html" title="class in ann4j">parameter</a></dt>
<dd> </dd>
<dt><a href="ann4j/Neuron.html#getBias()" class="member-name-link">getBias()</a> - Method in class ann4j.<a href="ann4j/Neuron.html" title="class in ann4j">Neuron</a></dt>
<dd>
<div class="block">This function returns the bias of the neuron</div>
</dd>
<dt><a href="ann4j/parameter.html#getBiasLearningRate()" class="member-name-link">getBiasLearningRate()</a> - Static method in class ann4j.<a href="ann4j/parameter.html" title="class in ann4j">parameter</a></dt>
<dd>
<div class="block">This function returns the bias learning rate</div>
</dd>
<dt><a href="ann4j/LayerManager.html#getconfidence()" class="member-name-link">getconfidence()</a> - Method in class ann4j.<a href="ann4j/LayerManager.html" title="class in ann4j">LayerManager</a></dt>
<dd>
<div class="block">It returns the confidence of the most significant neuron in the output layer</div>
</dd>
<dt><a href="ann4j/Neuron.html#getDelta()" class="member-name-link">getDelta()</a> - Method in class ann4j.<a href="ann4j/Neuron.html" title="class in ann4j">Neuron</a></dt>
<dd>
<div class="block">This function returns the value of the delta variable</div>
</dd>
<dt><a href="ann4j/parameter.html#getEpsillion()" class="member-name-link">getEpsillion()</a> - Static method in class ann4j.<a href="ann4j/parameter.html" title="class in ann4j">parameter</a></dt>
<dd>
<div class="block">Get the value of epsillion for relevance propagation</div>
</dd>
<dt><a href="ann4j/InputFileReader.html#getExpectedOutputArray()" class="member-name-link">getExpectedOutputArray()</a> - Method in class ann4j.<a href="ann4j/InputFileReader.html" title="class in ann4j">InputFileReader</a></dt>
<dd>
<div class="block">This function returns an ArrayList of Doubles that represents the expected output of the neural
network</div>
</dd>
<dt><a href="ann4j/MNISTDataBaseFileReader.html#getExpectedOutputArray()" class="member-name-link">getExpectedOutputArray()</a> - Method in class ann4j.<a href="ann4j/MNISTDataBaseFileReader.html" title="class in ann4j">MNISTDataBaseFileReader</a></dt>
<dd>
<div class="block">This function returns the expected output array</div>
</dd>
<dt><a href="ann4j/InputFileReader.html#getInputArray()" class="member-name-link">getInputArray()</a> - Method in class ann4j.<a href="ann4j/InputFileReader.html" title="class in ann4j">InputFileReader</a></dt>
<dd>
<div class="block">This function returns an ArrayList of Doubles that represents the input layer of the neural
network</div>
</dd>
<dt><a href="ann4j/MNISTDataBaseFileReader.html#getInputArray()" class="member-name-link">getInputArray()</a> - Method in class ann4j.<a href="ann4j/MNISTDataBaseFileReader.html" title="class in ann4j">MNISTDataBaseFileReader</a></dt>
<dd>
<div class="block">This function returns the inputArray</div>
</dd>
<dt><a href="ann4j/LayerManager.html#getInputLayer()" class="member-name-link">getInputLayer()</a> - Method in class ann4j.<a href="ann4j/LayerManager.html" title="class in ann4j">LayerManager</a></dt>
<dd>
<div class="block">This function returns the input layer of the neural network.</div>
</dd>
<dt><a href="ann4j/HiddenLayerNeuronBehaviour.html#getInstance()" class="member-name-link">getInstance()</a> - Static method in class ann4j.<a href="ann4j/HiddenLayerNeuronBehaviour.html" title="class in ann4j">HiddenLayerNeuronBehaviour</a></dt>
<dd>
<div class="block">The function returns an instance of the class if one exists, otherwise it creates a new
instance and returns it</div>
</dd>
<dt><a href="ann4j/InputLayerNeuronBehaviour.html#getInstance()" class="member-name-link">getInstance()</a> - Static method in class ann4j.<a href="ann4j/InputLayerNeuronBehaviour.html" title="class in ann4j">InputLayerNeuronBehaviour</a></dt>
<dd>
<div class="block">(singleton pattern) If the instance of the class is null, create a new instance of the class and return it</div>
</dd>
<dt><a href="ann4j/OutputLayerNeuronBehaviour.html#getInstance()" class="member-name-link">getInstance()</a> - Static method in class ann4j.<a href="ann4j/OutputLayerNeuronBehaviour.html" title="class in ann4j">OutputLayerNeuronBehaviour</a></dt>
<dd>
<div class="block">If myInstance is null, create a new instance of OutputLayerNeuronBehaviour and assign it to
myInstance.</div>
</dd>
<dt><a href="ann4j/InputFileReader.html#getLabel()" class="member-name-link">getLabel()</a> - Method in class ann4j.<a href="ann4j/InputFileReader.html" title="class in ann4j">InputFileReader</a></dt>
<dd>
<div class="block">This function returns the label.</div>
</dd>
<dt><a href="ann4j/MNISTDataBaseFileReader.html#getLabel()" class="member-name-link">getLabel()</a> - Method in class ann4j.<a href="ann4j/MNISTDataBaseFileReader.html" title="class in ann4j">MNISTDataBaseFileReader</a></dt>
<dd>
<div class="block">This function is responsible for setting the labels of the data.</div>
</dd>
<dt><a href="ann4j/LayerManager.html#getLayer(int)" class="member-name-link">getLayer(int)</a> - Method in class ann4j.<a href="ann4j/LayerManager.html" title="class in ann4j">LayerManager</a></dt>
<dd>
<div class="block">This function returns the layer at the specified index</div>
</dd>
<dt><a href="ann4j/parameter.html#getLayerArray()" class="member-name-link">getLayerArray()</a> - Static method in class ann4j.<a href="ann4j/parameter.html" title="class in ann4j">parameter</a></dt>
<dd> </dd>
<dt><a href="ann4j/Trainer.html#getLayerManager()" class="member-name-link">getLayerManager()</a> - Method in class ann4j.<a href="ann4j/Trainer.html" title="class in ann4j">Trainer</a></dt>
<dd>
<div class="block">Returns the LayerManager object that is used to manage the layers in this map.</div>
</dd>
<dt><a href="ann4j/Neuron.html#getLayerNum()" class="member-name-link">getLayerNum()</a> - Method in class ann4j.<a href="ann4j/Neuron.html" title="class in ann4j">Neuron</a></dt>
<dd>
<div class="block">This function returns the layer number of the neuron</div>
</dd>
<dt><a href="ann4j/parameter.html#getLearningRate()" class="member-name-link">getLearningRate()</a> - Static method in class ann4j.<a href="ann4j/parameter.html" title="class in ann4j">parameter</a></dt>
<dd> </dd>
<dt><a href="ann4j/Layer.html#getListOfNeurons()" class="member-name-link">getListOfNeurons()</a> - Method in class ann4j.<a href="ann4j/Layer.html" title="class in ann4j">Layer</a></dt>
<dd>
<div class="block">This function returns the list of neurons in the layer</div>
</dd>
<dt><a href="ann4j/parameter.html#getModelEvaluator()" class="member-name-link">getModelEvaluator()</a> - Static method in class ann4j.<a href="ann4j/parameter.html" title="class in ann4j">parameter</a></dt>
<dd>
<div class="block">> The function `getModelEvaluator()` returns a new instance of the class `ModelEvaluator`</div>
</dd>
<dt><a href="ann4j/Trainer.html#getModelEvaluator()" class="member-name-link">getModelEvaluator()</a> - Method in class ann4j.<a href="ann4j/Trainer.html" title="class in ann4j">Trainer</a></dt>
<dd>
<div class="block">This function returns the model evaluator</div>
</dd>
<dt><a href="ann4j/LayerManager.html#getMostSignificantNeuronAsPredictionInHiddenLayer()" class="member-name-link">getMostSignificantNeuronAsPredictionInHiddenLayer()</a> - Method in class ann4j.<a href="ann4j/LayerManager.html" title="class in ann4j">LayerManager</a></dt>
<dd>
<div class="block">It returns the index of the most significant neuron in the hidden layer</div>
</dd>
<dt><a href="ann4j/LayerManager.html#getMostSignificantNeuronNumAsPrediction()" class="member-name-link">getMostSignificantNeuronNumAsPrediction()</a> - Method in class ann4j.<a href="ann4j/LayerManager.html" title="class in ann4j">LayerManager</a></dt>
<dd>
<div class="block">It returns the index of the neuron in the output layer that has the highest activation value</div>
</dd>
<dt><a href="ann4j/Layer.html#getNeuron(int)" class="member-name-link">getNeuron(int)</a> - Method in class ann4j.<a href="ann4j/Layer.html" title="class in ann4j">Layer</a></dt>
<dd>
<div class="block">This function returns the neuron at the specified index in the list of neurons</div>
</dd>
<dt><a href="ann4j/Neuron.html#getNeuronNum()" class="member-name-link">getNeuronNum()</a> - Method in class ann4j.<a href="ann4j/Neuron.html" title="class in ann4j">Neuron</a></dt>
<dd>
<div class="block">This function returns the number of neurons in the layer</div>
</dd>
<dt><a href="ann4j/LayerManager.html#getNeuronNumberToBeTestedinRelavancePropagation()" class="member-name-link">getNeuronNumberToBeTestedinRelavancePropagation()</a> - Static method in class ann4j.<a href="ann4j/LayerManager.html" title="class in ann4j">LayerManager</a></dt>
<dd>
<div class="block">This function returns the number of neurons to be tested in relevance propagation</div>
</dd>
<dt><a href="ann4j/LayerManager.html#getOutput()" class="member-name-link">getOutput()</a> - Method in class ann4j.<a href="ann4j/LayerManager.html" title="class in ann4j">LayerManager</a></dt>
<dd>
<div class="block">Return the last layer in the listOfLayers ArrayList.</div>
</dd>
<dt><a href="ann4j/LayerManager.html#getOutputLayer()" class="member-name-link">getOutputLayer()</a> - Method in class ann4j.<a href="ann4j/LayerManager.html" title="class in ann4j">LayerManager</a></dt>
<dd>
<div class="block">This function returns the output layer of the neural network</div>
</dd>
<dt><a href="ann4j/InputFileReader.html#getPredictionFromNeuronNum(int)" class="member-name-link">getPredictionFromNeuronNum(int)</a> - Method in class ann4j.<a href="ann4j/InputFileReader.html" title="class in ann4j">InputFileReader</a></dt>
<dd>
<div class="block">> This function takes in the most significant neuron number and returns the prediction</div>
</dd>
<dt><a href="ann4j/MNISTDataBaseFileReader.html#getPredictionFromNeuronNum(int)" class="member-name-link">getPredictionFromNeuronNum(int)</a> - Method in class ann4j.<a href="ann4j/MNISTDataBaseFileReader.html" title="class in ann4j">MNISTDataBaseFileReader</a></dt>
<dd> </dd>
<dt><a href="ann4j/NN.html#getRandom()" class="member-name-link">getRandom()</a> - Static method in class ann4j.<a href="ann4j/NN.html" title="class in ann4j">NN</a></dt>
<dd>
<div class="block">This function returns a random number between 0 and 1.</div>
</dd>
<dt><a href="ann4j/Layer.html#getSize()" class="member-name-link">getSize()</a> - Method in class ann4j.<a href="ann4j/Layer.html" title="class in ann4j">Layer</a></dt>
<dd>
<div class="block">This function returns the number of neurons in the layer</div>
</dd>
<dt><a href="ann4j/NN.html#getSmallSignedRandom()" class="member-name-link">getSmallSignedRandom()</a> - Static method in class ann4j.<a href="ann4j/NN.html" title="class in ann4j">NN</a></dt>
<dd>
<div class="block">It returns a random number between -0.5 and 0.5</div>
</dd>
<dt><a href="ann4j/ModelEvaluator.html#getTestingAccuracy()" class="member-name-link">getTestingAccuracy()</a> - Method in class ann4j.<a href="ann4j/ModelEvaluator.html" title="class in ann4j">ModelEvaluator</a></dt>
<dd>
<div class="block">This function returns the testing accuracy of the model</div>
</dd>
<dt><a href="ann4j/parameter.html#getTestingFileReader()" class="member-name-link">getTestingFileReader()</a> - Static method in class ann4j.<a href="ann4j/parameter.html" title="class in ann4j">parameter</a></dt>
<dd>
<div class="block">This function returns the testingFileReader object</div>
</dd>
<dt><a href="ann4j/ModelEvaluator.html#getTrainingAccuracy()" class="member-name-link">getTrainingAccuracy()</a> - Method in class ann4j.<a href="ann4j/ModelEvaluator.html" title="class in ann4j">ModelEvaluator</a></dt>
<dd>
<div class="block">This function returns the training accuracy of the model</div>
</dd>
<dt><a href="ann4j/parameter.html#getTrainingFileReader()" class="member-name-link">getTrainingFileReader()</a> - Static method in class ann4j.<a href="ann4j/parameter.html" title="class in ann4j">parameter</a></dt>
<dd>
<div class="block">This function returns the trainingFileReader object</div>
</dd>
<dt><a href="ann4j/Connection.html#getWeight()" class="member-name-link">getWeight()</a> - Method in class ann4j.<a href="ann4j/Connection.html" title="class in ann4j">Connection</a></dt>
<dd>
<div class="block">This function returns the weight of the object</div>
</dd>
<dt><a href="ann4j/Neuron.html#getWeightedSum()" class="member-name-link">getWeightedSum()</a> - Method in class ann4j.<a href="ann4j/Neuron.html" title="class in ann4j">Neuron</a></dt>
<dd>
<div class="block">It calculates the weighted sum of the left connections of the neuron</div>
</dd>
</dl>
<h2 class="title" id="I:H">H</h2>
<dl class="index">
<dt><a href="ann4j/HiddenLayer.html" class="type-name-link" title="class in ann4j">HiddenLayer</a> - Class in <a href="ann4j/package-summary.html">ann4j</a></dt>
<dd> </dd>
<dt><a href="ann4j/HiddenLayer.html#%3Cinit%3E(int)" class="member-name-link">HiddenLayer(int)</a> - Constructor for class ann4j.<a href="ann4j/HiddenLayer.html" title="class in ann4j">HiddenLayer</a></dt>
<dd> </dd>
<dt><a href="ann4j/HiddenLayerNeuronBehaviour.html" class="type-name-link" title="class in ann4j">HiddenLayerNeuronBehaviour</a> - Class in <a href="ann4j/package-summary.html">ann4j</a></dt>
<dd> </dd>
</dl>
<h2 class="title" id="I:I">I</h2>
<dl class="index">
<dt><a href="ann4j/Neuron.html#include()" class="member-name-link">include()</a> - Method in class ann4j.<a href="ann4j/Neuron.html" title="class in ann4j">Neuron</a></dt>
<dd>
<div class="block">This function sets the isIncluded variable to true after which it will be
included in forward propagation</div>
</dd>
<dt><a href="ann4j/ModelEvaluator.html#initializeList(int)" class="member-name-link">initializeList(int)</a> - Method in class ann4j.<a href="ann4j/ModelEvaluator.html" title="class in ann4j">ModelEvaluator</a></dt>
<dd>
<div class="block">Initialize the confusion matrix to all zeros</div>
</dd>
<dt><a href="ann4j/Connection.html#initializeWeights()" class="member-name-link">initializeWeights()</a> - Method in class ann4j.<a href="ann4j/Connection.html" title="class in ann4j">Connection</a></dt>
<dd>
<div class="block">This function initializes the weight of the connection to a small random number</div>
</dd>
<dt><a href="ann4j/MNISTDataBaseFileReader.html#inputArray" class="member-name-link">inputArray</a> - Variable in class ann4j.<a href="ann4j/MNISTDataBaseFileReader.html" title="class in ann4j">MNISTDataBaseFileReader</a></dt>
<dd> </dd>
<dt><a href="ann4j/InputFileReader.html" class="type-name-link" title="class in ann4j">InputFileReader</a> - Class in <a href="ann4j/package-summary.html">ann4j</a></dt>
<dd> </dd>
<dt><a href="ann4j/InputFileReader.html#%3Cinit%3E(java.lang.String)" class="member-name-link">InputFileReader(String)</a> - Constructor for class ann4j.<a href="ann4j/InputFileReader.html" title="class in ann4j">InputFileReader</a></dt>
<dd> </dd>
<dt><a href="ann4j/LayerManager.html#inputLayer" class="member-name-link">inputLayer</a> - Variable in class ann4j.<a href="ann4j/LayerManager.html" title="class in ann4j">LayerManager</a></dt>
<dd> </dd>
<dt><a href="ann4j/Trainer.html#inputLayer" class="member-name-link">inputLayer</a> - Variable in class ann4j.<a href="ann4j/Trainer.html" title="class in ann4j">Trainer</a></dt>
<dd> </dd>
<dt><a href="ann4j/InputLayer.html" class="type-name-link" title="class in ann4j">InputLayer</a> - Class in <a href="ann4j/package-summary.html">ann4j</a></dt>
<dd> </dd>
<dt><a href="ann4j/InputLayer.html#%3Cinit%3E(int)" class="member-name-link">InputLayer(int)</a> - Constructor for class ann4j.<a href="ann4j/InputLayer.html" title="class in ann4j">InputLayer</a></dt>
<dd> </dd>
<dt><a href="ann4j/InputLayerNeuronBehaviour.html" class="type-name-link" title="class in ann4j">InputLayerNeuronBehaviour</a> - Class in <a href="ann4j/package-summary.html">ann4j</a></dt>
<dd> </dd>
</dl>
<h2 class="title" id="I:L">L</h2>
<dl class="index">
<dt><a href="ann4j/MNISTDataBaseFileReader.html#label" class="member-name-link">label</a> - Variable in class ann4j.<a href="ann4j/MNISTDataBaseFileReader.html" title="class in ann4j">MNISTDataBaseFileReader</a></dt>
<dd> </dd>
<dt><a href="ann4j/Trainer.html#label" class="member-name-link">label</a> - Variable in class ann4j.<a href="ann4j/Trainer.html" title="class in ann4j">Trainer</a></dt>
<dd> </dd>
<dt><a href="ann4j/Layer.html" class="type-name-link" title="class in ann4j">Layer</a> - Class in <a href="ann4j/package-summary.html">ann4j</a></dt>
<dd> </dd>
<dt><a href="ann4j/Layer.html#%3Cinit%3E(int)" class="member-name-link">Layer(int)</a> - Constructor for class ann4j.<a href="ann4j/Layer.html" title="class in ann4j">Layer</a></dt>
<dd> </dd>
<dt><a href="ann4j/LayerManager.html" class="type-name-link" title="class in ann4j">LayerManager</a> - Class in <a href="ann4j/package-summary.html">ann4j</a></dt>
<dd> </dd>
<dt><a href="ann4j/LayerManager.html#%3Cinit%3E(int%5B%5D)" class="member-name-link">LayerManager(int[])</a> - Constructor for class ann4j.<a href="ann4j/LayerManager.html" title="class in ann4j">LayerManager</a></dt>
<dd> </dd>
<dt><a href="ann4j/Layer.html#layerNum" class="member-name-link">layerNum</a> - Variable in class ann4j.<a href="ann4j/Layer.html" title="class in ann4j">Layer</a></dt>
<dd> </dd>
<dt><a href="ann4j/Neuron.html#layerNum" class="member-name-link">layerNum</a> - Variable in class ann4j.<a href="ann4j/Neuron.html" title="class in ann4j">Neuron</a></dt>
<dd> </dd>
<dt><a href="ann4j/NN.html#leakyrelu(double)" class="member-name-link">leakyrelu(double)</a> - Static method in class ann4j.<a href="ann4j/NN.html" title="class in ann4j">NN</a></dt>
<dd>
<div class="block">If the number is greater than 0, return the number, else return 0.1 times the
number</div>
</dd>
<dt><a href="ann4j/Neuron.html#leftConnections" class="member-name-link">leftConnections</a> - Variable in class ann4j.<a href="ann4j/Neuron.html" title="class in ann4j">Neuron</a></dt>
<dd> </dd>
<dt><a href="ann4j/Connection.html#leftNeuron" class="member-name-link">leftNeuron</a> - Variable in class ann4j.<a href="ann4j/Connection.html" title="class in ann4j">Connection</a></dt>
<dd> </dd>
<dt><a href="ann4j/LayerManager.html#listOfLayers" class="member-name-link">listOfLayers</a> - Variable in class ann4j.<a href="ann4j/LayerManager.html" title="class in ann4j">LayerManager</a></dt>
<dd> </dd>
<dt><a href="ann4j/Layer.html#listOfNeurons" class="member-name-link">listOfNeurons</a> - Variable in class ann4j.<a href="ann4j/Layer.html" title="class in ann4j">Layer</a></dt>
<dd> </dd>
<dt><a href="ann4j/LayerManager.html#lossFunction" class="member-name-link">lossFunction</a> - Static variable in class ann4j.<a href="ann4j/LayerManager.html" title="class in ann4j">LayerManager</a></dt>
<dd> </dd>
</dl>
<h2 class="title" id="I:M">M</h2>
<dl class="index">
<dt><a href="Main.html#main(java.lang.String%5B%5D)" class="member-name-link">main(String[])</a> - Static method in class <a href="Main.html" title="class in Unnamed Package">Main</a></dt>
<dd> </dd>
<dt><a href="Main.html" class="type-name-link" title="class in Unnamed Package">Main</a> - Class in <a href="package-summary.html">Unnamed Package</a></dt>
<dd> </dd>
<dt><a href="Main.html#%3Cinit%3E()" class="member-name-link">Main()</a> - Constructor for class <a href="Main.html" title="class in Unnamed Package">Main</a></dt>
<dd> </dd>
<dt><a href="ann4j/MeanSquaredErrorCalculator.html" class="type-name-link" title="class in ann4j">MeanSquaredErrorCalculator</a> - Class in <a href="ann4j/package-summary.html">ann4j</a></dt>
<dd> </dd>
<dt><a href="ann4j/MeanSquaredErrorCalculator.html#%3Cinit%3E()" class="member-name-link">MeanSquaredErrorCalculator()</a> - Constructor for class ann4j.<a href="ann4j/MeanSquaredErrorCalculator.html" title="class in ann4j">MeanSquaredErrorCalculator</a></dt>
<dd> </dd>
<dt><a href="ann4j/MNISTDataBaseFileReader.html" class="type-name-link" title="class in ann4j">MNISTDataBaseFileReader</a> - Class in <a href="ann4j/package-summary.html">ann4j</a></dt>
<dd> </dd>
<dt><a href="ann4j/MNISTDataBaseFileReader.html#%3Cinit%3E(java.lang.String,int)" class="member-name-link">MNISTDataBaseFileReader(String, int)</a> - Constructor for class ann4j.<a href="ann4j/MNISTDataBaseFileReader.html" title="class in ann4j">MNISTDataBaseFileReader</a></dt>
<dd> </dd>
<dt><a href="ann4j/ModelEvaluator.html" class="type-name-link" title="class in ann4j">ModelEvaluator</a> - Class in <a href="ann4j/package-summary.html">ann4j</a></dt>
<dd> </dd>
<dt><a href="ann4j/ModelEvaluator.html#%3Cinit%3E()" class="member-name-link">ModelEvaluator()</a> - Constructor for class ann4j.<a href="ann4j/ModelEvaluator.html" title="class in ann4j">ModelEvaluator</a></dt>
<dd> </dd>
<dt><a href="ann4j/Layer.html#myBehaviour" class="member-name-link">myBehaviour</a> - Variable in class ann4j.<a href="ann4j/Layer.html" title="class in ann4j">Layer</a></dt>
<dd> </dd>
<dt><a href="ann4j/Neuron.html#myBehaviour" class="member-name-link">myBehaviour</a> - Variable in class ann4j.<a href="ann4j/Neuron.html" title="class in ann4j">Neuron</a></dt>
<dd> </dd>
<dt><a href="ann4j/Trainer.html#myLayerManager" class="member-name-link">myLayerManager</a> - Variable in class ann4j.<a href="ann4j/Trainer.html" title="class in ann4j">Trainer</a></dt>
<dd> </dd>
<dt><a href="ann4j/Writer.html#myWriter" class="member-name-link">myWriter</a> - Static variable in class ann4j.<a href="ann4j/Writer.html" title="class in ann4j">Writer</a></dt>
<dd> </dd>
</dl>
<h2 class="title" id="I:N">N</h2>
<dl class="index">
<dt><a href="ann4j/Neuron.html" class="type-name-link" title="class in ann4j">Neuron</a> - Class in <a href="ann4j/package-summary.html">ann4j</a></dt>
<dd> </dd>
<dt><a href="ann4j/Neuron.html#%3Cinit%3E()" class="member-name-link">Neuron()</a> - Constructor for class ann4j.<a href="ann4j/Neuron.html" title="class in ann4j">Neuron</a></dt>
<dd> </dd>
<dt><a href="ann4j/NeuronBehaviour.html" class="type-name-link" title="interface in ann4j">NeuronBehaviour</a> - Interface in <a href="ann4j/package-summary.html">ann4j</a></dt>
<dd> </dd>
<dt><a href="ann4j/Neuron.html#neuronNum" class="member-name-link">neuronNum</a> - Variable in class ann4j.<a href="ann4j/Neuron.html" title="class in ann4j">Neuron</a></dt>
<dd> </dd>
<dt><a href="ann4j/NeuronObserver.html" class="type-name-link" title="class in ann4j">NeuronObserver</a> - Class in <a href="ann4j/package-summary.html">ann4j</a></dt>
<dd> </dd>
<dt><a href="ann4j/NeuronObserver.html#%3Cinit%3E()" class="member-name-link">NeuronObserver()</a> - Constructor for class ann4j.<a href="ann4j/NeuronObserver.html" title="class in ann4j">NeuronObserver</a></dt>
<dd> </dd>
<dt><a href="ann4j/InputFileReader.html#next()" class="member-name-link">next()</a> - Method in class ann4j.<a href="ann4j/InputFileReader.html" title="class in ann4j">InputFileReader</a></dt>
<dd>
<div class="block">This function goes to next line of the inputfile and is responsible for setting all input parameters</div>
</dd>
<dt><a href="ann4j/MNISTDataBaseFileReader.html#next()" class="member-name-link">next()</a> - Method in class ann4j.<a href="ann4j/MNISTDataBaseFileReader.html" title="class in ann4j">MNISTDataBaseFileReader</a></dt>
<dd>
<div class="block">It reads the next line of the file, converts it into a two double arrays, and then sets the
label and expected output array</div>
</dd>
<dt><a href="ann4j/NN.html" class="type-name-link" title="class in ann4j">NN</a> - Class in <a href="ann4j/package-summary.html">ann4j</a></dt>
<dd> </dd>
<dt><a href="ann4j/Neuron.html#notifyObservers(java.lang.String)" class="member-name-link">notifyObservers(String)</a> - Method in class ann4j.<a href="ann4j/Neuron.html" title="class in ann4j">Neuron</a></dt>
<dd>
<div class="block">For each observer in the observerList, call the update function of that
observer, passing in the
info and this neuron, which will be typecasted later.</div>
</dd>
<dt><a href="ann4j/Observable.html#notifyObservers(java.lang.String)" class="member-name-link">notifyObservers(String)</a> - Method in interface ann4j.<a href="ann4j/Observable.html" title="interface in ann4j">Observable</a></dt>
<dd>
<div class="block">Notify all observers of a change in the subject.</div>
</dd>
<dt><a href="ann4j/parameter.html#numberOfInputNeurons" class="member-name-link">numberOfInputNeurons</a> - Static variable in class ann4j.<a href="ann4j/parameter.html" title="class in ann4j">parameter</a></dt>
<dd> </dd>
<dt><a href="ann4j/parameter.html#numberOfOutputNeurons" class="member-name-link">numberOfOutputNeurons</a> - Static variable in class ann4j.<a href="ann4j/parameter.html" title="class in ann4j">parameter</a></dt>
<dd> </dd>
</dl>
<h2 class="title" id="I:O">O</h2>
<dl class="index">
<dt><a href="ann4j/Observable.html" class="type-name-link" title="interface in ann4j">Observable</a> - Interface in <a href="ann4j/package-summary.html">ann4j</a></dt>
<dd> </dd>
<dt><a href="ann4j/NeuronObserver.html#observableList" class="member-name-link">observableList</a> - Variable in class ann4j.<a href="ann4j/NeuronObserver.html" title="class in ann4j">NeuronObserver</a></dt>
<dd> </dd>
<dt><a href="ann4j/Observer.html" class="type-name-link" title="interface in ann4j">Observer</a> - Interface in <a href="ann4j/package-summary.html">ann4j</a></dt>
<dd> </dd>
<dt><a href="ann4j/Neuron.html#observerList" class="member-name-link">observerList</a> - Variable in class ann4j.<a href="ann4j/Neuron.html" title="class in ann4j">Neuron</a></dt>
<dd> </dd>
<dt><a href="ann4j/LayerManager.html#outputLayer" class="member-name-link">outputLayer</a> - Variable in class ann4j.<a href="ann4j/LayerManager.html" title="class in ann4j">LayerManager</a></dt>
<dd> </dd>
<dt><a href="ann4j/OutputLayer.html" class="type-name-link" title="class in ann4j">OutputLayer</a> - Class in <a href="ann4j/package-summary.html">ann4j</a></dt>
<dd> </dd>
<dt><a href="ann4j/OutputLayer.html#%3Cinit%3E(int)" class="member-name-link">OutputLayer(int)</a> - Constructor for class ann4j.<a href="ann4j/OutputLayer.html" title="class in ann4j">OutputLayer</a></dt>
<dd> </dd>
<dt><a href="ann4j/MNISTDataBaseFileReader.html#outputLayerLength" class="member-name-link">outputLayerLength</a> - Variable in class ann4j.<a href="ann4j/MNISTDataBaseFileReader.html" title="class in ann4j">MNISTDataBaseFileReader</a></dt>
<dd> </dd>
<dt><a href="ann4j/OutputLayerNeuronBehaviour.html" class="type-name-link" title="class in ann4j">OutputLayerNeuronBehaviour</a> - Class in <a href="ann4j/package-summary.html">ann4j</a></dt>
<dd> </dd>
</dl>
<h2 class="title" id="I:P">P</h2>
<dl class="index">
<dt><a href="ann4j/parameter.html" class="type-name-link" title="class in ann4j">parameter</a> - Class in <a href="ann4j/package-summary.html">ann4j</a></dt>
<dd> </dd>
<dt><a href="ann4j/parameter.html#%3Cinit%3E()" class="member-name-link">parameter()</a> - Constructor for class ann4j.<a href="ann4j/parameter.html" title="class in ann4j">parameter</a></dt>
<dd> </dd>
<dt><a href="ann4j/Trainer.html#printConfusionMatrix()" class="member-name-link">printConfusionMatrix()</a> - Method in class ann4j.<a href="ann4j/Trainer.html" title="class in ann4j">Trainer</a></dt>
<dd>
<div class="block">This function prints the confusion matrix of the model</div>
</dd>
<dt><a href="ann4j/ModelEvaluator.html#printConfusionMatrix(ann4j.InputFileReader)" class="member-name-link">printConfusionMatrix(InputFileReader)</a> - Method in class ann4j.<a href="ann4j/ModelEvaluator.html" title="class in ann4j">ModelEvaluator</a></dt>
<dd>
<div class="block">It prints the confusion matrix</div>
</dd>
<dt><a href="ann4j/Layer.html#printWeights()" class="member-name-link">printWeights()</a> - Method in class ann4j.<a href="ann4j/Layer.html" title="class in ann4j">Layer</a></dt>
<dd>
<div class="block">It prints the weights of the neurons</div>
</dd>
</dl>
<h2 class="title" id="I:R">R</h2>
<dl class="index">
<dt><a href="ann4j/MNISTDataBaseFileReader.html#readLineToDoubleArray()" class="member-name-link">readLineToDoubleArray()</a> - Method in class ann4j.<a href="ann4j/MNISTDataBaseFileReader.html" title="class in ann4j">MNISTDataBaseFileReader</a></dt>
<dd>
<div class="block">It reads the next line of the file, splits it into an array of strings, and then converts that
array of strings into an array of doubles</div>
</dd>
<dt><a href="ann4j/parameter.html#rectify(double)" class="member-name-link">rectify(double)</a> - Static method in class ann4j.<a href="ann4j/parameter.html" title="class in ann4j">parameter</a></dt>
<dd> </dd>
<dt><a href="ann4j/Neuron.html#registerObserver(ann4j.Observer)" class="member-name-link">registerObserver(Observer)</a> - Method in class ann4j.<a href="ann4j/Neuron.html" title="class in ann4j">Neuron</a></dt>
<dd> </dd>
<dt><a href="ann4j/Observable.html#registerObserver(ann4j.Observer)" class="member-name-link">registerObserver(Observer)</a> - Method in interface ann4j.<a href="ann4j/Observable.html" title="interface in ann4j">Observable</a></dt>
<dd>
<div class="block">Register an observer to be notified when the data changes.</div>
</dd>
<dt><a href="ann4j/Neuron.html#relevance" class="member-name-link">relevance</a> - Variable in class ann4j.<a href="ann4j/Neuron.html" title="class in ann4j">Neuron</a></dt>
<dd> </dd>
<dt><a href="ann4j/Layer.html#relevancePropagate()" class="member-name-link">relevancePropagate()</a> - Method in class ann4j.<a href="ann4j/Layer.html" title="class in ann4j">Layer</a></dt>
<dd>
<div class="block">This function iterates through the list of neurons and calls the relevancePropagate method on each
neuron</div>
</dd>
<dt><a href="ann4j/Neuron.html#relevancePropagate()" class="member-name-link">relevancePropagate()</a> - Method in class ann4j.<a href="ann4j/Neuron.html" title="class in ann4j">Neuron</a></dt>
<dd>
<div class="block">The function `relevancePropagate()` is called on the `myBehaviour` object,
which is of type
`Behaviour`, and the `this` object is passed as an argument</div>
</dd>
<dt><a href="ann4j/LayerManager.html#relevancePropagate(int,int)" class="member-name-link">relevancePropagate(int, int)</a> - Method in class ann4j.<a href="ann4j/LayerManager.html" title="class in ann4j">LayerManager</a></dt>
<dd>
<div class="block">The function takes in the layer number and the neuron number of the output layer and then
calculates the relevance of each pixel in the input layer</div>
</dd>
<dt><a href="ann4j/Trainer.html#relevancePropagate(int,int)" class="member-name-link">relevancePropagate(int, int)</a> - Method in class ann4j.<a href="ann4j/Trainer.html" title="class in ann4j">Trainer</a></dt>
<dd>
<div class="block">This function propagates relevance from the output layer to the input layer</div>
</dd>
<dt><a href="ann4j/HiddenLayerNeuronBehaviour.html#relevancePropagate(ann4j.Neuron)" class="member-name-link">relevancePropagate(Neuron)</a> - Method in class ann4j.<a href="ann4j/HiddenLayerNeuronBehaviour.html" title="class in ann4j">HiddenLayerNeuronBehaviour</a></dt>
<dd> </dd>
<dt><a href="ann4j/InputLayerNeuronBehaviour.html#relevancePropagate(ann4j.Neuron)" class="member-name-link">relevancePropagate(Neuron)</a> - Method in class ann4j.<a href="ann4j/InputLayerNeuronBehaviour.html" title="class in ann4j">InputLayerNeuronBehaviour</a></dt>
<dd> </dd>
<dt><a href="ann4j/NeuronBehaviour.html#relevancePropagate(ann4j.Neuron)" class="member-name-link">relevancePropagate(Neuron)</a> - Method in interface ann4j.<a href="ann4j/NeuronBehaviour.html" title="interface in ann4j">NeuronBehaviour</a></dt>
<dd>
<div class="block">This function propagates the relevance from the output layer to the input
layer</div>
</dd>
<dt><a href="ann4j/OutputLayerNeuronBehaviour.html#relevancePropagate(ann4j.Neuron)" class="member-name-link">relevancePropagate(Neuron)</a> - Method in class ann4j.<a href="ann4j/OutputLayerNeuronBehaviour.html" title="class in ann4j">OutputLayerNeuronBehaviour</a></dt>
<dd> </dd>
<dt><a href="ann4j/NN.html#relu(double)" class="member-name-link">relu(double)</a> - Static method in class ann4j.<a href="ann4j/NN.html" title="class in ann4j">NN</a></dt>
<dd>
<div class="block">If the number is greater than 0, return the number.</div>
</dd>
<dt><a href="ann4j/ModelEvaluator.html#reset()" class="member-name-link">reset()</a> - Method in class ann4j.<a href="ann4j/ModelEvaluator.html" title="class in ann4j">ModelEvaluator</a></dt>
<dd>
<div class="block">This function resets the confusion matrix, the correct counter, and the turns counter</div>
</dd>
<dt><a href="ann4j/ModelEvaluator.html#resetConfusionMatrix()" class="member-name-link">resetConfusionMatrix()</a> - Method in class ann4j.<a href="ann4j/ModelEvaluator.html" title="class in ann4j">ModelEvaluator</a></dt>
<dd> </dd>
<dt><a href="ann4j/InputFileReader.html#restart()" class="member-name-link">restart()</a> - Method in class ann4j.<a href="ann4j/InputFileReader.html" title="class in ann4j">InputFileReader</a></dt>
<dd>
<div class="block">This function restarts the file reader.</div>
</dd>
<dt><a href="ann4j/MNISTDataBaseFileReader.html#restart()" class="member-name-link">restart()</a> - Method in class ann4j.<a href="ann4j/MNISTDataBaseFileReader.html" title="class in ann4j">MNISTDataBaseFileReader</a></dt>
<dd> </dd>
<dt><a href="ann4j/Neuron.html#rightConnections" class="member-name-link">rightConnections</a> - Variable in class ann4j.<a href="ann4j/Neuron.html" title="class in ann4j">Neuron</a></dt>
<dd> </dd>
<dt><a href="ann4j/Connection.html#rightNeuron" class="member-name-link">rightNeuron</a> - Variable in class ann4j.<a href="ann4j/Connection.html" title="class in ann4j">Connection</a></dt>
<dd> </dd>
</dl>
<h2 class="title" id="I:S">S</h2>
<dl class="index">
<dt><a href="ann4j/Neuron.html#setActivation(double)" class="member-name-link">setActivation(double)</a> - Method in class ann4j.<a href="ann4j/Neuron.html" title="class in ann4j">Neuron</a></dt>
<dd>
<div class="block">This function sets the activation of the neuron to the value passed in as a
parameter</div>
</dd>
<dt><a href="ann4j/parameter.html#setBatchsize(int)" class="member-name-link">setBatchsize(int)</a> - Static method in class ann4j.<a href="ann4j/parameter.html" title="class in ann4j">parameter</a></dt>
<dd> </dd>
<dt><a href="ann4j/HiddenLayer.html#setBehaviour()" class="member-name-link">setBehaviour()</a> - Method in class ann4j.<a href="ann4j/HiddenLayer.html" title="class in ann4j">HiddenLayer</a></dt>
<dd> </dd>
<dt><a href="ann4j/InputLayer.html#setBehaviour()" class="member-name-link">setBehaviour()</a> - Method in class ann4j.<a href="ann4j/InputLayer.html" title="class in ann4j">InputLayer</a></dt>
<dd> </dd>
<dt><a href="ann4j/Layer.html#setBehaviour()" class="member-name-link">setBehaviour()</a> - Method in class ann4j.<a href="ann4j/Layer.html" title="class in ann4j">Layer</a></dt>
<dd>
<div class="block">The setBehaviour() function is an abstract function that is used to set the behaviour of the
animal.</div>
</dd>
<dt><a href="ann4j/OutputLayer.html#setBehaviour()" class="member-name-link">setBehaviour()</a> - Method in class ann4j.<a href="ann4j/OutputLayer.html" title="class in ann4j">OutputLayer</a></dt>
<dd> </dd>
<dt><a href="ann4j/Neuron.html#setBehaviour(ann4j.NeuronBehaviour)" class="member-name-link">setBehaviour(NeuronBehaviour)</a> - Method in class ann4j.<a href="ann4j/Neuron.html" title="class in ann4j">Neuron</a></dt>
<dd>
<div class="block">This function sets the behaviour of the neuron to the behaviour passed in as
a parameter.</div>
</dd>
<dt><a href="ann4j/NN.html#setBias()" class="member-name-link">setBias()</a> - Static method in class ann4j.<a href="ann4j/NN.html" title="class in ann4j">NN</a></dt>
<dd>
<div class="block">This function returns a random number between 0 and 0.1</div>
</dd>
<dt><a href="ann4j/parameter.html#setBiasLearningRate(double)" class="member-name-link">setBiasLearningRate(double)</a> - Static method in class ann4j.<a href="ann4j/parameter.html" title="class in ann4j">parameter</a></dt>
<dd>
<div class="block">This function sets the learning rate for the bias</div>
</dd>
<dt><a href="ann4j/Neuron.html#setDelta()" class="member-name-link">setDelta()</a> - Method in class ann4j.<a href="ann4j/Neuron.html" title="class in ann4j">Neuron</a></dt>
<dd>
<div class="block">The delta difference of the neuron in layer has been changed</div>
</dd>
<dt><a href="ann4j/HiddenLayerNeuronBehaviour.html#setDelta(ann4j.Neuron)" class="member-name-link">setDelta(Neuron)</a> - Method in class ann4j.<a href="ann4j/HiddenLayerNeuronBehaviour.html" title="class in ann4j">HiddenLayerNeuronBehaviour</a></dt>
<dd> </dd>
<dt><a href="ann4j/InputLayerNeuronBehaviour.html#setDelta(ann4j.Neuron)" class="member-name-link">setDelta(Neuron)</a> - Method in class ann4j.<a href="ann4j/InputLayerNeuronBehaviour.html" title="class in ann4j">InputLayerNeuronBehaviour</a></dt>
<dd> </dd>
<dt><a href="ann4j/NeuronBehaviour.html#setDelta(ann4j.Neuron)" class="member-name-link">setDelta(Neuron)</a> - Method in interface ann4j.<a href="ann4j/NeuronBehaviour.html" title="interface in ann4j">NeuronBehaviour</a></dt>
<dd>
<div class="block">This function sets the delta value of the neuron</div>
</dd>
<dt><a href="ann4j/OutputLayerNeuronBehaviour.html#setDelta(ann4j.Neuron)" class="member-name-link">setDelta(Neuron)</a> - Method in class ann4j.<a href="ann4j/OutputLayerNeuronBehaviour.html" title="class in ann4j">OutputLayerNeuronBehaviour</a></dt>
<dd> </dd>
<dt><a href="ann4j/parameter.html#setEpsillion(double)" class="member-name-link">setEpsillion(double)</a> - Static method in class ann4j.<a href="ann4j/parameter.html" title="class in ann4j">parameter</a></dt>
<dd>
<div class="block">This function sets the epsillion value to the value passed in</div>
</dd>
<dt><a href="ann4j/LayerManager.html#setExpectedOutputArray(java.util.ArrayList)" class="member-name-link">setExpectedOutputArray(ArrayList<Double>)</a> - Method in class ann4j.<a href="ann4j/LayerManager.html" title="class in ann4j">LayerManager</a></dt>
<dd>
<div class="block">This function takes an ArrayList of Doubles as an argument and sets the ExpectedOutputArrayList
variable to the argument</div>
</dd>
<dt><a href="ann4j/Writer.html#setFile(java.lang.String)" class="member-name-link">setFile(String)</a> - Static method in class ann4j.<a href="ann4j/Writer.html" title="class in ann4j">Writer</a></dt>
<dd> </dd>
<dt><a href="ann4j/InputLayer.html#setInput(java.util.ArrayList)" class="member-name-link">setInput(ArrayList<Double>)</a> - Method in class ann4j.<a href="ann4j/InputLayer.html" title="class in ann4j">InputLayer</a></dt>
<dd>
<div class="block">This is setting the activation of each neuron in the input layer to the corresponding value in
the input array</div>
</dd>
<dt><a href="ann4j/LayerManager.html#setInputLayer(java.util.ArrayList)" class="member-name-link">setInputLayer(ArrayList<Double>)</a> - Method in class ann4j.<a href="ann4j/LayerManager.html" title="class in ann4j">LayerManager</a></dt>
<dd>
<div class="block">This function takes an ArrayList of Doubles and sets the inputLayer's input to that ArrayList</div>
</dd>
<dt><a href="ann4j/parameter.html#setLayerArray(int...)" class="member-name-link">setLayerArray(int...)</a> - Static method in class ann4j.<a href="ann4j/parameter.html" title="class in ann4j">parameter</a></dt>
<dd> </dd>
<dt><a href="ann4j/Layer.html#setLayerNum(int)" class="member-name-link">setLayerNum(int)</a> - Method in class ann4j.<a href="ann4j/Layer.html" title="class in ann4j">Layer</a></dt>
<dd>
<div class="block">This function sets the layer number for each neuron in the layer</div>
</dd>
<dt><a href="ann4j/Neuron.html#setLayerNum(int)" class="member-name-link">setLayerNum(int)</a> - Method in class ann4j.<a href="ann4j/Neuron.html" title="class in ann4j">Neuron</a></dt>
<dd>
<div class="block">This function sets the layer number of the neuron</div>
</dd>
<dt><a href="ann4j/parameter.html#setLearningRate(double)" class="member-name-link">setLearningRate(double)</a> - Static method in class ann4j.<a href="ann4j/parameter.html" title="class in ann4j">parameter</a></dt>
<dd>
<div class="block">This function sets the learning rate of the neural network</div>
</dd>
<dt><a href="ann4j/NeuronObserver.html#setModel(ann4j.LayerManager)" class="member-name-link">setModel(LayerManager)</a> - Method in class ann4j.<a href="ann4j/NeuronObserver.html" title="class in ann4j">NeuronObserver</a></dt>
<dd>
<div class="block">This function sets the model to be observed.</div>
</dd>
<dt><a href="ann4j/Neuron.html#setNeuronNum(int)" class="member-name-link">setNeuronNum(int)</a> - Method in class ann4j.<a href="ann4j/Neuron.html" title="class in ann4j">Neuron</a></dt>
<dd>
<div class="block">This function sets the number of neurons in the layer</div>
</dd>
<dt><a href="ann4j/parameter.html#setNeuronNumberToBeTestedinRelavancePropagation(double)" class="member-name-link">setNeuronNumberToBeTestedinRelavancePropagation(double)</a> - Static method in class ann4j.<a href="ann4j/parameter.html" title="class in ann4j">parameter</a></dt>
<dd> </dd>
<dt><a href="ann4j/LayerManager.html#setNeuronNumberToBeTestedinRelavancePropagation(java.lang.Double)" class="member-name-link">setNeuronNumberToBeTestedinRelavancePropagation(Double)</a> - Static method in class ann4j.<a href="ann4j/LayerManager.html" title="class in ann4j">LayerManager</a></dt>
<dd>
<div class="block">This function sets the number of neurons to be tested in relevance propagation</div>
</dd>
<dt><a href="ann4j/parameter.html#setOutputFile(java.lang.String,boolean)" class="member-name-link">setOutputFile(String, boolean)</a> - Static method in class ann4j.<a href="ann4j/parameter.html" title="class in ann4j">parameter</a></dt>
<dd>
<div class="block">It sets the output file and enables/disables printing in console.</div>
</dd>
<dt><a href="ann4j/Writer.html#setPrintInConsoleEnabled(boolean)" class="member-name-link">setPrintInConsoleEnabled(boolean)</a> - Static method in class ann4j.<a href="ann4j/Writer.html" title="class in ann4j">Writer</a></dt>
<dd>
<div class="block">It sets the value of the static variable printInConsole to the value of the parameter bool.</div>
</dd>
<dt><a href="ann4j/parameter.html#setRectificationFunction(java.lang.String)" class="member-name-link">setRectificationFunction(String)</a> - Static method in class ann4j.<a href="ann4j/parameter.html" title="class in ann4j">parameter</a></dt>
<dd>
<div class="block">This function sets the rectification function to be used in the network</div>
</dd>
<dt><a href="ann4j/ModelEvaluator.html#setTestingaccuracy(double)" class="member-name-link">setTestingaccuracy(double)</a> - Method in class ann4j.<a href="ann4j/ModelEvaluator.html" title="class in ann4j">ModelEvaluator</a></dt>
<dd>
<div class="block">This function sets the testing accuracy of the model</div>
</dd>
<dt><a href="ann4j/parameter.html#setTestingFileReader(ann4j.InputFileReader)" class="member-name-link">setTestingFileReader(InputFileReader)</a> - Static method in class ann4j.<a href="ann4j/parameter.html" title="class in ann4j">parameter</a></dt>
<dd> </dd>
<dt><a href="ann4j/parameter.html#setTestingFileReader(java.lang.String,java.lang.String)" class="member-name-link">setTestingFileReader(String, String)</a> - Static method in class ann4j.<a href="ann4j/parameter.html" title="class in ann4j">parameter</a></dt>
<dd>
<div class="block">It sets the testing file reader to the required file reader.</div>
</dd>
<dt><a href="ann4j/ModelEvaluator.html#setTrainingaccuracy(double)" class="member-name-link">setTrainingaccuracy(double)</a> - Method in class ann4j.<a href="ann4j/ModelEvaluator.html" title="class in ann4j">ModelEvaluator</a></dt>
<dd>
<div class="block">This function sets the training accuracy of the model</div>
</dd>
<dt><a href="ann4j/parameter.html#setTrainingFileReader(ann4j.InputFileReader)" class="member-name-link">setTrainingFileReader(InputFileReader)</a> - Static method in class ann4j.<a href="ann4j/parameter.html" title="class in ann4j">parameter</a></dt>
<dd> </dd>
<dt><a href="ann4j/parameter.html#setTrainingFileReader(java.lang.String,java.lang.String)" class="member-name-link">setTrainingFileReader(String, String)</a> - Static method in class ann4j.<a href="ann4j/parameter.html" title="class in ann4j">parameter</a></dt>
<dd> </dd>
<dt><a href="ann4j/NN.html#sigmoid(double)" class="member-name-link">sigmoid(double)</a> - Static method in class ann4j.<a href="ann4j/NN.html" title="class in ann4j">NN</a></dt>
<dd>
<div class="block">The sigmoid function takes a number and returns a number between 0 and 1</div>
</dd>
<dt><a href="ann4j/MNISTDataBaseFileReader.html#singleFileReader" class="member-name-link">singleFileReader</a> - Variable in class ann4j.<a href="ann4j/MNISTDataBaseFileReader.html" title="class in ann4j">MNISTDataBaseFileReader</a></dt>
<dd> </dd>
<dt><a href="ann4j/NN.html#softplus(double)" class="member-name-link">softplus(double)</a> - Static method in class ann4j.<a href="ann4j/NN.html" title="class in ann4j">NN</a></dt>
<dd>
<div class="block">The softplus function is a smooth approximation of the rectifier function</div>
</dd>
</dl>
<h2 class="title" id="I:T">T</h2>
<dl class="index">
<dt><a href="ann4j/NN.html#tanh(double)" class="member-name-link">tanh(double)</a> - Static method in class ann4j.<a href="ann4j/NN.html" title="class in ann4j">NN</a></dt>
<dd>
<div class="block">The tanh function takes a number and returns the hyperbolic tangent of that
number</div>
</dd>
<dt><a href="ann4j/Trainer.html#test(int)" class="member-name-link">test(int)</a> - Method in class ann4j.<a href="ann4j/Trainer.html" title="class in ann4j">Trainer</a></dt>
<dd>
<div class="block">Used to test the model.</div>
</dd>
<dt><a href="ann4j/Trainer.html#testingFileReader" class="member-name-link">testingFileReader</a> - Variable in class ann4j.<a href="ann4j/Trainer.html" title="class in ann4j">Trainer</a></dt>
<dd> </dd>
<dt><a href="ann4j/Connection.html#toString()" class="member-name-link">toString()</a> - Method in class ann4j.<a href="ann4j/Connection.html" title="class in ann4j">Connection</a></dt>
<dd>
<div class="block">This function returns a string that contains the neuron numbers of the neurons that are connected
by this connection, as well as the weight of the connection</div>
</dd>
<dt><a href="ann4j/Layer.html#toString()" class="member-name-link">toString()</a> - Method in class ann4j.<a href="ann4j/Layer.html" title="class in ann4j">Layer</a></dt>
<dd>
<div class="block">This function returns a string that contains the layer number, the length of the list of
neurons, and the toString() function of each neuron in the list of neurons</div>
</dd>
<dt><a href="ann4j/LayerManager.html#toString()" class="member-name-link">toString()</a> - Method in class ann4j.<a href="ann4j/LayerManager.html" title="class in ann4j">LayerManager</a></dt>
<dd>
<div class="block">This function returns a string representation of the neural network</div>
</dd>
<dt><a href="ann4j/Neuron.html#toString()" class="member-name-link">toString()</a> - Method in class ann4j.<a href="ann4j/Neuron.html" title="class in ann4j">Neuron</a></dt>
<dd>
<div class="block">The toString() function returns a string representation of the object</div>
</dd>
<dt><a href="ann4j/Trainer.html#train()" class="member-name-link">train()</a> - Method in class ann4j.<a href="ann4j/Trainer.html" title="class in ann4j">Trainer</a></dt>
<dd>
<div class="block">The function takes in an input layer and an expected output layer, and then it uses the input
layer to predict the expected output layer</div>
</dd>
<dt><a href="ann4j/Trainer.html#train(int,int)" class="member-name-link">train(int, int)</a> - Method in class ann4j.<a href="ann4j/Trainer.html" title="class in ann4j">Trainer</a></dt>
<dd>
<div class="block">The function trains the neural network by reading the training data from the mnist database and
updating the weights and biases of the neural network</div>
</dd>
<dt><a href="ann4j/Trainer.html" class="type-name-link" title="class in ann4j">Trainer</a> - Class in <a href="ann4j/package-summary.html">ann4j</a></dt>
<dd> </dd>
<dt><a href="ann4j/Trainer.html#%3Cinit%3E()" class="member-name-link">Trainer()</a> - Constructor for class ann4j.<a href="ann4j/Trainer.html" title="class in ann4j">Trainer</a></dt>
<dd> </dd>
<dt><a href="ann4j/Trainer.html#trainingFileReader" class="member-name-link">trainingFileReader</a> - Variable in class ann4j.<a href="ann4j/Trainer.html" title="class in ann4j">Trainer</a></dt>
<dd> </dd>
</dl>
<h2 class="title" id="I:U">U</h2>
<dl class="index">
<dt><a href="ann4j/NeuronObserver.html#update(java.lang.String,ann4j.Observable)" class="member-name-link">update(String, Observable)</a> - Method in class ann4j.<a href="ann4j/NeuronObserver.html" title="class in ann4j">NeuronObserver</a></dt>
<dd>
<div class="block">The update function is called when the observable object is changed</div>
</dd>
<dt><a href="ann4j/Observer.html#update(java.lang.String,ann4j.Observable)" class="member-name-link">update(String, Observable)</a> - Method in interface ann4j.<a href="ann4j/Observer.html" title="interface in ann4j">Observer</a></dt>
<dd>
<div class="block">The update function is called when the observable object is changed.</div>
</dd>
<dt><a href="ann4j/ModelEvaluator.html#updateConfusionMatrix(java.util.ArrayList,int)" class="member-name-link">updateConfusionMatrix(ArrayList<Double>, int)</a> - Method in class ann4j.<a href="ann4j/ModelEvaluator.html" title="class in ann4j">ModelEvaluator</a></dt>
<dd>
<div class="block">This function updates the confusion matrix by comparing the expected output array with the
predicted output array</div>
</dd>
<dt><a href="ann4j/ModelEvaluator.html#updateConfusionMatrix(java.util.ArrayList,java.util.ArrayList)" class="member-name-link">updateConfusionMatrix(ArrayList<Double>, ArrayList<Double>)</a> - Method in class ann4j.<a href="ann4j/ModelEvaluator.html" title="class in ann4j">ModelEvaluator</a></dt>
<dd>
<div class="block">This function takes in two arrays, one of expected outputs and one of actual
outputs, and updates
the confusion matrix accordingly
__ __ __ __
|TP FP
| 0 1
|FN TN
| 2 3</div>
</dd>
<dt><a href="ann4j/ModelEvaluator.html#updatePredictionData(double,double,double)" class="member-name-link">updatePredictionData(double, double, double)</a> - Method in class ann4j.<a href="ann4j/ModelEvaluator.html" title="class in ann4j">ModelEvaluator</a></dt>
<dd>
<div class="block">This function updates the prediction data</div>
</dd>
</dl>
<h2 class="title" id="I:W">W</h2>
<dl class="index">
<dt><a href="ann4j/Writer.html#write(java.lang.Object...)" class="member-name-link">write(Object...)</a> - Static method in class ann4j.<a href="ann4j/Writer.html" title="class in ann4j">Writer</a></dt>
<dd>
<div class="block">It takes in a variable number of arguments and prints them out</div>
</dd>
<dt><a href="ann4j/Writer.html#writeln(java.lang.Object...)" class="member-name-link">writeln(Object...)</a> - Static method in class ann4j.<a href="ann4j/Writer.html" title="class in ann4j">Writer</a></dt>
<dd> </dd>
<dt><a href="ann4j/Writer.html" class="type-name-link" title="class in ann4j">Writer</a> - Class in <a href="ann4j/package-summary.html">ann4j</a></dt>
<dd> </dd>
<dt><a href="ann4j/Writer.html#%3Cinit%3E()" class="member-name-link">Writer()</a> - Constructor for class ann4j.<a href="ann4j/Writer.html" title="class in ann4j">Writer</a></dt>
<dd> </dd>
</dl>
<a href="#I:A">A</a> <a href="#I:B">B</a> <a href="#I:C">C</a> <a href="#I:D">D</a> <a href="#I:E">E</a> <a href="#I:F">F</a> <a href="#I:G">G</a> <a href="#I:H">H</a> <a href="#I:I">I</a> <a href="#I:L">L</a> <a href="#I:M">M</a> <a href="#I:N">N</a> <a href="#I:O">O</a> <a href="#I:P">P</a> <a href="#I:R">R</a> <a href="#I:S">S</a> <a href="#I:T">T</a> <a href="#I:U">U</a> <a href="#I:W">W</a> <br><a href="allclasses-index.html">All Classes and Interfaces</a><span class="vertical-separator">|</span><a href="allpackages-index.html">All Packages</a></main>
</div>
</div>
</body>
</html>