Gabe (@itsgabegm) header
Gabe (@itsgabegm) profile picture

Python, data science, machine learning.

Germany
Joined September 2008
Photo by Gabe (@itsgabegm)Photo by Gabe (@itsgabegm)Photo by Gabe (@itsgabegm)Photo by Gabe (@itsgabegm)
Backpropagation and Gradient Descent - The dynamic duo of deep learning Ever wondered about the mathematics behind NN training? Here is a simplified way to understand the process. 1. Initialize the NN: Create a neural network and initialize it with random weights and biases. 2. Feedforward pass: NN predicts an outcome based on input. For example: does the input image have a cat? 3. Calculate Loss: At first the prediction is a random guess. The error between the prediction and reality is called loss. If the network predicts there is no cat in an image of a cat, loss is high and vice-versa 4. Backpropagation: This is where the magic happens. Fundamentally, you are calculating how much each parameter (weight or bias of each node) in the network contributed to the loss or error from step 2. You move backwards from the last layer using the chain rule of calculus and compute "gradients". Basically, you are calculating the gradient of the loss function with respect to each weight or bias 5: Gradient Descent: We now adjust the weights and biases based on the gradients calculated in the last step. Typically this is done by multiplying the gradient by a small factor called learning rate. The basic idea is to reduce the error or loss. 6. Iteration: We repeat steps 2 to 6 for all the data points in your training set multiple times (epochs). Hence, your NN is likely to be a better fit, if you have more training data points. 7. Evaluation: You should always keep aside some data points from your original training set for testing. Here we evaluate how the NN predicts data points, it's never been trained on If your error on the test set is low, fundamentally you have learnt the weights and biases of a model that predict the output given specific inputs and you can now use it to predict on unseen data YT videos are a great way to learn more Gradient descent: youtube.com/watch?v=qg4PchTE… Back prop + Pic credit - youtube.com/watch?v=An5z8lR8…
24
598
18
2,267
311,089
Gabe retweeted
Guenther's proposal 😆💍 #JapaneseGP #F1
74
1,140
223
16,093
One of the most fun and fascinating things you can do with generative image models is *walking through visual latent space*. You can create animations that interpolate between concepts, between styles, etc. Here's a Keras tutorial to get you started: keras.io/examples/generative…
1
55
8
386
I've been asked about this a lot, so let me provide a quick FAQ. Q: What's the nature of the issue? A: Anyone who has bought my book from Amazon in the past few month hasn't bought a genuine copy, but a lower-quality counterfeit copy printed by various fraudulent sellers.
Replying to @fchollet
For instance, if you go to the page of DLwP2 on Amazon, you see that it's being sold by a 3rd party seller named "Sacred Gamez". If you click "buy", you won't get the actual book from Manning. You get a low-quality counterfeit printed by the fraudulent seller (from the book PDF)
88
1,005
446
2,710
If you want to learn some new Blender skills now is the time! All the free tutorials (10 so far!) are available on my website 😄 #tutorial #gamedev #b3d
32
985
11
5,507
I'm very excited about my new series of videos. I feel they can make an impact. These are short, bite-sized videos on debugging and troubleshooting software. I call them 🦆 𝟭𝟰𝟬 𝗦𝗲𝗰𝗼𝗻𝗱 𝗗𝘂𝗰𝗸𝗹𝗶𝗻𝗴𝘀 🦆 (credit @TomGranot) This, my friends, is a 🧵 of 🦆...
8
8
6
24
I recently had the pleasure of giving a talk on Geospatial Analytics which covered a brief introduction into Geospatial data, what it looks like, its challenges, and how it can be applied towards business strategies. gabriel.gaucimaistre.com/202…
My semi-annual reminder to be kind to recruiters :) Offering you a job is one of the most helpful things someone can possibly do. Even if you're fortunate not to need one (or it's at the wrong level, etc) this is not a thing to complain about.
2
6
1
50
**SOUND ON** Baby Ryan "Sings" Thunderstruck by @acdc #Thunderstruck #ACDC #Baby
264
2,147
992
9,126
The Flame in the Flood (Xbox, US Store digital Code) Follow and Retweet for your chance to win! Winner announced within 24 hours via tweet 🎁 #FreeCodeFridayContest
12
7
If you missed the Q&A session on FastAI.jl (fastai in #JuliaLang, you can now watch the recording on YouTube. Thanks again to @jeremyphoward for joining! youtube.com/watch?v=ZaiLk_ib…
2
16
1
44
Want an idiomatically Julia version of fastai2? Then join the FastAI.jl project! github.com/opus111/FastAI.jl…
13
42
8
252
Yesterday in lecture, I was pretty harsh on stat test decision trees (4m12s). My full view is more subtle and charitable. But really I wish we'd stop teaching beginners these trees, as they are tools for producing results, not for producing inferences.
5
35
2
131
Like and retell for you chance to win one of the following prizes! Life is Strange: Before the Storm Deluxe Edition Watchdogs 2 The Disney Afternoon Collection BioShock: The Collection Winners chosen March 21 (sunday), please follow so we can DM if you win! More codes soon!
23
64
82