Skip to content

Commit 5542d48

Browse files
committed
Update Workshop 1 notebook
1 parent b397671 commit 5542d48

File tree

1 file changed

+35
-35
lines changed

1 file changed

+35
-35
lines changed

NN/Workshop1/Introduction_To_AI_and_Neural_Networks.ipynb

Lines changed: 35 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"cells": [
33
{
44
"cell_type": "markdown",
5-
"id": "emotional-bicycle",
5+
"id": "bottom-rolling",
66
"metadata": {},
77
"source": [
88
"NOTE: Import the following statements before running any of the other cells"
@@ -11,7 +11,7 @@
1111
{
1212
"cell_type": "code",
1313
"execution_count": 1,
14-
"id": "widespread-configuration",
14+
"id": "comprehensive-decline",
1515
"metadata": {},
1616
"outputs": [],
1717
"source": [
@@ -29,15 +29,15 @@
2929
},
3030
{
3131
"cell_type": "markdown",
32-
"id": "disciplinary-serbia",
32+
"id": "dependent-psychiatry",
3333
"metadata": {},
3434
"source": [
3535
"### Activation Functions (Slide 14)"
3636
]
3737
},
3838
{
3939
"cell_type": "markdown",
40-
"id": "golden-drill",
40+
"id": "italic-career",
4141
"metadata": {},
4242
"source": [
4343
"#### Rectified Linear Unit (ReLU)"
@@ -46,7 +46,7 @@
4646
{
4747
"cell_type": "code",
4848
"execution_count": 2,
49-
"id": "collectible-lighter",
49+
"id": "revolutionary-physiology",
5050
"metadata": {},
5151
"outputs": [
5252
{
@@ -71,7 +71,7 @@
7171
},
7272
{
7373
"cell_type": "markdown",
74-
"id": "personalized-grove",
74+
"id": "plastic-suggestion",
7575
"metadata": {},
7676
"source": [
7777
"#### Sigmoid"
@@ -80,7 +80,7 @@
8080
{
8181
"cell_type": "code",
8282
"execution_count": 3,
83-
"id": "improving-charter",
83+
"id": "critical-titanium",
8484
"metadata": {},
8585
"outputs": [
8686
{
@@ -105,7 +105,7 @@
105105
},
106106
{
107107
"cell_type": "markdown",
108-
"id": "chronic-latitude",
108+
"id": "directed-powell",
109109
"metadata": {},
110110
"source": [
111111
"#### tanh"
@@ -114,7 +114,7 @@
114114
{
115115
"cell_type": "code",
116116
"execution_count": 4,
117-
"id": "desperate-sussex",
117+
"id": "other-accent",
118118
"metadata": {},
119119
"outputs": [
120120
{
@@ -139,7 +139,7 @@
139139
},
140140
{
141141
"cell_type": "markdown",
142-
"id": "scenic-dimension",
142+
"id": "homeless-dealing",
143143
"metadata": {},
144144
"source": [
145145
"### Code Example: One input - One output (Slide 17)"
@@ -148,7 +148,7 @@
148148
{
149149
"cell_type": "code",
150150
"execution_count": 5,
151-
"id": "mobile-criminal",
151+
"id": "funded-mumbai",
152152
"metadata": {},
153153
"outputs": [
154154
{
@@ -172,7 +172,7 @@
172172
},
173173
{
174174
"cell_type": "markdown",
175-
"id": "charming-falls",
175+
"id": "molecular-interview",
176176
"metadata": {},
177177
"source": [
178178
"### Code Example: OR Gate (Slide 18)"
@@ -181,7 +181,7 @@
181181
{
182182
"cell_type": "code",
183183
"execution_count": 6,
184-
"id": "reserved-group",
184+
"id": "reverse-matter",
185185
"metadata": {},
186186
"outputs": [
187187
{
@@ -227,7 +227,7 @@
227227
},
228228
{
229229
"cell_type": "markdown",
230-
"id": "transsexual-delicious",
230+
"id": "contemporary-television",
231231
"metadata": {},
232232
"source": [
233233
"### Code example: Average of 3 Numbers (Slide 19)"
@@ -236,7 +236,7 @@
236236
{
237237
"cell_type": "code",
238238
"execution_count": 7,
239-
"id": "accomplished-justice",
239+
"id": "chief-bloom",
240240
"metadata": {},
241241
"outputs": [
242242
{
@@ -268,7 +268,7 @@
268268
},
269269
{
270270
"cell_type": "markdown",
271-
"id": "solar-knight",
271+
"id": "external-orleans",
272272
"metadata": {},
273273
"source": [
274274
"### Code Example: Multiple input - one output + Nonlinear activation (Slide 20)"
@@ -277,7 +277,7 @@
277277
{
278278
"cell_type": "code",
279279
"execution_count": 8,
280-
"id": "coastal-second",
280+
"id": "advisory-advocacy",
281281
"metadata": {},
282282
"outputs": [
283283
{
@@ -305,7 +305,7 @@
305305
},
306306
{
307307
"cell_type": "markdown",
308-
"id": "aerial-family",
308+
"id": "copyrighted-flash",
309309
"metadata": {},
310310
"source": [
311311
"### Code example: Power of multiple layers together (Slide 21)"
@@ -314,14 +314,14 @@
314314
{
315315
"cell_type": "code",
316316
"execution_count": 9,
317-
"id": "individual-wallace",
317+
"id": "thirty-olive",
318318
"metadata": {},
319319
"outputs": [
320320
{
321321
"name": "stdout",
322322
"output_type": "stream",
323323
"text": [
324-
"For x1 = 2.05848 and x2 = 0.16190, we have output 0.71463\n"
324+
"For x1 = 6.55281 and x2 = 2.11292, we have output -0.89367\n"
325325
]
326326
}
327327
],
@@ -369,7 +369,7 @@
369369
},
370370
{
371371
"cell_type": "markdown",
372-
"id": "revised-emperor",
372+
"id": "genuine-quarterly",
373373
"metadata": {},
374374
"source": [
375375
"### Code example: Average of 3 Numbers (Vectorized) (Slide 23)"
@@ -378,7 +378,7 @@
378378
{
379379
"cell_type": "code",
380380
"execution_count": 10,
381-
"id": "coordinated-cisco",
381+
"id": "refined-construction",
382382
"metadata": {},
383383
"outputs": [
384384
{
@@ -411,24 +411,24 @@
411411
},
412412
{
413413
"cell_type": "markdown",
414-
"id": "hidden-filename",
414+
"id": "automotive-dakota",
415415
"metadata": {},
416416
"source": [
417417
"### Extra Example: Randomized 2 layer network"
418418
]
419419
},
420420
{
421421
"cell_type": "markdown",
422-
"id": "supreme-disposal",
422+
"id": "necessary-swing",
423423
"metadata": {},
424424
"source": [
425425
"Below is an example of a neural network with randomly initialized weights."
426426
]
427427
},
428428
{
429429
"cell_type": "code",
430-
"execution_count": 20,
431-
"id": "computational-square",
430+
"execution_count": 11,
431+
"id": "swiss-doctrine",
432432
"metadata": {
433433
"scrolled": true
434434
},
@@ -478,15 +478,15 @@
478478
},
479479
{
480480
"cell_type": "markdown",
481-
"id": "smart-sapphire",
481+
"id": "acoustic-butler",
482482
"metadata": {},
483483
"source": [
484484
"## Practice Problems"
485485
]
486486
},
487487
{
488488
"cell_type": "markdown",
489-
"id": "capital-dream",
489+
"id": "marked-plate",
490490
"metadata": {},
491491
"source": [
492492
"### Square of 2 inputs\n",
@@ -500,7 +500,7 @@
500500
{
501501
"cell_type": "code",
502502
"execution_count": null,
503-
"id": "collectible-woman",
503+
"id": "subsequent-marking",
504504
"metadata": {},
505505
"outputs": [],
506506
"source": [
@@ -516,7 +516,7 @@
516516
},
517517
{
518518
"cell_type": "markdown",
519-
"id": "continued-magazine",
519+
"id": "sapphire-evanescence",
520520
"metadata": {},
521521
"source": [
522522
"Run the tests below to verify your network works!"
@@ -525,7 +525,7 @@
525525
{
526526
"cell_type": "code",
527527
"execution_count": null,
528-
"id": "intelligent-history",
528+
"id": "elder-termination",
529529
"metadata": {},
530530
"outputs": [],
531531
"source": [
@@ -538,7 +538,7 @@
538538
},
539539
{
540540
"cell_type": "markdown",
541-
"id": "creative-economy",
541+
"id": "greater-permission",
542542
"metadata": {},
543543
"source": [
544544
"### Average of 5 values\n",
@@ -552,7 +552,7 @@
552552
{
553553
"cell_type": "code",
554554
"execution_count": null,
555-
"id": "right-decimal",
555+
"id": "clear-radar",
556556
"metadata": {},
557557
"outputs": [],
558558
"source": [
@@ -576,7 +576,7 @@
576576
},
577577
{
578578
"cell_type": "markdown",
579-
"id": "engaging-ministry",
579+
"id": "headed-hawaii",
580580
"metadata": {},
581581
"source": [
582582
"Run the tests below to verify your network works!"
@@ -585,7 +585,7 @@
585585
{
586586
"cell_type": "code",
587587
"execution_count": null,
588-
"id": "accepting-transformation",
588+
"id": "instrumental-favorite",
589589
"metadata": {},
590590
"outputs": [],
591591
"source": [

0 commit comments

Comments
 (0)