Skip to content

Commit

Permalink
Merge pull request #1198 from kfahn22/neural-network
Browse files Browse the repository at this point in the history
Add Neural network track
  • Loading branch information
shiffman authored Sep 4, 2023
2 parents b3b681f + 59af3fe commit 95d4e11
Show file tree
Hide file tree
Showing 21 changed files with 1,854 additions and 11 deletions.
23 changes: 12 additions & 11 deletions content/tracks/index.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,22 +6,23 @@
"main-tracks/ml5js-beginners-guide",
"main-tracks/the-nature-of-code-2",
"side-tracks/2018-workflow",
"side-tracks/supershapes",
"side-tracks/games",
"side-tracks/algorithmic-botany",
"side-tracks/coding-in-the-cabana",
"side-tracks/p5-tips-and-tricks",
"side-tracks/topics-in-native-javascript",
"side-tracks/transformations-in-p5",
"side-tracks/coding-together-apple-ii",
"side-tracks/games",
"side-tracks/mastodon",
"side-tracks/snowflakes",
"side-tracks/neural-networks",
"side-tracks/noise",
"side-tracks/p5-tips-and-tricks",
"side-tracks/physics-libraries",
"side-tracks/pi-day",
"side-tracks/web-sockets-and-p5js",
"side-tracks/snowflakes",
"side-tracks/sound",
"side-tracks/supershapes",
"side-tracks/teachable-machine",
"side-tracks/physics-libraries",
"side-tracks/noise",
"side-tracks/webgl",
"side-tracks/sound"
"side-tracks/topics-in-native-javascript",
"side-tracks/transformations-in-p5",
"side-tracks/web-sockets-and-p5js",
"side-tracks/webgl"
]
}
24 changes: 24 additions & 0 deletions content/tracks/side-tracks/neural-networks/index.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
{
"title": "Neural Networks",
"description": "This side track contains tutorials about neural networks and matrix algebra.",
"videos": [
"neural-networks/1-introduction",
"neural-networks/2-perceptron-part-1",
"neural-networks/3-perceptron-part 2",
"neural-networks/4-multilayer-perceptron-part-1",
"neural-networks/5-multilayer-perceptron-part-2",
"neural-networks/6-matrix-math-basics",
"neural-networks/7-element-wise-operations",
"neural-networks/8-updating-code-to-es6",
"neural-networks/9-matrix-product",
"neural-networks/10-transpose",
"neural-networks/11-matrix-class-improvements",
"neural-networks/12-feedforward-algorithm-part-1",
"neural-networks/13-feedforward-algorithm-part-2",
"neural-networks/14-backpropagation-part-1",
"neural-networks/15-backpropagation-part-2",
"neural-networks/16-backpropagation-part-3",
"neural-networks/17-backpropagation-part-4",
"neural-networks/18-backpropagation-part-5"
]
}
69 changes: 69 additions & 0 deletions content/videos/neural-networks/1-introduction/index.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,69 @@
{
"title": "Introduction to Neural Networks",
"description": "In this video, I provide a brief introduction to neural networks and an overview of topics in upcoming videos.",
"videoId": "XJ7HLz9VYz0",
"nebulaSlug": "",
"date": "2017-06-26",
"languages": ["Processing"],
"topics": ["neural networks"],
"canContribute": false,
"timestamps": [
{
"time": "0:00",
"title": "Introduction"
},
{
"time": "0:58",
"title": "Tariq Rashid's Make Your Own Neural Network"
},
{
"time": "3:28",
"title": "Neurons"
},
{
"time": "4:58",
"title": "Perceptrons"
}
],
"groupLinks": [
{
"title": "References",
"links": [
{
"icon": "๐Ÿ”—",
"title": "Make Your Own Neural Network",
"url": "https://www.amazon.com/Make-Your-Own-Neural-Network-ebook/dp/B01EER4Z4G",
"description": "Reference book by Tariq Rashid"
},
{
"icon": "๐Ÿ”—",
"title": "Perceptrons",
"url": "https://www.amazon.com/Perceptrons-Introduction-Computational-Geometry-Expanded/dp/0262631113",
"description": "Reference book on perceptrons by Marvin Minsky."
},
{
"icon": "๐Ÿ”—",
"title": "Perceptron",
"url": "https://en.wikipedia.org/wiki/Perceptron",
"description": "Wikipedia entry on the Perceptron."
},
{
"icon": "๐Ÿ”—",
"title": "Intelligence and Learning",
"url": "https://github.com/nature-of-code/NOC-S17-2-Intelligence-Learning/tree/master/week4-neural-networks",
"description": "Course materials for my Intelligence and Learning class."
}
]
}
],
"credits": [
{
"title": "Editing",
"name": "Mathieu Blanchette"
},
{
"title": "Animations",
"name": "Jason Heglund"
}
]
}
93 changes: 93 additions & 0 deletions content/videos/neural-networks/10-transpose/index.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,93 @@
{
"title": "Matrix Math Part 4",
"description": "In this 4th part, I implement a transpose() function for a matrix.",
"videoId": "nAz9AA_pQUQ",
"nebulaSlug": "",
"date": "2018-01-10",
"languages": ["JavaScript"],
"topics": ["matrix algebra", "transpose"],
"canContribute": true,
"timestamps": [
{
"time": "0:00",
"title": "Introduction"
},
{
"time": "1:00",
"title": "Add code for transpose"
},
{
"time": "2:56",
"title": "Test code"
},
{
"time": "4:05",
"title": "Feed forward algorithm"
},
{
"time": "4:19",
"title": "Outro"
}
],
"codeExamples": [
{
"title": "Matrix library",
"description": "Github repo with code for matrix library.",
"urls": {
"other": "https://github.com/CodingTrain/Toy-Neural-Network-JS/blob/master/lib/matrix.js"
}
}
],
"groupLinks": [
{
"title": "References",
"links": [
{
"icon": "๐Ÿ”—",
"title": "Intelligence and Learning",
"url": "https://github.com/nature-of-code/NOC-S17-2-Intelligence-Learning/tree/master/week4-neural-networks",
"description": "Course materials for my Intelligence and Learning class."
},
{
"icon": "๐Ÿ”—",
"title": "Brendan Fortuner's Linear algebra cheat sheet for deep learning",
"url": "https://towardsdatascience.com/linear-algebra-cheat-sheet-for-deep-learning-cd67aba4526c",
"description": "Beginnerโ€™s guide to commonly used operations."
}
]
},
{
"title": "Videos",
"links": [
{
"icon": "๐Ÿ”—",
"title": "Khan Academy's Linear Algebra class",
"url": "https://www.khanacademy.org/math/linear-algebra",
"description": "Khan Academy's Linear Algebra tutorial"
},
{
"icon": "๐Ÿ”—",
"title": "Essence of linear algebra",
"url": "https://www.youtube.com/playlist?list=PLZHQObOWTQDPD3MizzM2xVFitgF8hE_ab",
"description": "Videos by 3Blue1Brown on linear algebra."
},
{
"icon": "๐Ÿ”—",
"title": "Neural Networks",
"url": "https://www.youtube.com/playlist?list=PLZHQObOWTQDNU6R1_67000Dx_ZCJB-3pi",
"description": "Videos by 3Blue1Brown that explain the basics of neural networks."
}
]
}
],
"credits": [
{
"title": "Editing",
"name": "Mathieu Blanchette"
},
{
"title": "Animations",
"name": "Jason Heglund"
}
]
}
104 changes: 104 additions & 0 deletions content/videos/neural-networks/11-matrix-class-improvements/index.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,104 @@
{
"title": "Matrix Class Improvements",
"description": "In this video, I make small improvements to the Matrix class for the upcoming neural network example. Those improvements are: static methods, a \"print\" method, and a \"map\" method.",
"videoId": "HuZbYEn8AvY",
"nebulaSlug": "",
"date": "2018-01-15",
"languages": ["JavaScript"],
"topics": ["matrix algebra"],
"canContribute": true,
"relatedChallenges": ["113-4d-hypercube-aka-tesseract"],
"timestamps": [
{
"time": "0:00",
"title": "Introduction"
},
{
"time": "5:19",
"title": "Static methods"
},
{
"time": "7:50",
"title": "Mozilla documentation"
},
{
"time": "9:12",
"title": "Add print function"
},
{
"time": "15:56",
"title": "Apply a function to every element of the matrix"
},
{
"time": "20:33",
"title": "Outro"
}
],
"codeExamples": [
{
"title": "Matrix library",
"description": "Github repo with code for matrix library.",
"urls": {
"other": "https://github.com/CodingTrain/Toy-Neural-Network-JS/blob/master/lib/matrix.js"
}
}
],
"groupLinks": [
{
"title": "References",
"links": [
{
"icon": "๐Ÿ”—",
"title": "Intelligence and Learning",
"url": "https://github.com/nature-of-code/NOC-S17-2-Intelligence-Learning/tree/master/week4-neural-networks",
"description": "Course materials for my Intelligence and Learning class."
},
{
"icon": "๐Ÿ”—",
"title": "Brendan Fortuner's Linear algebra cheat sheet for deep learning",
"url": "https://towardsdatascience.com/linear-algebra-cheat-sheet-for-deep-learning-cd67aba4526c",
"description": "Beginnerโ€™s guide to commonly used operations."
},
{
"icon": "๐Ÿ”—",
"title": "Static methods on MDN",
"url": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Classes/static",
"description": "Mozilla documentation on static methods."
}
]
},
{
"title": "Videos",
"links": [
{
"icon": "๐Ÿ”—",
"title": "Khan Academy's Linear Algebra class",
"url": "https://www.khanacademy.org/math/linear-algebra",
"description": "Khan Academy's Linear Algebra tutorial"
},
{
"icon": "๐Ÿ”—",
"title": "Essence of linear algebra",
"url": "https://www.youtube.com/playlist?list=PLZHQObOWTQDPD3MizzM2xVFitgF8hE_ab",
"description": "Videos by 3Blue1Brown on linear algebra."
},
{
"icon": "๐Ÿ”—",
"title": "Neural Networks",
"url": "https://www.youtube.com/playlist?list=PLZHQObOWTQDNU6R1_67000Dx_ZCJB-3pi",
"description": "Videos by 3Blue1Brown that explain the basics of neural networks."
}
]
}
],
"credits": [
{
"title": "Editing",
"name": "Mathieu Blanchette"
},
{
"title": "Animations",
"name": "Jason Heglund"
}
]
}
Loading

0 comments on commit 95d4e11

Please sign in to comment.