-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path09-rbf-sin.nb
1062 lines (992 loc) · 45.8 KB
/
09-rbf-sin.nb
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
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
(* Content-type: application/mathematica *)
(*** Wolfram Notebook File ***)
(* http://www.wolfram.com/nb *)
(* CreatedBy='Mathematica 6.0' *)
(*CacheID: 234*)
(* Internal cache information:
NotebookFileLineBreakTest
NotebookFileLineBreakTest
NotebookDataPosition[ 145, 7]
NotebookDataLength[ 46684, 1053]
NotebookOptionsPosition[ 43963, 958]
NotebookOutlinePosition[ 44431, 976]
CellTagsIndexPosition[ 44388, 973]
WindowFrame->Normal*)
(* Beginning of Notebook Content *)
Notebook[{
Cell[CellGroupData[{
Cell[TextData[StyleBox["Kapitola 9 - S\[IAcute]\[THacek] RBF a um\[EHacek]l\
\[AAcute] data sin(x)", "Title"]], "Subtitle",
CellChangeTimes->{{3.403530443303066*^9, 3.403530492291925*^9}, {
3.403531440607864*^9, 3.403531442893248*^9}, {3.403534319050615*^9,
3.403534324387336*^9}, {3.40756994634375*^9, 3.407569999734375*^9},
3.40757029721875*^9, {3.4075703404375*^9, 3.407570354375*^9},
3.407571350796875*^9, {3.407571418109375*^9, 3.407571422640625*^9}, {
3.40946020459375*^9, 3.409460204953125*^9}, {3.513429111246589*^9,
3.513429111899172*^9}, {3.5142610768934145`*^9, 3.5142610829417605`*^9}}],
Cell[TextData[StyleBox["Demonstrace pou\[ZHacek]it\[IAcute] RBF s\[IAcute]t\
\[EHacek] na um\[EHacek]l\[YAcute]ch datech - aproximace funkce sinus.", \
"Subtitle"]], "Subsubtitle",
CellChangeTimes->{{3.40756997496875*^9, 3.40756997690625*^9},
3.40757242090625*^9, 3.417794876609375*^9}],
Cell[CellGroupData[{
Cell["\<\
Na\[CHacek]ten\[IAcute] knihovny NeuralNetworks\
\>", "Section",
CellChangeTimes->{{3.5073602800352573`*^9, 3.5073603289964743`*^9}}],
Cell["\<\
Nejd\[RHacek]\[IAcute]ve na\[CHacek]teme knihovnu neuronov\[YAcute]ch s\
\[IAcute]t\[IAcute].\
\>", "Text",
CellChangeTimes->{{3.507360408586581*^9, 3.507360469435308*^9}, {
3.5073605129338317`*^9, 3.5073605139169564`*^9}, {3.507360599217788*^9,
3.50736063908185*^9}, {3.5073606876975236`*^9, 3.5073607032795024`*^9}, {
3.5073607601777277`*^9, 3.5073607715351696`*^9}, {3.5084334105739098`*^9,
3.5084334111769867`*^9}}],
Cell[BoxData[
StyleBox[
RowBox[{"<<", " ", "NeuralNetworks`"}], "Input"]], "Input",
InitializationCell->True,
CellChangeTimes->{{3.507360750489497*^9, 3.5073607641152277`*^9}}],
Cell["\<\
Pokud pracujete v Mathematice 8.0, vypn\[EHacek]te je\[SHacek]t\[EHacek] \
zobrazov\[AAcute]n\[IAcute] chybov\[EAcute] hl\[AAcute]\[SHacek]ky \
Remove::rmnsm. Tuto hl\[AAcute]\[SHacek]ku vyhazuj\[IAcute] funkce knihovny \
NeuralNetworks. Na funkci knihovny toto nem\[AAcute] \[ZHacek]\[AAcute]dn\
\[YAcute] vliv.\
\>", "Text",
CellChangeTimes->{{3.5073722663308234`*^9, 3.5073724902892623`*^9}}],
Cell[BoxData[
RowBox[{"Off", "[",
StyleBox[
RowBox[{"Remove", "::", "rmnsm"}], "MessageName"], "]"}]], "Input",
InitializationCell->True,
CellChangeTimes->{{3.507372496128004*^9, 3.5073725146658583`*^9}}]
}, Open ]],
Cell[CellGroupData[{
Cell["\<\
Vytvo\[RHacek]en\[IAcute] tr\[EAcute]novac\[IAcute]ch dat (Sin(x))\
\>", "Section",
CellChangeTimes->{{3.403530554350391*^9, 3.403530568518535*^9}, {
3.403534331951981*^9, 3.403534340330704*^9}, {3.4075700228125*^9,
3.4075700538125*^9}, {3.407570378140625*^9, 3.407570379828125*^9}, {
3.407571364046875*^9, 3.4075713659375*^9}}],
Cell["\<\
Vygenerujeme si um\[EHacek]l\[AAcute] data - navzorkujeme sinusovku.\
\>", "Text",
CellChangeTimes->{{3.403534499737174*^9, 3.403534514743011*^9}, {
3.407570032390625*^9, 3.407570034140625*^9}}],
Cell[BoxData[{
RowBox[{
RowBox[{"n", "=", "20"}], ";"}], "\[IndentingNewLine]",
RowBox[{
RowBox[{"x", "=",
RowBox[{"Table", "[",
RowBox[{
RowBox[{"N", "[",
RowBox[{"2",
RowBox[{"\[Pi]", "/",
RowBox[{"(",
RowBox[{"n", "-", "1"}], ")"}]}], " ", "i"}], "]"}], ",",
RowBox[{"{",
RowBox[{"i", ",", "0", ",",
RowBox[{"n", "-", "1"}]}], "}"}]}], "]"}]}],
";"}], "\[IndentingNewLine]",
RowBox[{
RowBox[{"y", "=",
RowBox[{"Sin", "[", "x", "]"}]}], ";"}]}], "Input"],
Cell["Takto vypadaj\[IAcute] na\[SHacek]e data :", "Text",
CellChangeTimes->{{3.403534537617658*^9, 3.403534545439446*^9}, {
3.407570137984375*^9, 3.40757013996875*^9}}],
Cell[CellGroupData[{
Cell[BoxData["x"], "Input",
CellChangeTimes->{3.403534523137325*^9}],
Cell[BoxData[
RowBox[{"{",
RowBox[{
"0.`", ",", "0.3306939635357677`", ",", "0.6613879270715354`", ",",
"0.992081890607303`", ",", "1.3227758541430708`", ",",
"1.6534698176788385`", ",", "1.984163781214606`", ",",
"2.3148577447503738`", ",", "2.6455517082861415`", ",",
"2.9762456718219092`", ",", "3.306939635357677`", ",",
"3.6376335988934447`", ",", "3.968327562429212`", ",", "4.29902152596498`",
",", "4.6297154895007475`", ",", "4.960409453036515`", ",",
"5.291103416572283`", ",", "5.621797380108051`", ",",
"5.9524913436438185`", ",", "6.283185307179586`"}], "}"}]], "Output",
CellChangeTimes->{3.4226041666875*^9, 3.5109896516232567`*^9,
3.510989862277506*^9, 3.510991383941733*^9}]
}, Open ]],
Cell[CellGroupData[{
Cell[BoxData["y"], "Input",
CellChangeTimes->{3.403534524881374*^9}],
Cell[BoxData[
RowBox[{"{",
RowBox[{
"0.`", ",", "0.32469946920468346`", ",", "0.6142127126896678`", ",",
"0.8371664782625285`", ",", "0.9694002659393304`", ",",
"0.9965844930066698`", ",", "0.9157733266550575`", ",",
"0.7357239106731318`", ",", "0.4759473930370737`", ",",
"0.16459459028073403`", ",",
RowBox[{"-", "0.16459459028073378`"}], ",",
RowBox[{"-", "0.4759473930370735`"}], ",",
RowBox[{"-", "0.7357239106731313`"}], ",",
RowBox[{"-", "0.9157733266550573`"}], ",",
RowBox[{"-", "0.9965844930066698`"}], ",",
RowBox[{"-", "0.9694002659393305`"}], ",",
RowBox[{"-", "0.8371664782625288`"}], ",",
RowBox[{"-", "0.614212712689668`"}], ",",
RowBox[{"-", "0.32469946920468373`"}], ",",
RowBox[{"-", "2.4492935982947064`*^-16"}]}], "}"}]], "Output",
CellChangeTimes->{3.42260416671875*^9, 3.5109896516592607`*^9,
3.510989862317011*^9, 3.510991383972737*^9}]
}, Open ]],
Cell[CellGroupData[{
Cell[BoxData[
RowBox[{"ListPlot", "[",
RowBox[{
RowBox[{"Transpose", "[",
RowBox[{"{",
RowBox[{"x", ",", "y"}], "}"}], "]"}], ",",
RowBox[{"PlotStyle", "\[Rule]",
RowBox[{"PointSize", "[", "0.02", "]"}]}]}], "]"}]], "Input",
CellChangeTimes->{3.403534565307599*^9}],
Cell[BoxData[
GraphicsBox[
{Hue[0.67, 0.6, 0.6], PointSize[0.02], PointBox[CompressedData["
1:eJxTTMoPSmViYGAQAWIQjQ70d01nFte6ar/yfIDHg+NX7CH8p/bKLpbZC5c/
tnebntyqtP+9/RPbdVGCp15B5b/aS+jd2xLM+t5+94raI3NKftmvclqqyfrk
PVT9f3tObsG7zH5v7V8eUlG+0sLkIGj3/B5P93OoflaHD9Vved+U3rMv3cj1
JPI8u8OpCN36fMGjUPO4HA5C+PsZF3xYcl+S1+EtRP1+iPn8DjwQ8/a7ub/e
ZGQk6MAOsW8/xD4hB6h79vfYxU0uvS7sIAlx736I/aIOzyD+2X/J9GLxjhox
B1WIf/dD3CPusA4SHvsldF1CfitKOrDHiBirLdu4BwCcDYvm
"]]},
AspectRatio->NCache[GoldenRatio^(-1), 0.6180339887498948],
Axes->True,
PlotRange->Automatic,
PlotRangeClipping->True]], "Output",
CellChangeTimes->{3.422604167015625*^9, 3.5109896518927903`*^9,
3.510989862357016*^9, 3.5109913840107417`*^9}]
}, Open ]]
}, Open ]],
Cell[CellGroupData[{
Cell["Zpracov\[AAcute]n\[IAcute] dat neuronovou s\[IAcute]t\[IAcute]", \
"Section",
CellChangeTimes->{{3.402213953917428*^9, 3.402213962213214*^9}, {
3.403533516392156*^9, 3.4035335187936*^9}, {3.40757019015625*^9,
3.407570197234375*^9}}],
Cell["\<\
Inicializace s\[IAcute]t\[EHacek] - zad\[AAcute]me tr\[EAcute]novac\[IAcute] \
mno\[ZHacek]inu, rozd\[EHacek]lenou na vstupn\[IAcute] a v\[YAcute]stupn\
\[IAcute] data, a po\[CHacek]et neuron\[URing]. Po\[CHacek]et neuron\[URing] \
se zad\[AAcute]v\[AAcute] jako kladn\[EAcute] cel\[EAcute] \
\[CHacek]\[IAcute]slo.\
\>", "Text",
CellChangeTimes->{{3.403533524905281*^9, 3.403533627638674*^9}, {
3.403534634400701*^9, 3.403534635901927*^9}, {3.407570200671875*^9,
3.4075702574375*^9}, {3.40757068690625*^9, 3.40757073609375*^9}, {
3.4075714939375*^9, 3.407571495375*^9}, {3.5109896868227262`*^9,
3.510989751728468*^9}}],
Cell["\<\
Vytvo\[RHacek]enou s\[IAcute]\[THacek] si ulo\[ZHacek]\[IAcute]me do prom\
\[EHacek]nn\[EAcute] \"net\".\
\>", "Text",
CellChangeTimes->{{3.403533726823339*^9, 3.403533733646525*^9}, {
3.4075707416875*^9, 3.4075707534375*^9}}],
Cell[CellGroupData[{
Cell[BoxData[
RowBox[{"net", "=",
RowBox[{"InitializeRBFNet", "[",
RowBox[{"x", ",", "y", ",", "5", ",",
RowBox[{"RandomInitialization", "\[Rule]", "True"}]}], "]"}]}]], "Input",
CellChangeTimes->{{3.403534626858601*^9, 3.403534639860485*^9}, {
3.403534681396292*^9, 3.403534686998408*^9}, 3.407571383359375*^9, {
3.5109896400892916`*^9, 3.5109896763073907`*^9}}],
Cell[BoxData[
TagBox[
TagBox[
RowBox[{"RBFNet", "[",
RowBox[{
RowBox[{"{",
RowBox[{
RowBox[{"{",
RowBox[{"w1", ",", " ", "\[Lambda]", ",", " ", "w2"}], "}"}], ",",
" ", "\[Chi]"}], "}"}], ",",
RowBox[{"{",
RowBox[{
RowBox[{"Neuron", " ", "\[Rule]", " ", "Exp"}], ",", " ",
RowBox[{"FixedParameters", " ", "\[Rule]", " ", "None"}], ",", " ",
RowBox[{"AccumulatedIterations", " ", "\[Rule]", " ", "0"}], ",", " ",
RowBox[{"CreationDate", " ", "\[Rule]", " ",
RowBox[{"{",
RowBox[{
"2011", ",", " ", "4", ",", " ", "5", ",", " ", "13", ",", " ", "23",
",", " ", "4.0582476`8.360913518737533"}], "}"}]}], ",", " ",
RowBox[{"OutputNonlinearity", " ", "\[Rule]", " ", "None"}], ",", " ",
RowBox[{"NumberOfInputs", " ", "\[Rule]", " ", "1"}]}], "}"}]}], "]"}],
Null,
Editable->False],
DisplayForm]], "Output",
CellChangeTimes->{
3.422604169875*^9, {3.5109896487218876`*^9, 3.5109896549491787`*^9},
3.5109897101621895`*^9, 3.5109898624160233`*^9, 3.5109913840682487`*^9}]
}, Open ]],
Cell["\<\
M\[URing]\[ZHacek]eme si nechat zobrazit n\[EHacek]jak\[EAcute] dal\[SHacek]\
\[IAcute] informace o vytvo\[RHacek]en\[EAcute] s\[IAcute]ti.\
\>", "Text",
CellChangeTimes->{{3.40353370945933*^9, 3.403533723564199*^9}, {
3.4075707583125*^9, 3.407570772375*^9}}],
Cell[CellGroupData[{
Cell[BoxData[
RowBox[{"NetInformation", "[", "net", "]"}]], "Input",
CellChangeTimes->{{3.402214088623496*^9, 3.402214091901377*^9}}],
Cell[BoxData["\<\"Radial Basis Function network. Created 2011-4-5 at 13:23. \
The network has 1 input and 1 output. It consists of 5 basis functions of \
Exp type. The network has a linear submodel. \"\>"], "Output",
CellChangeTimes->{3.42260416996875*^9, 3.510989655107699*^9,
3.510989862456029*^9, 3.5109913841062536`*^9}]
}, Open ]],
Cell["\<\
Pod\[IAcute]v\[AAcute]me se jak na\[SHacek]e, zat\[IAcute]m n\[AAcute]hodn\
\[EHacek] inicializovan\[AAcute], s\[IAcute]\[THacek] \
odpov\[IAcute]d\[AAcute] na data.\
\>", "Text",
CellChangeTimes->{{3.403534692745426*^9, 3.403534708980519*^9}, {
3.407570778421875*^9, 3.407570814109375*^9}, {3.5109898735684395`*^9,
3.510989874728587*^9}}],
Cell[CellGroupData[{
Cell[BoxData[
RowBox[{"NetPlot", "[",
RowBox[{"net", ",", "x", ",", "y"}], "]"}]], "Input",
CellChangeTimes->{{3.403534667543999*^9, 3.403534671047914*^9}}],
Cell[BoxData[
GraphicsBox[{{{}, {},
{Hue[0.67, 0.6, 0.6], LineBox[CompressedData["
1:eJwVzHk41HkAx/FxlbOdmcYcuRqM+RU9Uqks+X6yZSwS03bQwY4cucZMUibW
Y3NsRJoN5WhST9RT2TxydNu1Nl2eiiVsS61KyqhYNGls+8f7ef335kuk4ghd
Go227kv/q3fLuP0f1wzPAElaLfOBmghe33S3/jmU3DVQqZveqInmkvPOHqWU
jB+sK9xiPEpesKKnGpTpRJuao58pGiW93pm/nVEeJjKLG7V5v46SP0OVwgql
iqjlrq7OIe+IOI7Xe0z5Cwlm8MW5vu/JkQ/b6oqVt8iTxO6Wvfwx4t7qa+y1
+yFxrJkSuoxNkERFwPd1iU8IM2vFjEqsIfFNEQW6dgPEaWq9uyDlM+kc+tao
WjJILsx7Pu4URkOu8wStIXiIWLnJvTv6dCBzbCtqPvOWJFu7R3VJ9aAJj615
mvCOvPBSlcg0+pDc2BRYGPmBtBsFqi3jZyH8fWdz80/jpMVZ4jZgYIhDixul
VdkT5Mate0UNh4yg29y4IlMxRVbRrUwC2SZgLPRr7z+mIYLyBGfbdlP4qLxO
v1NOEzy62l+fNAec0fve6Y1a8t4zr+V3AR2lt6/q6O2iodR/w8RtJgMeVqtn
5u/Uwci6rry4cQYcB+iDaUm6SI8P2B88wsTF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MoPSmViYGAQAWIQjQ70d01nFte6ar/yfIDHg+NX7CH8p/bKLpbZC5c/
tnebntyqtP+9/RPbdVGCp15B5b/aS+jd2xLM+t5+94raI3NKftmvclqqyfrk
PVT9f3tObsG7zH5v7V8eUlG+0sLkIGj3/B5P93OoflaHD9Vved+U3rMv3cj1
JPI8u8OpCN36fMGjUPO4HA5C+PsZF3xYcl+S1+EtRP1+iPn8DjwQ8/a7ub/e
ZGQk6MAOsW8/xD4hB6h79vfYxU0uvS7sIAlx736I/aIOzyD+2X/J9GLxjhox
B1WIf/dD3CPusA4SHvsldF1CfitKOrDHiBirLdu4BwCcDYvm
"]]}},
AspectRatio->NCache[GoldenRatio^(-1), 0.6180339887498948],
Axes->True,
AxesOrigin->{0, 2.},
PlotRange->{All, All},
PlotRangeClipping->True,
PlotRangePadding->{Automatic, Automatic}]], "Output",
CellChangeTimes->{3.422604170171875*^9, 3.5109896551422033`*^9,
3.51098986262255*^9, 3.5109913841667614`*^9}]
}, Open ]],
Cell["\<\
Te\[DHacek] s\[IAcute]\[THacek] natr\[EAcute]nujeme pomoc\[IAcute] funkce \
\"NeuralFit\", kter\[EAcute] zad\[AAcute]me na\[SHacek]\[IAcute] s\[IAcute]\
\[THacek] (prom\[EHacek]nn\[AAcute] \"net\"), tr\[EAcute]novac\[IAcute] mno\
\[ZHacek]inu (\"x\" a \"y\") a po\[CHacek]et u\[CHacek]\[IAcute]c\[IAcute]ch \
krok\[URing].\
\>", "Text",
CellChangeTimes->{{3.403533782324979*^9, 3.40353383899699*^9}, {
3.403534734231109*^9, 3.403534738553558*^9}, {3.4075708186875*^9,
3.407570863515625*^9}}],
Cell["\<\
Funkce NeuralFit vyprodukuje nau\[CHacek]enou s\[IAcute]\[THacek] a \
z\[AAcute]znam o pr\[URing]b\[EHacek]hu u\[CHacek]en\[IAcute] - ob\[EHacek] \
tyto n\[AAcute]vratov\[EAcute] hodnoty si ukl\[AAcute]d\[AAcute]me (do prom\
\[EHacek]nn\[YAcute]ch \"net2\" a \"record\"). Parametr \"5\" znamen\[AAcute] \
po\[CHacek]et prov\[AAcute]d\[EHacek]n\[YAcute]ch u\[CHacek]ic\[IAcute]ch \
iterac\[IAcute]. \
\>", "Text",
CellChangeTimes->{{3.403533844567185*^9, 3.403533904635737*^9}, {
3.407570867484375*^9, 3.407570914859375*^9}, {3.407571631859375*^9,
3.40757165596875*^9}, {3.407571692671875*^9, 3.4075717659375*^9}, {
3.515092135215807*^9, 3.515092173236982*^9}}],
Cell[CellGroupData[{
Cell[BoxData[
RowBox[{
RowBox[{
RowBox[{"{",
RowBox[{"net2", ",", "record"}], "}"}], "=",
RowBox[{"NeuralFit", "[",
RowBox[{"net", ",", "x", ",", "y", ",", "5"}], "]"}]}], ";"}]], "Input",
CellChangeTimes->{{3.402214100997976*^9, 3.402214109762068*^9}, {
3.402214234036181*^9, 3.402214235441436*^9}, {3.402214368377231*^9,
3.402214374682622*^9}, {3.402214419526277*^9, 3.402214425215911*^9}, {
3.402214664776315*^9, 3.402210056905657*^9}, {3.403534744215425*^9,
3.403534751488405*^9}, {3.407571745234375*^9, 3.407571758984375*^9}}],
Cell[BoxData[
GraphicsBox[
{Hue[0.67, 0.6, 0.6],
LineBox[{{0., 7.542344351502692}, {1., 0.002309721228106483}, {2.,
0.0022622566032650037`}, {3., 0.0017748871974433687`}, {4.,
0.0014417501425731966`}, {5., 0.001050648923859379}}]},
AspectRatio->NCache[GoldenRatio^(-1), 0.6180339887498948],
Frame->True,
FrameLabel->{
FormBox["\"Iterations\"", TraditionalForm], None},
FrameTicks->{{{0,
FormBox["0", TraditionalForm]}, {1,
FormBox["1", TraditionalForm]}, {2,
FormBox["2", TraditionalForm]}, {3,
FormBox["3", TraditionalForm]}, {4,
FormBox["4", TraditionalForm]}, {5,
FormBox["5", TraditionalForm]}}, Automatic, None, None},
PlotLabel->FormBox["\"RMSE\"", TraditionalForm],
PlotRangeClipping->True]], "Print",
CellChangeTimes->{3.5109913846198187`*^9}]
}, Open ]],
Cell["\<\
Jak te\[DHacek] odpov\[IAcute]d\[AAcute] natr\[EAcute]novan\[AAcute] s\
\[IAcute]\[THacek] (reprezentov\[AAcute]no \[CHacek]arou) na data (body) :\
\>", "Text",
CellChangeTimes->{{3.403534813073953*^9, 3.403534836591364*^9}, {
3.407570920390625*^9, 3.407570943140625*^9}}],
Cell[CellGroupData[{
Cell[BoxData[
RowBox[{"NetPlot", "[",
RowBox[{"net2", ",", "x", ",", "y", ",",
RowBox[{"PlotStyle", "\[Rule]",
RowBox[{"PointSize", "[", "0.02", "]"}]}]}], "]"}]], "Input",
CellChangeTimes->{{3.40353479131138*^9, 3.403534795268151*^9}, {
3.40757185740625*^9, 3.407571861140625*^9}}],
Cell[BoxData[
GraphicsBox[{{{}, {},
{Hue[0.67, 0.6, 0.6], PointSize[0.02], LineBox[CompressedData["
1:eJwV13k4VOsfAHBrCDVzhqIVt6IiuSkpfN8UFVKIyJoshQqhkLVSqYRKZU+y
dC8KIeSVyNLmRtai7MbMHDszWX7n99d5Ps85z3vm/W7nHXnHC6bOAnx8fK/4
+fj+fxXES7/07gzTGT2MQtzrzfHG4Yq96+7bQ+gutavDrXrAe6nq1B57AS57
PjCQ++oM/VJnZotiQ6Ax9b9Np3UCoUP/WtXz2HsQHd6jaDp2F77bxyomxaaA
XMroL7V9KWDqIdvxODYPstL0KxW+50HMuE1BXCyGX67O8lUTGPbWGCzVvdgI
XIHIm5PU1TPA+FSBZxsYrjg8KS3YBudKnKME/voF/01vPtsg3A3NQ4fFMh37
IKApXOuAeC9Eqk7zFVkNQTJpu09XfAC8ttY9rHzOAgVNz1Z11hD0OfeFphax
QJauGPLv9BBYpPJ5hNaywPWHq9ta/mHYI62pi4ZZcHDp4iJTehgEFrM5WJkN
32qEW9VhGGK/3T6IC9hg1uZfGBo9DPn+R7lv33Eg7UjHuX4VJvBOu+f+PD8K
n/8e2HPYbAQc6BOXy/1GYf3Ra14u1iNQUxGwPyF4FEbZSupBp0cgWjayzTJq
FORiDcwfXRwBx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/xD4hB6h79vfYxU0uvS7sIAlx736I/aIOzyD+2X/J9GLxjhox
B1WIf/dD3CPusA4SHvsldF1CfitKOrDHiBirLdu4BwCcDYvm
"]]}},
AspectRatio->NCache[GoldenRatio^(-1), 0.6180339887498948],
Axes->True,
AxesOrigin->{0, 0},
PlotRange->{All, All},
PlotRangeClipping->True,
PlotRangePadding->{Automatic, Automatic}]], "Output",
CellChangeTimes->{3.4226041708125*^9, 3.510989655426239*^9,
3.5109898636871853`*^9, 3.510991384693328*^9}]
}, Open ]],
Cell["\<\
Pod\[IAcute]v\[AAcute]me se i mimo tr\[EAcute]novan\[YAcute] interval :\
\>", "Text",
CellChangeTimes->{{3.403534841940039*^9, 3.40353484927354*^9}, {
3.40757095040625*^9, 3.4075709601875*^9}, {3.40757186659375*^9,
3.407571868125*^9}}],
Cell[CellGroupData[{
Cell[BoxData[
RowBox[{"Plot", "[",
RowBox[{
RowBox[{"net2", "[",
RowBox[{"{", "x", "}"}], "]"}], ",",
RowBox[{"{",
RowBox[{"x", ",",
RowBox[{
RowBox[{"-", "\[Pi]"}], "/", "2"}], ",",
RowBox[{"3", "\[Pi]"}]}], "}"}]}], "]"}]], "Input",
CellChangeTimes->{{3.40353477288113*^9, 3.403534777431531*^9}, {
3.403534862240303*^9, 3.403534866557294*^9}}],
Cell[BoxData[
GraphicsBox[{{}, {},
{Hue[0.67, 0.6, 0.6], LineBox[CompressedData["
1:eJwVl3dcje8bx1sqfdt7bw0qJA3J9dA2QxFCkmwZqaRyQqmIJFlFMlLaspLu
SLS0SENyWuc0TudJQzu/6/cPr/frc12fa9z38zwnLS/fTfv4eHh4FuM/////
yzUhxSmtCSKqF/nQxWqKxM0VGZsvO0Fat44mXZ4/RXZdEP2xXXCC5Pf+TS1V
mSIj/lLxBX3jxPXXQL/57CTR3KUiGfRinCT65ewTL5kkQUYLhSfsxonRKYu0
uLWTxKh8y/jf/WPEabB4xfSuCRLL97RpKHOUXAyyKEkPGyPV/iW+V+k/RLPr
1banvs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axR2LecF5lfsLLwd+I8ItntRojSyYY7Voln+YrMIhseXQfQ71fDus4ZA
sdeC+4Hnh1A3u/4zYKVAcdHp5pzxUWSNzfLzwwWKA0RctLqntSjPzOuHasTm
FPcsseErEtGmKKkoxXm6gsXlEQqffPW0Kcm63CLLfcLFeeFFgr9dtCmPY3oe
h5VEi/8HqcJHPw==
"]]}},
AspectRatio->NCache[GoldenRatio^(-1), 0.6180339887498948],
Axes->True,
AxesOrigin->{0, 0},
PlotRange->
NCache[{{Rational[-1, 2] Pi, 3 Pi}, {-3.512411804125618,
0.9998892855865291}}, {{-1.5707963267948966`,
9.42477796076938}, {-3.512411804125618, 0.9998892855865291}}],
PlotRangeClipping->True,
PlotRangePadding->{
Scaled[0.02],
Scaled[0.02]}]], "Output",
CellChangeTimes->{3.42260417121875*^9, 3.5109896564433684`*^9,
3.510989864103738*^9, 3.5109913851718893`*^9}]
}, Open ]],
Cell["\<\
M\[URing]\[ZHacek]eme se pod\[IAcute]vat na odpov\[EHacek]\[DHacek] \
s\[IAcute]t\[EHacek] na tzv. \"data/model\" diagramu - \
ide\[AAcute]ln\[EHacek] by m\[EHacek]l b\[YAcute]t reprezentov\[AAcute]n \
\[CHacek]arou odpov\[IAcute]daj\[IAcute]c\[IAcute] ose 1. a 3. kvadrantu.\
\>", "Text",
CellChangeTimes->{{3.403534896246475*^9, 3.403534932207163*^9}, {
3.407570963234375*^9, 3.407571031640625*^9}}],
Cell[CellGroupData[{
Cell[BoxData[
RowBox[{"NetPlot", "[",
RowBox[{"net2", ",", "x", ",", "y", ",",
RowBox[{"DataFormat", "\[Rule]", "NetOutput"}]}], "]"}]], "Input",
CellChangeTimes->{{3.403534880103088*^9, 3.403534884316805*^9}}],
Cell[BoxData[
GraphicsBox[{{}, {},
{Hue[0.67, 0.6, 0.6], LineBox[CompressedData["
1:eJxTTMoPSmViYGAQAWIQvcppqSbrk/f7F6yfwvT37vv9knr3tgSzAvnpTAo8
QJqdW/Aus9/b/QvC1WTC3N/uf2a7Lkrw1Kv9C/6b/E49/2o/j93zezzdz/cf
uP8lL7Tz+X5VF8vshcsf728wP8q1ffXj/W+r3/K+Kb23P6G/tda+4d7+decD
PB4cv7Kf4f4n7XX7r+w/GKFbny94dD/D/l3+b0yO7mePETFWW7ZxDwPDA869
nuz7GRBA89fJ0P2nIOrtGRTtLpf+OGK/EmKePY8A36yAr1fsP0Dss09w+DTV
q/KevTLEPfY8Gy5Z+K94bC8Ica+9wY0X99dMeW7/BOIfewGLpWW6u1/Zc0L8
a6+woTL/dsRbewlIeNhLOJx06Pv1zh4aXvYKK74Xuz97bw8APxigXg==
"]]}},
AspectRatio->NCache[GoldenRatio^(-1), 0.6180339887498948],
Axes->True,
AxesLabel->{
FormBox["\"Data\"", TraditionalForm],
FormBox["\"Model\"", TraditionalForm]},
AxesOrigin->{0, 0},
PlotLabel->FormBox["\"\"", TraditionalForm],
PlotRange->{All, All},
PlotRangeClipping->True,
PlotRangePadding->{Automatic, Automatic}]], "Output",
CellChangeTimes->{3.422604171296875*^9, 3.510989656556383*^9,
3.510989864158745*^9, 3.5109913853139067`*^9}]
}, Open ]],
Cell["\<\
Takto potom vypad\[AAcute] s\[IAcute]\[THacek], kdy\[ZHacek] ji \
p\[RHacek]evedeme do vzorce - ur\[CHacek]it\[EHacek] \
pozn\[AAcute]v\[AAcute]te aktiva\[CHacek]n\[IAcute] funkce neuronu.\
\>", "Text",
CellChangeTimes->{{3.403534979956576*^9, 3.403535004714008*^9}, {
3.407571036890625*^9, 3.40757106571875*^9}, {3.4226052134375*^9,
3.42260521471875*^9}, {3.5109899388742323`*^9, 3.51098994145156*^9}}],
Cell[CellGroupData[{
Cell[BoxData[
RowBox[{
RowBox[{"net2", "[",
RowBox[{"{", "vstup", "}"}], "]"}], "[",
RowBox[{"[", "1", "]"}], "]"}]], "Input"],
Cell[BoxData[
RowBox[{
RowBox[{"-", "7545.255860754043`"}], "-",
RowBox[{"1805.5733030259457`", " ",
SuperscriptBox["\[ExponentialE]",
RowBox[{
RowBox[{"-", "0.003836404358759403`"}], " ",
SuperscriptBox[
RowBox[{"(",
RowBox[{
RowBox[{"-", "0.7753494428178029`"}], "+", "vstup"}], ")"}],
"2"]}]]}], "+",
RowBox[{"33.19320438606403`", " ",
SuperscriptBox["\[ExponentialE]",
RowBox[{
RowBox[{"-", "0.05191286450210454`"}], " ",
SuperscriptBox[
RowBox[{"(",
RowBox[{
RowBox[{"-", "0.6758824826677261`"}], "+", "vstup"}], ")"}],
"2"]}]]}], "+",
RowBox[{"9318.258405483211`", " ",
SuperscriptBox["\[ExponentialE]",
RowBox[{
RowBox[{"-", "0.0006328561903185434`"}], " ",
SuperscriptBox[
RowBox[{"(",
RowBox[{
RowBox[{"-", "0.4427198938094842`"}], "+", "vstup"}], ")"}],
"2"]}]]}], "-",
RowBox[{"0.15620409615458572`", " ",
SuperscriptBox["\[ExponentialE]",
RowBox[{
RowBox[{"-", "0.45499588171223826`"}], " ",
SuperscriptBox[
RowBox[{"(",
RowBox[{
RowBox[{"-", "0.046425839058406845`"}], "+", "vstup"}], ")"}],
"2"]}]]}], "-",
RowBox[{"2.6935569835969906`", " ",
SuperscriptBox["\[ExponentialE]",
RowBox[{
RowBox[{"-", "0.16690350207427215`"}], " ",
SuperscriptBox[
RowBox[{"(",
RowBox[{"0.013125669236265099`", "\[VeryThinSpace]", "+", "vstup"}],
")"}], "2"]}]]}], "+",
RowBox[{"4.252159351258261`", " ", "vstup"}]}]], "Output",
CellChangeTimes->{3.4226041713125*^9, 3.5109896565948877`*^9,
3.5109898641962495`*^9, 3.5109913853549123`*^9}]
}, Open ]]
}, Open ]],
Cell[CellGroupData[{
Cell["Prohl\[AAcute]\[SHacek]en\[IAcute]", "Section",
CellChangeTimes->{{3.418480577171875*^9, 3.418480581203125*^9}}],
Cell["\<\
Tento text je sou\[CHacek]\[AAcute]st\[IAcute] bakal\[AAcute]\[RHacek]sk\
\[EAcute] pr\[AAcute]ce Adama \[CapitalCHacek]in\[CHacek]ury \
\[OpenCurlyDoubleQuote]Demonstra\[CHacek]n\[IAcute] aplikace pro podporu \
kurzu neuronov\[YAcute]ch s\[IAcute]t\[IAcute]\[CloseCurlyDoubleQuote] na FEL \
\[CapitalCHacek]VUT 2011. Vznikl \[UAcute]pravou textu Petra \
Chlumsk\[EAcute]ho.\
\>", "Text",
CellChangeTimes->{{3.418480638421875*^9, 3.41848078665625*^9},
3.51098997374166*^9}]
}, Open ]]
}, Open ]]
},
WindowSize->{843, 730},
WindowMargins->{{Automatic, 223}, {Automatic, 7}},
ShowSelection->True,
Magnification->1.,
FrontEndVersion->"8.0 for Microsoft Windows (64-bit) (February 23, 2011)",
StyleDefinitions->FrontEnd`FileName[{"Creative"}, "NaturalColor.nb",
CharacterEncoding -> "WindowsEastEurope"]
]
(* End of Notebook Content *)
(* Internal cache information *)
(*CellTagsOutline
CellTagsIndex->{}
*)
(*CellTagsIndex
CellTagsIndex->{}
*)
(*NotebookFileOutline
Notebook[{
Cell[CellGroupData[{
Cell[567, 22, 621, 8, 42, "Subtitle"],
Cell[1191, 32, 291, 4, 25, "Subsubtitle"],
Cell[CellGroupData[{
Cell[1507, 40, 144, 3, 75, "Section"],
Cell[1654, 45, 440, 8, 29, "Text"],
Cell[2097, 55, 181, 4, 41, "Input",
InitializationCell->True],
Cell[2281, 61, 406, 7, 47, "Text"],
Cell[2690, 70, 213, 5, 41, "Input",
InitializationCell->True]
}, Open ]],
Cell[CellGroupData[{
Cell[2940, 80, 346, 6, 75, "Section"],
Cell[3289, 88, 207, 4, 29, "Text"],
Cell[3499, 94, 543, 18, 82, "Input"],
Cell[4045, 114, 172, 2, 29, "Text"],
Cell[CellGroupData[{
Cell[4242, 120, 69, 1, 41, "Input"],
Cell[4314, 123, 733, 13, 60, "Output"]
}, Open ]],
Cell[CellGroupData[{
Cell[5084, 141, 69, 1, 41, "Input"],