How to Learn from Little Data - Intro to Deep Learning #17

  Рет қаралды 56,787

Siraj Raval

7 жыл бұрын

One-shot learning! In this last weekly video of the course, i'll explain how memory augmented neural networks can help achieve one-shot classification for a small labeled image dataset. We'll also go over the architecture of it's inspiration (the neural turing machine).
Code for this video (with challenge):
github.com/llSourcell/How-to-Learn-from-Little-Data
Please subscribe! And like. And comment. That's what keeps me going.
More learning resources:
kzbin.info/www/bejne/eau0hISVZb9gh7c
arxiv.org/abs/1605.06065
futuristech.info/posts/differential-neural-computer-from-deepmind-and-more-advances-in-backward-propagation
thenewstack.io/googles-deepmind-ai-now-capable-deep-neural-reasoning/
Join us in the Wizards Slack Channel:
wizards.herokuapp.com/
And please support me on Patreon:
www.patreon.com/user?u=3191693
Follow me:
Twitter: sirajraval
Facebook: sirajology Instagram: sirajraval
Signup for my newsletter for exciting updates in the field of AI:
goo.gl/FZzJ5w
Hit the Join button above to sign up to become a member of my channel for access to exclusive content! Join my AI community: chatgptschool.io/ Sign up for my AI Sports betting Bot, WagerGPT! (500 spots available):
www.wagergpt.co

