Gabe retweeted
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…
Gabe retweeted
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…
Gabe retweeted
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)
Gabe retweeted
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 🦆...
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…
Gabe retweeted
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.
Gabe retweeted
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
Gabe retweeted
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…
Gabe retweeted
The @soumithchintala keynote from @JuliaLanguage JuliaCon is now available
youtube.com/watch?v=6V6jk_Od…
Gabe retweeted
Want an idiomatically Julia version of fastai2? Then join the FastAI.jl project!
github.com/opus111/FastAI.jl…
Gabe retweeted
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.
Making a first Julia pull request
kshyatt.github.io/post/first…
Julia is great for working with data, Athena is great for querying data, how can we use both together?
#julia #intro #aws #data
gabriel.gaucimaistre.com/202…
1
My take on failed Machine Learning experiments
gabriel.gaucimaistre.com/202…
New blog post: Data Science ❤️ Clean Code
gabriel.gaucimaistre.com/202…
New site, new blog post. Check it out!
"I Don't Like Data Science Competitions"
gabriel.gaucimaistre.com/202…
















