Neural Network For Handwritten Digits Classification | Deep Learning Tutorial 7 (Tensorflow2.0)

Поділитися
Вставка
  • Опубліковано 17 лип 2020
  • In this video we will build our first neural network in tensorflow and python for handwritten digits classification. We will first build a very simple neural network with only input and output layer. After that we will add a hidden layer and check how the performance of our model changes.
    🔖 Hashtags 🔖
    #handwrittendigitrecognition #tensorflowtutorial #handwritingrecognition #mnisttensorflowtutorial
    Do you want to learn technology from me? Check codebasics.io/?... for my affordable video courses.
    Github link for code in this tutorial: github.com/codebasics/deep-le...
    Next video: • Activation Functions |...
    Previous video: • Pytorch vs Tensorflow ...
    Deep learning playlist: • Deep Learning With Ten...
    Prerequisites for this series:
    1: Python tutorials (first 16 videos): ua-cam.com/users/playlist?list...
    2: Pandas tutorials(first 8 videos): • Pandas Tutorial (Data ...
    3: Machine learning playlist (first 16 videos): ua-cam.com/users/playlist?list...
    🌎 My Website For Video Courses: codebasics.io/?...
    Need help building software or data analytics and AI solutions? My company www.atliq.com/ can help. Click on the Contact button on that website.
    #️⃣ Social Media #️⃣
    🔗 Discord: / discord
    📸 Dhaval's Personal Instagram: / dhavalsays
    📸 Codebasics Instagram: / codebasicshub
    🔊 Facebook: / codebasicshub
    📱 Twitter: / codebasicshub
    📝 Linkedin (Personal): / dhavalsays
    📝 Linkedin (Codebasics): / codebasics
    🔗 Patreon: www.patreon.com/codebasics?fa...

КОМЕНТАРІ • 474

  • @codebasics
    @codebasics  2 роки тому +18

    Do you want to learn technology from me? Check codebasics.io/ for my affordable video courses

    • @brad8122
      @brad8122 Рік тому +2

      Hello, why do we have 1875 steps in each epoch in 20:40 ? Where is this 1875 number coming from? It is not the 60000 training data size or nothing else we saw above that line?
      Thank you so much by the way..,

    • @Rafian1924
      @Rafian1924 Рік тому

      Sir.. you deserve to teach the entire world machine learning.. you are an exceptional talent.

  • @amineamaach4450
    @amineamaach4450 2 роки тому +23

    Just love the way you're making things pretty simple. A big shout-out to you.

  • @skojjalar
    @skojjalar 2 роки тому +15

    Using 1 hidden layer (1000) & relu (remaining parameters untouched), I reached 0.9908 accuracy. Thanks a lot for this course.

    • @RajaKumar-hg9wl
      @RajaKumar-hg9wl 2 роки тому +1

      Is it a evaluation score or training score?

  • @mithlesh0singh
    @mithlesh0singh 3 роки тому +10

    love the have you figure out the issue of accuracy, That makes a huge difference.

  • @AlonAvramson
    @AlonAvramson 2 роки тому +30

    from the Optimizers ['SGD','RMSprop','Adam','Adadelta','Adagrad','Adamax','Nadam','Ftrl'] with 5 Ephocs, Adamax got the highest score on Test samples. Ftrl got the lowest score.

  • @abhishekkhare6175
    @abhishekkhare6175 3 роки тому +6

    Thank's a lot for making this wonderful playlist for Deep Learning.

  • @anirbanc88
    @anirbanc88 Рік тому +3

    exhilarating to see the inner workings of deep learning! thank you sir

  • @shoaibsaifi9806
    @shoaibsaifi9806 2 роки тому +2

    This is the only lecture where I got a really great idea about neural network. I have seen many lectures no one explain each thing like you did. They just make the neural network

  • @rkag5811
    @rkag5811 3 роки тому +10

    Well lectured..Have to listen twice to understand this session accordingto my perception..

  • @phaniauce
    @phaniauce 3 роки тому +58

    Excellent Video.. I always follow the philosophy: First have something working with as much little theory as possible...and then play with parameters that increase curiosity and then dissect the theory..Makes life easy.. than the other way around..

    • @codebasics
      @codebasics  3 роки тому +14

      Phani, exactly. I am following exactly same principal. There are many things in this tutorial such as loss, optimizer etc which remains mystery but I wanted to use that first and than unveil the mystery step by step :)

  • @cooleo2350
    @cooleo2350 11 місяців тому +5

    This is phenomenal, thank you so much! Truly a brilliant teacher. Been looking for a while, and this video summed up so much. You sir earned yourself a subscriber, and perhaps many more as I share your channel. Thank you for taking the time to do this.

  • @amaningoma4831
    @amaningoma4831 Рік тому +4

    Your course is more than explicit. Thank you so much for giving such efforts to share knowledge

  • @rubaitrahman4449
    @rubaitrahman4449 Рік тому +3

    this is the easiest and a must watch video to learn deep learning basics.
    I will be always grateful to you sir

  • @vivekpatil681
    @vivekpatil681 3 роки тому +2

    Again waiting for next ❤️
    I love your way of explains something.

  • @niveditadas5532
    @niveditadas5532 Рік тому +36

    Sir, you are a born teacher. The way you represent complex topics in simpler way is truly amazing. I really admire your hard work for designing such wonderful courses. Thank you sir.

  • @dutta.alankar
    @dutta.alankar 3 роки тому +4

    Great introductory video! Thanks a lot.

  • @ECX0x100h
    @ECX0x100h 3 роки тому +2

    Awesome and clearly explained! Love it!

  • @ivavrtaric
    @ivavrtaric 2 роки тому +6

    This is the most elegant solution of Hand-Written digits MNIST problem in the whole Internet! Thank you. I've learned so much! You have my sub and much respect!

  • @nikhilkashyap1771
    @nikhilkashyap1771 2 роки тому +2

    Best Deep Learning Course I found On UA-cam, I mean you the gave the content that I was looking for.

  • @user-pb6pt4rw1l
    @user-pb6pt4rw1l 3 місяці тому +2

    What an amazing tutorial! Did a machine learning for the first time with so much clarity! Thank you so much sir

  • @utkarshgoyal6742
    @utkarshgoyal6742 3 роки тому +2

    Hi, your videos are so insightful. I would like to request if you could include or do a video on kerasclassifier? Thank you so much!

  • @nikitasharma2757
    @nikitasharma2757 3 роки тому +1

    Amazingly explained!! Appreciate your work sir. Big fan!!

  • @user-vc5kp1tl8r
    @user-vc5kp1tl8r 2 роки тому +1

    you are SUPER , please continue ,also if you can explain deep reinforcement learning , i will be so grateful !!

  • @aditiparetkar2862
    @aditiparetkar2862 2 роки тому +9

    Thank you so much for the great explanation!
    By using relu in the hidden layer and softmax in the output layer , was able to achieve an accuracy of 99%

    • @eclairs0909
      @eclairs0909 Рік тому

      can you explain a little more how to use it?? or refer me some videos

  • @tejendrasaraswat6766
    @tejendrasaraswat6766 3 роки тому +1

    Sir Keep it up,eagerly waiting for next video.
    Thank You...😊.

  • @nkanyisosigwaza
    @nkanyisosigwaza 3 місяці тому +1

    You are an absolutely amazing teacher! Thank you for the great content

  • @theodoregiannilias5140
    @theodoregiannilias5140 2 роки тому +3

    God damn man you're amazing, every doubt that I had during my education degree you solved it. Keep up the good work man :D

  • @abeerzidan4349
    @abeerzidan4349 8 місяців тому +3

    Dear Sir... thanks a lot for your clever and robust teaching ... please can i get presentation of this course ...

  • @drmanishmadhavatripathi6798
    @drmanishmadhavatripathi6798 3 роки тому +6

    I become fan of you as your style of explaining the things. You explained the complex topics in such a lucid manner that audience could not be distracted for a single while.

  • @mdmonzurmorshed3557
    @mdmonzurmorshed3557 Рік тому +2

    Its a great presentation !!! I appreciate your teaching method.

  • @ChanceMinus
    @ChanceMinus 5 місяців тому +1

    Brilliant! This was great. Thank you.

  • @sumit121285
    @sumit121285 3 роки тому

    you are simply superb sir....
    thankyou so much for this series.....

  • @SingingWithAdi
    @SingingWithAdi 9 місяців тому +1

    I have been following you from the ML Playlist , amazing content !! Thank you so much sir !

  • @nirajasanghai9707
    @nirajasanghai9707 Рік тому +2

    your videos are very helpful. It clears all doubts about machine learning and deep learning. can you please make a video on Deep learning using PyTorch?

  • @parthshah6463
    @parthshah6463 3 роки тому +1

    You're god for the Beginner !!! The way you explain is way different than anyone else... SUPER AMAZING... HIGHLY RECOMMENDED

  • @ishapandey48
    @ishapandey48 3 роки тому

    Thank you so much sir, for this series

  • @raom2127
    @raom2127 2 роки тому

    Sir your way of explanation is amazing Iam benefited from this your videos are good we appreciate your patience and way of explanation is beautiful.

  • @pratik19901
    @pratik19901 2 роки тому +5

    Hi dhaval,
    You have explained the concept in very simple manner. Could you please share all ppts of deep learning series? It will be a great help for all learners.

  • @surarun
    @surarun 3 роки тому +1

    very clear explanation.Your way of making complex things look simple and elucid serves as role model for each of us to be. Thank you so much sir

  • @shivav7379
    @shivav7379 Рік тому +1

    Hello Sir, this is amazing code walk through with very very good explanation.

  • @aureliussimon1012
    @aureliussimon1012 Рік тому +2

    Your videos are fantastic, I really appreciate the time you have taken to explain complex concepts so simply. Thank you very much 🙏🏼

  • @shrinivaskamath563
    @shrinivaskamath563 Рік тому

    Excellent video Great Explanation. very grateful for this

  • @sohaibshah1771
    @sohaibshah1771 7 місяців тому

    Sir in this video your practical example is different then our use case insurance. Appreciate you r effort

  • @rabiafyz9952
    @rabiafyz9952 2 роки тому

    Thank you so much for making such a simple explanation. I cleared all my doubts that I had during my Education degree.

  • @manishkc3852
    @manishkc3852 3 роки тому +1

    Very well planned and simply explained tutorial.
    But I have a question, I have read that for multi-class classification problem, softmax activation is good, why did you use sigmoid activation here? Thanks.

  • @mayanktripathi4u
    @mayanktripathi4u 3 роки тому +3

    Hi Sir, your videos are so insightful and well managed.
    Thanks for sharing this.

    • @codebasics
      @codebasics  3 роки тому +2

      Glad you liked it Mayank

  • @ganpatibappamorya9612
    @ganpatibappamorya9612 11 місяців тому

    Explain in very efficient manner. Very Impressive

  • @saichaitanyakumbhari274
    @saichaitanyakumbhari274 2 роки тому

    really i have tried so many tutorials from today morning but this is like butter smooth thank you dhaval for such a great lectures and with all this knowledge you have a good hair with very little of this i lost 40%... JK really awsome thank you very much.

  • @raufodilov2203
    @raufodilov2203 3 роки тому

    greatest teaching style. every detail comes in right position with actual meaning

    • @codebasics
      @codebasics  3 роки тому

      Rauf I am glad you liked it

  • @semiuodunayoadebayo6299
    @semiuodunayoadebayo6299 Рік тому

    Great learning. Can’t thank you enough….great job

  • @mithunpathak9558
    @mithunpathak9558 3 роки тому

    you are the best teacher in data science

  • @dantedt3931
    @dantedt3931 2 місяці тому +1

    One of the best tutorials.

  • @sayantikachakraborty2055
    @sayantikachakraborty2055 3 роки тому +1

    Hi sir...first of all thank you alot for these videos..these videos are really amazing. Sir i have a project on radial basis neural network..if possible can you make a video for that?

  • @sai.boyina
    @sai.boyina 3 роки тому

    Nice to see lot of good stuff on youtube. Wondering why can't everyone explain the way you explain. It seems I have finally landed at right place. By the way, how that pic become 7x 7 grid? Same for all image or is there any math behind it?

  • @070_rahulbhataniya7
    @070_rahulbhataniya7 2 роки тому

    you are the best tutor for Deep Learning

  • @sand9282
    @sand9282 Рік тому +8

    Even though you have mentioned 3Blue1brown over here you have explained Neural Network with much concrete example here. Your examples are very easy to visualise and understand for beginners and in some cases it's even better than the great AndrewNG himself. Being from the field of education I see all the qualities of a great teacher in you, keep up the good work and thank you for such a good tutorial for free.

    • @codebasics
      @codebasics  Рік тому +6

      🙏🙏🙏 thanks and yes I am continuing it and even left my 9 to 6 job to do this full time

  • @NguyenNhan-yg4cb
    @NguyenNhan-yg4cb 3 роки тому

    Thanks so much for great lecture you have made

  • @WoonCherkLam
    @WoonCherkLam 2 роки тому

    Wonderful tutorials. Learning a lot! :)

  • @akshaypatil8155
    @akshaypatil8155 Рік тому

    You explain all of us like we are 5 yr old. This is very hard recipe to master. Thank you for everything. Please do not delete this videos from youtube ever. Stay healthy and stay happy. Thoda weight badao yaar. And please make a video with your manager which can guide us about inter company tarnsfers. Their are many who do not have finances to study in the US but we want to experience working their. This is my humble request. Thank u for ur videos

  • @fahadreda3060
    @fahadreda3060 3 роки тому

    Thanks for the video , Keep up the good work , you are amazing , wish you all the best

    • @codebasics
      @codebasics  3 роки тому +1

      It is always a pleasure to see a comment from you Fahad 😀👍

  • @nazlerdemir8142
    @nazlerdemir8142 8 місяців тому

    I wish I started to learn neural network with your tutorials. thank you

  • @nwachukwuobinna7887
    @nwachukwuobinna7887 Рік тому

    You the best. Thanks a lot for this nice video

  • @AlonAvramson
    @AlonAvramson 2 роки тому

    This is mind blowing!

  • @orogheneoboreh-snapps4071
    @orogheneoboreh-snapps4071 2 роки тому

    learning so much from you. Thank you for this series

  • @meherunnesa4622
    @meherunnesa4622 2 роки тому

    You are the best teacher❤️

  • @ahsanfarooq210
    @ahsanfarooq210 3 роки тому +3

    i got the accuracy of 98.37 on training data and 97.32 on the test data and on the graph of truth vs predicted (tha we made using sea born library) the highest value other than diagonals was 19

  • @emonfromearth
    @emonfromearth 3 роки тому

    Great video indeed! Love and Respect

  • @udayashangar
    @udayashangar 3 роки тому +4

    Hey Dhaval, you made DataScience easy for me by all these wonderful playlist!! Thank you so much for all your efforts. Got accuracy: 0.1059 for loss = 'mean_squared_error'.

    • @slayer_dan
      @slayer_dan 3 роки тому +1

      MSE is used for Regression problems not for Classification

    • @TheFadime123
      @TheFadime123 2 роки тому +1

      @@slayer_dan don't be that guy

    • @slayer_dan
      @slayer_dan 2 роки тому

      @@TheFadime123 sorry, i didn't get u

  • @haroldkumarnaik9971
    @haroldkumarnaik9971 2 роки тому

    thank u so much....very helpful

  • @jiyabyju565
    @jiyabyju565 2 роки тому

    thank you sir for all these lectures..

  • @yannikhauser383
    @yannikhauser383 2 роки тому

    Very very good explanations !! can follow very good...

  • @nameunknow9509
    @nameunknow9509 2 роки тому

    thanks alot for great explanation

  • @surendraveerthineni6233
    @surendraveerthineni6233 3 роки тому

    Nice video sir, can you please put one full dedicated video on mathematical calculations on , lenier regression, decission trees,svm,sigmoid.......

  • @akbarmajidi3934
    @akbarmajidi3934 7 місяців тому

    Amazing!

  • @poongothai23
    @poongothai23 9 місяців тому +1

    Great explanation...

  • @peralacharanraj7699
    @peralacharanraj7699 2 роки тому

    Thanks alot sir for this explanation

  • @dees900
    @dees900 Рік тому

    wonderful video. thank u so much

  • @amitagrawal9308
    @amitagrawal9308 2 роки тому +4

    Hi,
    For prediction of single image, you need to reshape to (1,784) i.e. X_test_flattened[0].reshape(1, 784).

  • @ake_bangkok9312
    @ake_bangkok9312 11 місяців тому

    very good teacher, you are the man.

  • @zeeshansadiq6150
    @zeeshansadiq6150 Рік тому

    You got next level

  • @bapaimallik5173
    @bapaimallik5173 3 роки тому

    Crisp, Clear, Uncluttered. I have a couple of online certificates (AI from Stanford and IBM data scientist professional). I have been looking for stuff on neural networks coding using Tensorflow. I tried a few lectures on youtube and left less than halfway through. This looks promising. Thanks Dhaval . I hope to complete the series and be able to do DNN stuff on my own the way I have been able to tackle other machine learning algorithms. Cheers

    • @codebasics
      @codebasics  3 роки тому

      Bapai, thanks for the comment and I wish you all the best 😌👍

  • @minTwin
    @minTwin 3 роки тому

    Your videos is a gold mine of knowledge.

  • @shyamaprasadchakraborti723
    @shyamaprasadchakraborti723 2 роки тому

    This is gold, thank you so much ❤️

  • @sandeepmane8694
    @sandeepmane8694 2 роки тому

    Excellent

  • @sjatin1842
    @sjatin1842 3 роки тому +1

    This video is awesome. I got 99.3 % accuracy when I changed epochs to 10 and out of curiosity I tried it for 20, accuracy is 99.8 now, finally for epochs = 30 accuracy is 99.94. I will try changing other parameters too.

    • @codebasics
      @codebasics  3 роки тому +2

      Good job Jatin, that’s a pretty good score. Thanks for working on the exercise

    • @saideekshith3295
      @saideekshith3295 2 роки тому

      are u trying some sort of prameter tuning ?

  • @HarpreetPaul
    @HarpreetPaul Рік тому

    really helpful.

  • @gnikkings
    @gnikkings 2 роки тому

    much appreciated, you're a great teacher

  • @PowerfulPunctuation
    @PowerfulPunctuation 3 роки тому

    Nice vid!

  • @zerocoding6420
    @zerocoding6420 3 роки тому

    thank you for wonderfull gift. i'm a NOOB programmer just starting to pythoning again.
    to predict single data training input shape must be (,784)
    you can either .reshape(-1,784) it or
    X_test_flattern[[0]]

  • @SwarnaliMollickA
    @SwarnaliMollickA 2 роки тому

    Thank you so much!

  • @akashs9414
    @akashs9414 2 роки тому +1

    Sir, Create a video on hyperparameter tuning in deep learning like layers, activation function,etc.

  • @preetham4974
    @preetham4974 3 роки тому +2

    Yet another awsome tutorial sir.Waiting for more out of this playlist.And i have a doubt,If i have my own hand written digit on a paper then how can test with this ? should i crop the image and predict it ? thank you

    • @codebasics
      @codebasics  3 роки тому +4

      Yes you need the crop the image and then predict

  • @shafiqullaharyan261
    @shafiqullaharyan261 3 роки тому

    Thank you very much for a nice video, but to be honest it seems very complicated for me as used image analysis.
    I really want to input the variables number data for analyzing neural network, From this data I am really not able to apply my data in the same way of the images, Do you have any recommendation for me? Or you will have some more projects to work on the variables?
    Thank you very much in advance for your kind answer

  • @maryzakiandourrugrats4671
    @maryzakiandourrugrats4671 7 місяців тому

    you have an amazing cadence to your speech.

  • @sanooosai
    @sanooosai 4 місяці тому

    great work thank you

  • @usmanafridi9668
    @usmanafridi9668 2 роки тому

    Great video

  • @raghuram6382
    @raghuram6382 2 роки тому +4

    Hello sir, thanks for beautiful explanation and I just got one doubt, why haven't you used standard scaler or Minmax kind instead of scaling it down by dividing 255?

    • @argha-qi5hf
      @argha-qi5hf Рік тому

      He used min max scaling only. Notice that x_min = 0 and x_max = 255. Just omit the 0s.
      scaled_x = (x - 0)/(255 - 0) = x/255

  • @AjaySharma-jv6qn
    @AjaySharma-jv6qn 2 роки тому

    Great work! You are doing very good job.

    • @codebasics
      @codebasics  2 роки тому

      I am happy this was helpful to you.

  • @darktarifa7200
    @darktarifa7200 3 роки тому

    Thanks for this video, your tutorial is very clear

  • @gokulnaathbaskar9808
    @gokulnaathbaskar9808 Рік тому

    Thank you, Sir