Package | Version | Citation |
---|---|---|
keras | 2.15.0 | @keras |
safetensors | 0.1.2 | @safetensors |
tensorflow | 2.16.0 | @tensorflow |
Convolutional Neural Nets
Inspiration
Convolutional Neural Networks
Convolution
Consider that you life in a high rise apartment complex. Have you heard an ambulance go by? How does the sound of the siren change as the ambulance approaches towards your dwelling and then goes past it to get lost amidst the surrounding buildings again?
The siren’s emitted sound is always the same. It is the local surroundings and the geometry of the echoes that brings the same sound to your ears again and again, but in altered form. The sound from the ambulance goes all around, hits on or other of the buildings, reflects, and comes back to your ears after a delay and weighted by the strength of the echo geometry.
You might consider that a CNN has several such echo mechanisms operating. Each pixel value (if you are dealing with image input) goes through a series of such delayed weightings which multiply the pixel input. The output of each pixel contributes in such fashion to the activation of that unit/layer of the CNN.
How does a CNN Structure use “Convolution”?
Let us contemplate the structure of a CNN.
Videos
Convolutional Neural Nets in Code
Using torch
.
Wait, But Why?
References
- Digit Recognition with CNNs. Interactive! https://transcranial.github.io/keras-js/#/mnist-cnn
- CNN Convoluter. https://pwwang.github.io/cnn-convoluter/
- CNN Explainer: Learn Convolutional Neural Network (CNN) in your browser!. https://poloclub.github.io/cnn-explainer/
- Deep Lizard. Understanding Convolution Operations in Neural Networks. https://deeplizard.com/resource/pavq7noze2
- Colah’s Blog.(Apr 6, 2014). Neural Networks, Manifolds, and Topology. https://colah.github.io/posts/2014-03-NN-Manifolds-Topology/. Very simple and readable article.
- Andrej Karpathy. ConvNetJS:Deep Learning in your browser.https://cs.stanford.edu/people/karpathy/convnetjs/
- https://developers.google.com/machine-learning.https://developers.google.com/machine-learning
- Adit Deshpande. A Beginner’s Guide to CNNs. https://adeshpande3.github.io/A-Beginner%27s-Guide-To-Understanding-Convolutional-Neural-Networks/
- The Neural Network Zoo - The Asimov Institute. http://www.asimovinstitute.org/neural-network-zoo/
- It’s just a linear model: neural networks edition. https://lucy.shinyapps.io/neural-net-linear/
- Machine Learning Tokyo: Interactive Tools for ML/DL, and Math. https://github.com/Machine-Learning-Tokyo/Interactive_Tool
- Anyone Can Learn AI Using This Blog. https://colab.research.google.com/drive/1g5fj7W6QMER4-03jtou7k1t7zMVE9TVt#scrollTo=V8Vq_6Q3zivl
- Practical Deep Learning for Coders: An Online Free Course.https://course.fast.ai
- Neural Networks Visual with vcubingx
The Neural Network Zoo - The Asimov Institute. http://www.asimovinstitute.org/neural-network-zoo/
It’s just a linear model: neural networks edition. https://lucy.shinyapps.io/neural-net-linear/
Neural Network Playground. https://playground.tensorflow.org/
Rohit Patel (20 Oct 2024). Understanding LLMs from Scratch Using Middle School Math: A self-contained, full explanation to inner workings of an LLM. https://towardsdatascience.com/understanding-llms-from-scratch-using-middle-school-math-e602d27ec876
Machine Learning Tokyo: Interactive Tools for ML/DL, and Math. https://github.com/Machine-Learning-Tokyo/Interactive_Tool
Anyone Can Learn AI Using This Blog. https://colab.research.google.com/drive/1g5fj7W6QMER4-03jtou7k1t7zMVE9TVt#scrollTo=V8Vq_6Q3zivl
Neural Networks Visual with vcubingx
- Practical Deep Learning for Coders: An Online Free Course.https://course.fast.ai
Text Books
Michael Nielsen. Neural Networks and Deep Learning, a free online book. https://neuralnetworksanddeeplearning.com/index.html
Simone Scardapane. (2024) Alice’s Adventures in a differentiable Wonderland. https://www.sscardapane.it/alice-book/
Parr and Howard (2018). The Matrix Calculus You Need for Deep Learning.https://arxiv.org/abs/1802.01528
The Little Book of Deep Learning. Available Online
Parr and Howard (2018). The Matrix Calculus You Need for Deep Learning.https://arxiv.org/abs/1802.01528
Zhang, Lipton, Li, Smola. Dive into Deep Learning. https://www.d2l.ai/
LLMs
- Brendan Bycroft.Visualizing LLMs. https://bbycroft.net/llm
- Rohit Patel (20 Oct 2024). Understanding LLMs from Scratch Using Middle School Math: A self-contained, full explanation to inner workings of an LLM. https://towardsdatascience.com/understanding-llms-from-scratch-using-middle-school-math-e602d27ec876
- AI-powered reporting and annotation for radiology. https://www.md.ai
Using R for DL
- Geeks for Geeks. Convolutional Neural Nets in R. https://www.geeksforgeeks.org/convolutional-neural-networks-cnns-in-r/
- David Selby (9 January 2018). Tea and Stats Blog. Building a neural network from scratch in R. https://selbydavid.com/2018/01/09/neural-network/
- torch for R: An open source machine learning framework based on PyTorch. https://torch.mlverse.org
- Akshaj Verma. (2020-07-24). Building A Neural Net from Scratch Using R - Part 1 and Part 2. https://rviews.rstudio.com/2020/07/20/shallow-neural-net-from-scratch-using-r-part-1/ and https://rviews.rstudio.com/2020/07/24/building-a-neural-net-from-scratch-using-r-part-2/
- Ander Fernandez Jauregui. https://anderfernandez.com/en/blog/how-to-create-neural-networks-with-torch-in-r/
- https://f0nzie.github.io/rtorch-minimal-book/
-
torch
for R: An open source machine learning framework based onPyTorch
. https://torch.mlverse.org/