Пікірлер: 153
@xPROxSNIPExMW2xPOWER
@xPROxSNIPExMW2xPOWER 7 жыл бұрын
I learn from little data all the time, it's called college education
@xPROxSNIPExMW2xPOWER
@xPROxSNIPExMW2xPOWER 7 жыл бұрын
Lemmas are the bane of my everything lol kmn
@swapanjain892
@swapanjain892 7 жыл бұрын
That's not learning,thats called "How do you waste your time"?
@userou-ig1ze
@userou-ig1ze 7 жыл бұрын
ProSurviver you're too optimistic
@marvlousdasta2566
@marvlousdasta2566 7 жыл бұрын
and most of this little data are noise
@Aer0xander
@Aer0xander 7 жыл бұрын
Get little data for going in debt
@khanfor
@khanfor 7 жыл бұрын
You make ML so accessible and convenient. Keep it up Siraj! You're an awesome educator!
@SirajRaval
@SirajRaval 7 жыл бұрын
thanks Abdullah!
@PsRafael84
@PsRafael84 7 жыл бұрын
I have to say: im not a programmer, im a doctor with programming as some short of a hobby. But your videos actually make me rethink about my profession! The way you teach, the quality of your videos! Man! Thank you for sharing your knowledge. Hope for more videos. Success!!
@SirajRaval
@SirajRaval 7 жыл бұрын
thats aweosme thanks!
@pdsnk1
@pdsnk1 7 жыл бұрын
Thanks a lot for your videos! They are so many! I even don't have enough time to watch them all!
@SirajRaval
@SirajRaval 7 жыл бұрын
thanks Albert
@SchultzC
@SchultzC 7 жыл бұрын
Someone give this man a medal. These videos have been amazing.
@markph0204
@markph0204 7 жыл бұрын
Mix of learning and humor nicely done.
@secondsandthings
@secondsandthings 7 жыл бұрын
Woo! Was waiting for this for so long. Great video Siraj
@SirajRaval
@SirajRaval 7 жыл бұрын
thanks!
@avatar098
@avatar098 7 жыл бұрын
Dude, Siraj, you helped me with one of my kaggle projects that contains little data (like 8-10 examples/label). This is my first time being exposed to concepts like neural turing machines :) You have earned a subscriber
@RoxanaNoe
@RoxanaNoe 5 жыл бұрын
Great great video. You totally rock Siraj!!!
@bernardogalvao4448
@bernardogalvao4448 7 жыл бұрын
I missed watching your videos :') Recently I decided to finally read the paper (which I learned about because of your video back then) after a year long of putting it off... thankfully Siraj comes to the rescue breaking it down in more digestible pieces :) keep up the good work
@chroniclesofave2137
@chroniclesofave2137 6 жыл бұрын
Great video Siraj... You're like my role model in my Deep Learning journey and ML in general. I've learnt so much within such a short time. Keep up the great work and hope you reach far. Watched all your videos by the way.
@TheOjayyy
@TheOjayyy 7 жыл бұрын
loved the course, thanks, keep up the good work man!
@SirajRaval
@SirajRaval 7 жыл бұрын
thx ojay will do
@michaelyadchuk4989
@michaelyadchuk4989 7 жыл бұрын
Congrats on the completion of the course. I'm looking forward to taking your Udacity Nanodegree!
@SirajRaval
@SirajRaval 7 жыл бұрын
awesome thx
@I77AGIC
@I77AGIC 7 жыл бұрын
such a unique channel. and always great info. thanks!
@SirajRaval
@SirajRaval 7 жыл бұрын
thanks!
@bobcrunch
@bobcrunch 7 жыл бұрын
And the crowd goes wild! Siraj spikes the ball and the crowd pours out on the field!
@SirajRaval
@SirajRaval 7 жыл бұрын
thx Bob!
@florentinalexandruiftimie8214
@florentinalexandruiftimie8214 7 жыл бұрын
Siraj, you are freaking awesome!!!
@SirajRaval
@SirajRaval 7 жыл бұрын
thx florentin!
@misterj9817
@misterj9817 7 жыл бұрын
man, i love this guy ! I think i am NOT the only one who likes the video first then watches it.
@SirajRaval
@SirajRaval 7 жыл бұрын
love u
@sryan2640
@sryan2640 7 жыл бұрын
Great channel dude, gonna fucking tear through all your ML videos when my exams are over
@waxwingvain
@waxwingvain 7 жыл бұрын
Finally! One shot!
@SirajRaval
@SirajRaval 7 жыл бұрын
finally
@DojoGiantShanNY
@DojoGiantShanNY 7 жыл бұрын
Thanks Siraj, really helpful vid. you sings awesome, by the way:)
@barbolo
@barbolo 7 жыл бұрын
Great video, Siraj. I'd like to suggest you to explain Generative ladder networks (REGEL) for problems with small labeled datasets available, but also with big unlabeled datasets.
@larryteslaspacexboringlawr739
@larryteslaspacexboringlawr739 7 жыл бұрын
thank you for deep learning video
@datasciencewithr1039
@datasciencewithr1039 7 жыл бұрын
Thanks for the video! Get well soon Siraj!
@SirajRaval
@SirajRaval 7 жыл бұрын
thx. get well? im not sick tho lol
@andreamarkos
@andreamarkos 6 жыл бұрын
brilliant!
@chrisoffersen
@chrisoffersen 7 жыл бұрын
Can't wait until I understand this!
@chrisoffersen
@chrisoffersen 7 жыл бұрын
For context: I'm only on Submission 2 in Udacity's Deep Learning ND
@SirajRaval
@SirajRaval 7 жыл бұрын
so close
@olfmombach260
@olfmombach260 7 жыл бұрын
I have three questions: 1. So there is really nothing more than the RNN (controller) that uses its memory database to achieve the best results? 2. Is this implementable in keras? 3. Should I be more focused on keras (for efficiency) or tensorflow (for flexibility or accessibility)? Are there things that can be done only in tensorflow?
@HmmContemplates
@HmmContemplates 7 жыл бұрын
I love it, never change Siraj. Keep on learning though
@SirajRaval
@SirajRaval 7 жыл бұрын
thx i wont and will
@franklinbradfield9131
@franklinbradfield9131 7 жыл бұрын
Very powerful concepts here. It's a lot to package into a 9 minute video, so I've been going over the arXiv paper to get a better grasp of the fundamentals. If you have a moment, can you comment on the difference(s) between one-shot learning and transfer learning?
@brofessorsbooks3352
@brofessorsbooks3352 7 жыл бұрын
you are so good! god bless u!
@SirajRaval
@SirajRaval 7 жыл бұрын
thx u 2
@AnanthNatarajanS
@AnanthNatarajanS 7 жыл бұрын
YOU ROCK.
@vaer-k
@vaer-k 7 жыл бұрын
Can you please share links in the description to the journal articles you highlight in your videos?
@bliss766
@bliss766 6 жыл бұрын
Please do a video on zero-shot-learning.
@elisayao668
@elisayao668 7 жыл бұрын
Hi Siraj, this tis a great one! Could you do one in information leakage? e.g. processing testing dataset using training set statistics.
@troy3393
@troy3393 7 жыл бұрын
SIRAJ! Not sure if you remember me commenting a few months back about starting my Data Science degree and a bunch of Math being involved but I need some more guidance. We have a project where we're exploring simple regression and multivariable regression models on a dataset of our choosing. I want to try take it a step further. I have a bunch of individual player data for a sports league (seasons 2012 - 2016), and I have a source of the data so I could probably grab the 2017 results with a little wget magic. ANYWAY, my goal is to predict a future win or loss when one team is playing another (sounds like a 'simple' classification problem - win or loss) taking as many individual player statistics into account as possible. Is there any easy ways I can just throw the data into a pile, tell the computer a WIN is good and a LOSS is bad (a DRAW is okay); and then get it to spit back out some correlations that it found with a win or a loss when specific teams are up against one another? I need a little bit of a starting point - what should I be looking at? Would love to shock my class and lecturer with a semi-intelligent model!
@BrunoJuncklaus
@BrunoJuncklaus 7 жыл бұрын
Note that you also need pytest, matplotlib, Pillow and scipy to run the code. And also make sure to add a __init__.py in both MANN/ and MANN/Utils/ folder. And also make sure you create a file ~/.matplotlib/matplotlibrc there and add the following code (if you're using virtualenv): backend: TkAgg And even though when you're trying to sample the self.character_folders it raises an error, because the variable is empty.
@ionmosnoi
@ionmosnoi 7 жыл бұрын
in order to make it work for tensorflow v1, is it enough to change batch_matmul to matmul, mul to multiply, concat_v2 to concat and add labels, logits keywords for softmax_cross_entropy_with_logits?
@SirajRaval
@SirajRaval 7 жыл бұрын
thx bruno yes this code was tough AF
@LaSalaProductions
@LaSalaProductions 6 жыл бұрын
if I want to create a Q&A system that answers from a book chapter, should a use seq2seq or DMN?
@logicboard7746
@logicboard7746 7 жыл бұрын
Listening to Siraj = time well spent
@SirajRaval
@SirajRaval 7 жыл бұрын
thx logic
@danieldeleon5804
@danieldeleon5804 7 жыл бұрын
Siraj, I would like to hear a bit more about the life cycle of a deep learning paper. Can you make a video or point me in the direction where I can learn more?
@SirajRaval
@SirajRaval 7 жыл бұрын
ill make a vid on this
@UsmanAhmed-sq9bl
@UsmanAhmed-sq9bl 7 жыл бұрын
Siraj: great tutorial as always. After this course, what is inline ? Please give detail of your upcoming videos.
@SirajRaval
@SirajRaval 7 жыл бұрын
thx figuring it out
@shivambhardwaj5599
@shivambhardwaj5599 7 жыл бұрын
Hey Siraj, I just want to know how I can learn Machine learning for autonomous cars from scratch and what language should I choose. Thanks Your Videos are really intersting.
@calebkirschbaum8158
@calebkirschbaum8158 6 жыл бұрын
Could you use this to train a network to make a network that is supposed to make networks using the original network as the data? Basically, Make 'A' be able to make 'B' that can make 'C', by using 'A' as the data for 'A'. Then using all subsequent programs use that for more data to become better? Or is that way too complicated for one shot learning?
@artr0x93
@artr0x93 7 жыл бұрын
Great video as always! Is there a discord channel for Siraj-related things? If not I would really like to see one created, so that ppl can go there and discuss the challenges. Discord is really good at bringing communities together in my experience.
@SirajRaval
@SirajRaval 7 жыл бұрын
we use slack see vid desc thx
@nitink4245
@nitink4245 7 жыл бұрын
siraj please let us know if we can use , one shot learning or mann for fraud or loan defaulter prediction ??? . if so please make a comprehensive video ?
@vineetkothari2839
@vineetkothari2839 7 жыл бұрын
As you show it is used for image classification can it be used with CNN and GAN if yes how ?
@SirajRaval
@SirajRaval 7 жыл бұрын
hasn't been tried, good experiment!
@ngrislain
@ngrislain 7 жыл бұрын
Yes, the gaussian is mathematically convenient, but it is also special in the sense it maximises Entropy for a given (mean, std-err) pair, among so many special properties...
@SirajRaval
@SirajRaval 7 жыл бұрын
good points
@MaduSudananB_N
@MaduSudananB_N 7 жыл бұрын
So who taught you machine learning in the first place? Are you self learnt ? P.S : Thanks for all these videos, they are amazing.
@cidroldan6732
@cidroldan6732 7 жыл бұрын
Hello, great vid! also where can i see the code for this lesson's challenge winner?
@SirajRaval
@SirajRaval 7 жыл бұрын
Thanks! none this video
@siddharthyadav5682
@siddharthyadav5682 7 жыл бұрын
Most of the times, I watch your videos just for recreational purposes.
@manalmohammed27
@manalmohammed27 7 жыл бұрын
Siraj, is it feasible to implement it with text classification ?
@vigneshyaadav6322
@vigneshyaadav6322 7 жыл бұрын
@Siraj: please do make vedios about robotics u may have a grate. knowledge as u had been in a start up
@JakeDownsWuzHere
@JakeDownsWuzHere 7 жыл бұрын
@SirajRaval
@SirajRaval 7 жыл бұрын
thanks Jake!
@macot79
@macot79 7 жыл бұрын
Doesn't the central limit theorem kinda indicate that using a Gaussian distribution can often times be a good choice of distribution when trying to model a lot of phenomenon?
@SirajRaval
@SirajRaval 7 жыл бұрын
indeed just saying we r still figuring out things
@ebtesamh9624
@ebtesamh9624 6 жыл бұрын
Can we use this for translation
@Skythedragon
@Skythedragon 7 жыл бұрын
I sadly doesn't take one shot for me to understand this, But great video, I've been wanting to train models on tiny datasets!
@SirajRaval
@SirajRaval 7 жыл бұрын
thanks!
@Skythedragon
@Skythedragon 7 жыл бұрын
+Siraj Raval also, what's the difference between a MANN and DNC?
@kingpopaul
@kingpopaul 7 жыл бұрын
Has anyone tried the Hierarchical Temporal Memory (HTM) algorithms from Numenta, I'm curious about their tech but I don't know if they work better than the more common neural networks solutions.
@SirajRaval
@SirajRaval 7 жыл бұрын
numenta is kind of a joke since they hardly publish but make big claims
@kingpopaul
@kingpopaul 7 жыл бұрын
Yeah they publish a little but I'm keeping an eye on them, their github is active and they are gradually adding stuff to their nupic libraries. Maybe once they have implemented enough algorythms it'll be interesting to compare and see if their claim are true. Though for now they mostly seem to focus on anomaly detection for their products, which is pretty lame in my opinion. But if their 'novel' approach is any good, it could turn out to be interesting. Thanks for the reply kind sir!
@theosalmon
@theosalmon 7 жыл бұрын
The claim is that they're reverse engineering the neo-cortex. If that becomes successful, it will be an invaluable contribution. Practical applications are minimal so far, but the mechanisms they propose are very different and interesting.
@Renardbardhi1
@Renardbardhi1 7 жыл бұрын
Siraj nice work. I would like to ask for learning from a small data set. I am using Corell5k data set that contains 50 classes each class contains 100 images and its small data for CNN to achieve a high score of accuracy. How can I increase accuracy? Thank you very much
@charansai9421
@charansai9421 7 жыл бұрын
nice video siraj and?? can u suggest a good book for learning algorithms??
@allanng78
@allanng78 6 жыл бұрын
Hi Sir Siraj, I have downloaded and run the code in github. It seems to take forever. Is it suppose to be like that? Please help..... I am running this in a vn in an i7 laptop.
@yeahokaysureyoubet
@yeahokaysureyoubet 7 жыл бұрын
Oh MANN!
@SirajRaval
@SirajRaval 7 жыл бұрын
vietMANN
@ebtesamh9624
@ebtesamh9624 7 жыл бұрын
Hi, can i apply this code to text data
@aryopradiptagema6677
@aryopradiptagema6677 7 жыл бұрын
This is what i was waiting for!!! BTW, mathematically speaking, any kind of memory augmented neural networks actually can be used even to solve a problem with a moderate amount of data (not too big, not too small), right? Any thought about the performance comparison between other deep learning algorithms and MANN in task with a moderate amount of data?
@SirajRaval
@SirajRaval 7 жыл бұрын
awesom thanks and yes. sounds like a good experiment
@calebkirschbaum8158
@calebkirschbaum8158 6 жыл бұрын
Can you not combine the 2 so as to make deep learning really effective at lower levels, and it just keeps getting better with more data you throw at it?
@elfamosodpereira
@elfamosodpereira 6 жыл бұрын
Would this work for a chatbot project?
@chinmayeejoshi2119
@chinmayeejoshi2119 5 жыл бұрын
Was he trying to start a the equivalent of getting rick rolled with the Barbra Streisand thing?
@xzhao5824
@xzhao5824 6 жыл бұрын
Hi,Siraj.where can I find the winner code for this week's competition?
@Lindomcgud
@Lindomcgud 6 жыл бұрын
How big is you dataset?
@machapuis
@machapuis 7 жыл бұрын
yaayyy
@SirajRaval
@SirajRaval 7 жыл бұрын
yay
@gabrielsb15
@gabrielsb15 7 жыл бұрын
it doesnt work for python 3.5 right?
@bonesfelipe93
@bonesfelipe93 7 жыл бұрын
Just like Oracle Hahahaha :')
@SirajRaval
@SirajRaval 7 жыл бұрын
lool
@vaer-k
@vaer-k 7 жыл бұрын
Here is the link to the Neural Turing Machine deepmind article arxiv.org/abs/1410.5401
@AkashMishra23
@AkashMishra23 7 жыл бұрын
You should link the arXiv/ Research Papers in the Video in the Description, It'll be a lot easier to get to them...
@whatthefunction9140
@whatthefunction9140 7 жыл бұрын
Behave like an excited neuron.
@TidalMaker
@TidalMaker 7 жыл бұрын
I died at the Pork Pig homage.
@SirajRaval
@SirajRaval 7 жыл бұрын
haha
@bf2825
@bf2825 7 жыл бұрын
Hi, Siraj. I want to ask about why people in ML always discourage people from learning Deep Learning?
@Pietrabentivi
@Pietrabentivi 7 жыл бұрын
HI LEVEL CHANNEL !!!!!
@AhmedShariffGplus
@AhmedShariffGplus 5 жыл бұрын
"just like oracle" lol dude :D
@alisyariatimohdsalleh1848
@alisyariatimohdsalleh1848 6 жыл бұрын
The video and github code not the same. Simplified version i think.
@Arty66Click
@Arty66Click 7 жыл бұрын
>That Chappelle meme tho) lmao)
@SirajRaval
@SirajRaval 7 жыл бұрын
lolz
@alonkellner5375
@alonkellner5375 7 жыл бұрын
Could you make a video about ZERO DATA LEARNING too? A very interesting topic in the realm of meta-learning.
@terryr9052
@terryr9052 7 жыл бұрын
Can you explain that more?
@alonkellner5375
@alonkellner5375 7 жыл бұрын
Terry R Zero data learning is the concept of learning to do new given tasks without ever training on it (therfore the name zero data learning) using the knowledge learned from previous tasks, for example learning to classify images of digits to 0-9, and then being asked to classify to new classes like letters A-Z, and with the knowledge learned from the digits classify the new letters images without ever being trained on letters at all. The paper about zero data learning is in this link: www.cs.toronto.edu/~larocheh/publications/aaai2008_zero-data.pdf
@terryr9052
@terryr9052 7 жыл бұрын
Ah! So a specific type of transfer learning... That is interesting - thanks for the link.
@SirajRaval
@SirajRaval 7 жыл бұрын
nice i should
@walterhugolopezpinaya5641
@walterhugolopezpinaya5641 7 жыл бұрын
Who won this Coding Challenge?
@diegoantoniorosariopalomin4977
@diegoantoniorosariopalomin4977 7 жыл бұрын
hey Siraj , i was asigned to be the representative of programing 101 in my college , any tips
@diegoantoniorosariopalomin4977
@diegoantoniorosariopalomin4977 7 жыл бұрын
what to post on the google + group i created and such
@diegoantoniorosariopalomin4977
@diegoantoniorosariopalomin4977 7 жыл бұрын
there is an exam on monday btw ( any resources you know ?)
@SirajRaval
@SirajRaval 7 жыл бұрын
thx diego, make a git commit everyday
@Eddie-rf4tp
@Eddie-rf4tp 7 жыл бұрын
First half was great. I don't know why, the singing kills it for me. Suggestion, sing at the end.
@SirajRaval
@SirajRaval 7 жыл бұрын
thx eddie. i gotta do me. love u
@Eddie-rf4tp
@Eddie-rf4tp 7 жыл бұрын
Haha, fair enough. Love you the same 🤓
@shutinghuang1398
@shutinghuang1398 7 жыл бұрын
Love your video! I have no background in computer science or coding, but managed to train my own image classification through your tutorial! Can you do a tutorial on semantic segmentation? something like this is really fun: github.com/warmspringwinds/tensorflow_notes/blob/master/fully_convolutional_networks.ipynb
@synetic707x
@synetic707x 7 жыл бұрын
Programs that learn how to learn... it's getting out of hand
@htconezm4501
@htconezm4501 7 жыл бұрын
just like Oracle lol
@SirajRaval
@SirajRaval 7 жыл бұрын
;)
@God-po4rt
@God-po4rt 7 жыл бұрын
I... I don't understand.
@SirajRaval
@SirajRaval 7 жыл бұрын
lmao
@terryhintz4521
@terryhintz4521 7 жыл бұрын
memes overflow
@SirajRaval
@SirajRaval 7 жыл бұрын
so many
@roshanrane3112
@roshanrane3112 6 жыл бұрын
Misleading title alert! This is about meta learning and one shot learning and it's definitely not an "introduction to deep learning" topic
@moazim1993
@moazim1993 5 жыл бұрын
Eww the code is in Python 2
@oneroadgoodwalk
@oneroadgoodwalk 7 жыл бұрын
nice video but the memes get very distracting
@SirajRaval
@SirajRaval 7 жыл бұрын
thx for feedback
@andrewkoh6124
@andrewkoh6124 7 жыл бұрын
I think the memes are a fresh breath of air! otherwise it would be kinda dry. thanks siraj!
@user-zi3nb1bv3e
@user-zi3nb1bv3e 6 жыл бұрын
Who won this Coding Challenge?
MEGA BOXES ARE BACK!!!
08:53
Brawl Stars
Рет қаралды 34 МЛН
Smart Sigma Kid #funny #sigma #comedy
00:25
CRAZY GREAPA
Рет қаралды 7 МЛН
Пробую самое сладкое вещество во Вселенной
00:41
MEGA BOXES ARE BACK!!!
08:53
Brawl Stars
Рет қаралды 34 МЛН