Neural Network python from scratch | MultiClass Classification with Softmax

แชร์
ฝัง
  • เผยแพร่เมื่อ 22 ธ.ค. 2024

ความคิดเห็น •

  • @MachineLearningWithJay
    @MachineLearningWithJay  3 ปีที่แล้ว +7

    If you found this video helpful, then hit the *_like_* button👍, and don't forget to *_subscribe_* ▶ to my channel as I upload a new Machine Learning Tutorial every week.

  • @tcsanimesh
    @tcsanimesh 9 หลายเดือนก่อน +1

    Best channel to learn Deep Learning. Nothing can beat this.Just love it. Can you please complete the series on RNN and create something on LLM as your explanation is top notch. Thanks in advance

  • @Shashikant_B_Kulkarni
    @Shashikant_B_Kulkarni 2 หลายเดือนก่อน +1

    Excellent tutorial, was able to run both tanh (86.86% accuracy) and relu activations. It is great experience to test hand made code for neural networks. Your mathematical derivations helped lot too

  • @chandralibaishya6780
    @chandralibaishya6780 3 หลายเดือนก่อน +1

    All the videos are simple and easily understandable. Only from these videos I could understand about NN.

  • @vont1360
    @vont1360 หลายเดือนก่อน +1

    Many Thanks! These are so great. Excited to build the network now.

  • @playwithcode_python
    @playwithcode_python 2 ปีที่แล้ว +1

    You are too good brother no one can't give this types of easy explanation

  • @lazyraconteur8279
    @lazyraconteur8279 6 หลายเดือนก่อน +1

    At 14:40 why are we multiplying with (1/m), even though it is not mentioned in the formula?

  • @tobiasschleusser8903
    @tobiasschleusser8903 ปีที่แล้ว

    Thank you so much for this video!! I've just coded "my" first ever CNN with your help and I can't wait to learn more about it!!!

  • @ameerhussainshaik8686
    @ameerhussainshaik8686 3 ปีที่แล้ว +1

    Superb videos bro. Make more videos like this I will share your videos with my friends.

  • @malikhamza9286
    @malikhamza9286 3 ปีที่แล้ว +2

    Amazing and super helpful. I am learning a lot from your videos.

    • @MachineLearningWithJay
      @MachineLearningWithJay  3 ปีที่แล้ว +1

      Thank you so much Malik ! I am very happy that these videos helped you.

  • @darshananghan1555
    @darshananghan1555 หลายเดือนก่อน +2

    very useful tutorial

  • @yinbochen3819
    @yinbochen3819 2 ปีที่แล้ว +1

    Thank you so much for posting these videos! I learned a lot. Thank you once again! Your videos are awesome! Please keep updating it!

  • @JideNosa
    @JideNosa ปีที่แล้ว +3

    Good job. But dz1 may have been accidentally scaled by 1/m in the backpropagation subroutine, leading to error observed by some users. Could you please confirm that?

  • @SalamPakistanTech
    @SalamPakistanTech 2 หลายเดือนก่อน +1

    wasy bhai ak bat khao smjhaya boht zabardast ha .brilliant explanation,concepts and coding.agr hindi ma smjaty to cha jaty india ma shardaa didi sa b agy 👍👍🏾

  • @loversoul8206
    @loversoul8206 ปีที่แล้ว

    Thanks for a video, now I finally start to understand how a neural networks work.
    As for me, ReLu works better, 78% based on Tangent, and 86% based on ReLu

  • @prakasheditz123
    @prakasheditz123 2 ปีที่แล้ว +2

    Bro this is awesome, make more implementations like these👍👍🎉🎉

    • @MachineLearningWithJay
      @MachineLearningWithJay  2 ปีที่แล้ว

      Thank you! Sure, I will keep uploading more implementation videos.

  • @ashraf_isb
    @ashraf_isb ปีที่แล้ว +1

    Very helpful, thank you so much Jai

  • @n.e.pranavakumaar4470
    @n.e.pranavakumaar4470 10 หลายเดือนก่อน +1

    @CodingLane Bro You are awesome. Became a big fan of your work. I am saying this because I can understand these concepts even without learning the basics of ML and Deep learning.

  • @mindchants5646
    @mindchants5646 ปีที่แล้ว +1

    argmax(a2,0) --> represents column vector

  • @vicious_03
    @vicious_03 2 ปีที่แล้ว +1

    The assignment link is not working. And all the text below that are crossed out in desc. box.

  • @Ashish-sp4hw
    @Ashish-sp4hw 3 ปีที่แล้ว +4

    Hi , if possible can you do a video on the model were we can change the number of hidden layers within the script?

    • @MachineLearningWithJay
      @MachineLearningWithJay  3 ปีที่แล้ว

      Okay... I will upload it soon

    • @learnhome9659
      @learnhome9659 2 ปีที่แล้ว

      @@MachineLearningWithJay Great Videos!!!...Please give some guidance on changing the number of hidden layers and neurons in each layer easily using code

  • @areenanshumanprusty7809
    @areenanshumanprusty7809 6 หลายเดือนก่อน

    Isn't axis=1 row wise summation ?

  • @sunithap915
    @sunithap915 2 ปีที่แล้ว +1

    Hi...can you help to create h5 dataset of images for multiclass classification

  • @swrserwerwr9137
    @swrserwerwr9137 2 ปีที่แล้ว +1

    Is it necessary to implement back propagation and and sift max by our own

    • @MachineLearningWithJay
      @MachineLearningWithJay  2 ปีที่แล้ว +1

      No need. This videos is just to help you understand what goes under the hood. You can also use libraries like sklearn and framework like tensorflow/pytorch, which provides built in methods and models. You can directly use them.

  • @AnjaliSingh-eo3nh
    @AnjaliSingh-eo3nh ปีที่แล้ว

    How can we directly run on images rather than csv file?

  • @Trungnguyen11121
    @Trungnguyen11121 3 ปีที่แล้ว +1

    really helpful, I wish can subscribe to you 10 times

  • @babaabba9348
    @babaabba9348 3 ปีที่แล้ว +1

    Great explanation as always

  • @AnjaliSingh-eo3nh
    @AnjaliSingh-eo3nh ปีที่แล้ว

    How do we create that dataset?

  • @chiranjeev8846
    @chiranjeev8846 2 ปีที่แล้ว +1

    As you said in previous video while deriving for softmax function with multiclass. It will give same results in vector form as binary classification so can we use dw1,dw2,dw3 vector formation of binary classification for multiclass classification with more than 1 hidden layer?

  • @arpit743
    @arpit743 3 ปีที่แล้ว

    bro why did you use argmax row wise(axis=0) for a_out? . what i'm thinking is a2 is (n2,m) and has each column representing one hot encoding. if thats true then axis=0 would find the max probability out of 1st row having hot encodings from different examples.

  • @sunithap915
    @sunithap915 2 ปีที่แล้ว +1

    Thank you for the link sent. I have already tried the code for my dataset. I am getting the learning rate correctly, but the accuracy is not good. I am not able to identify where am going wrong. They have done for Binary, I tried for Multiclass. But not getting good accuracy.

    • @JideNosa
      @JideNosa ปีที่แล้ว

      You may want to check dz1 in backpropagation subroutine; dz1 may have been accidentally scaled by 1/m in the backpropagation subroutine, leading to error observed by some users. Could you please confirm that?

  • @SalamPakistanTech
    @SalamPakistanTech 2 หลายเดือนก่อน +2

    As a Muslim i give you dua for each good work ."ALLAH increases your knowledge 100 times"

  • @abdulkadercerkezi1448
    @abdulkadercerkezi1448 2 ปีที่แล้ว +1

    thank you for your explanations!
    Can I implement dogs&cats datasets from scratch or can you suggest another dataset for practice, because I want to practice these algorithms on different datasets.
    Again, thank you!

    • @MachineLearningWithJay
      @MachineLearningWithJay  2 ปีที่แล้ว

      You can use dog&cat dataset… I have made a video on it… though in that I am not implementing from scratch, but if ypu want, you can use that dataset.
      Also you may find different datasets from kaggle

    • @abdulkadercerkezi1448
      @abdulkadercerkezi1448 2 ปีที่แล้ว +1

      @@MachineLearningWithJay i have implemented iris dataset that I took from kaggae and it worked well.

    • @MachineLearningWithJay
      @MachineLearningWithJay  2 ปีที่แล้ว

      @@abdulkadercerkezi1448 thats great!

  • @sindhupalanivel8078
    @sindhupalanivel8078 ปีที่แล้ว

    anyone knows how to import the dataset in google colab its showing error for me

  • @arpit743
    @arpit743 3 ปีที่แล้ว +1

    Thanks for the amazing videos that you upload on the coding lane channel on youtubeI had doubts regarding the elementwise multiplication at 15:00 timestamp in your Derivation of backpropagation in neural networks video. Could you please explain that point to me?

  • @g_koustab
    @g_koustab 2 ปีที่แล้ว +1

    Could you please make video on multiple hidden layers and how the results may change on changing the number of hidden layers? Thank you for this video

    • @MachineLearningWithJay
      @MachineLearningWithJay  2 ปีที่แล้ว

      Yes, thank you for the suggestion. This video is in my ToDo list. Will upload it when I can.

  • @au-zy1mg
    @au-zy1mg 7 หลายเดือนก่อน

    thank you very much! ❤

  • @sunithap915
    @sunithap915 2 ปีที่แล้ว +1

    Kindly share the code for Multiclass classification for N layer network

    • @MachineLearningWithJay
      @MachineLearningWithJay  2 ปีที่แล้ว

      Hi Sunitha... I will share a video on it soon.

    • @sunithap915
      @sunithap915 2 ปีที่แล้ว

      @@MachineLearningWithJay Thank u for ur immediate reply...I have got stuck up in N layer deep network....It would be of great help if you can take me out of this issue.

    • @MachineLearningWithJay
      @MachineLearningWithJay  2 ปีที่แล้ว

      @@sunithap915 I won't have the time to take you out of the issue personally. But I have an article that you can refer. It has code and explaination for N layer Neural Network
      Here is its link: github.com/enggen/Deep-Learning-Coursera/blob/master/Neural%20Networks%20and%20Deep%20Learning/Building%20your%20Deep%20Neural%20Network%20-%20Step%20by%20Step.ipynb
      I hope this can help for now. Also you can search online, there may be some other articles as well on this topic.

  • @breynerandresmonorymoreno8855
    @breynerandresmonorymoreno8855 ปีที่แล้ว

    Hello, your video is very good, thank you, I have a "small" question, suppose I have a data set with a combination of 1000 functions, let's say Gaussian functions and Lorentzian functions (which are similar functions), the data set would be something like this [[[x1,x2,x3,x4,..,x70],[y1,y2,y3,y4,..,y70],[gaussian]], [[x1',x2',x3',x4',.. ,x70'],[y1',y2',y3',y4',..,y70'],[gaussian]] , [[x1'',x2'',x3'',x4'',.. ,x70''],[y1'',y2'',y3'',y4'',..,y70''],[Lorentzian]] , ....... -1000 functions ] , the idea is that the neural network learns to classify between one function or another depending on the entry points, seeing your code more or less as it could start from your development, perhaps the biggest problem is how do I compute the input of these pairs of data from each function in training.

  • @mahinrahman9323
    @mahinrahman9323 3 ปีที่แล้ว +1

    Bro, you are just awesome as always. But my question is "why i need to implement these code when there was tensorflow"??

    • @MachineLearningWithJay
      @MachineLearningWithJay  3 ปีที่แล้ว +4

      Yes, good question. You can implement these in tensorflow very easily. This is just for understanding on how things work behind tensorflow.

    • @MachineLearningWithJay
      @MachineLearningWithJay  3 ปีที่แล้ว +3

      I will implement these in tensorflow as well and make video on it.

  • @Jeffrey-uw8un
    @Jeffrey-uw8un 2 ปีที่แล้ว

    the partial derivation was hard for me i gotta ask some questions to my calculus teacher however things going well now let's code

  • @tshebeletsotjabane4979
    @tshebeletsotjabane4979 2 ปีที่แล้ว

    Thank you 🙏

  • @shaikhahibrahim1140
    @shaikhahibrahim1140 3 ปีที่แล้ว +1

    thank you a lot !!

  • @waisyousofi9139
    @waisyousofi9139 2 ปีที่แล้ว

    helpful .
    Thanks

  • @endlesscreativity423
    @endlesscreativity423 ปีที่แล้ว

    You made ANN a piece of Cake ❤

  • @odelakumar06
    @odelakumar06 3 ปีที่แล้ว +1

    Good bro

  • @Itsavinashdubey
    @Itsavinashdubey 3 ปีที่แล้ว +1

    bro, isn't it your derivative_tanh(x) function is wrong??
    I think it might be,
    def derivative_tanh(x):
    return (1 - np.power(tanh(x), 2))
    please do correct me!!!!!!

    • @MachineLearningWithJay
      @MachineLearningWithJay  3 ปีที่แล้ว +1

      Hi Avinash, Thanks for bringing this to my attention. You are correct. I will make correction in assignment. Thanks again 🙂

    • @Itsavinashdubey
      @Itsavinashdubey 3 ปีที่แล้ว +1

      Wlcm bro!!!!😊😊😊
      Bro your videos are super helpful for me

    • @MachineLearningWithJay
      @MachineLearningWithJay  3 ปีที่แล้ว +1

      @@Itsavinashdubey I am very glad to hear that 😇

    • @Itsavinashdubey
      @Itsavinashdubey 3 ปีที่แล้ว

      Bro please gimme your LinkedIn profile link I wanna meet you there

    • @MachineLearningWithJay
      @MachineLearningWithJay  3 ปีที่แล้ว

      @@Itsavinashdubey www.linkedin.com/in/jaimin-patel-4bb166162/

  • @apiwejoyi7267
    @apiwejoyi7267 3 ปีที่แล้ว +1

    Can u please use loops and if statements next time

    • @MachineLearningWithJay
      @MachineLearningWithJay  3 ปีที่แล้ว +1

      Okay... I will try.. Thanks for the feedback

    • @apiwejoyi7267
      @apiwejoyi7267 3 ปีที่แล้ว +1

      @@MachineLearningWithJay thank you great work

    • @MachineLearningWithJay
      @MachineLearningWithJay  3 ปีที่แล้ว

      @@apiwejoyi7267 Your Welcome !

    • @nasrullahmasud1663
      @nasrullahmasud1663 4 หลายเดือนก่อน

      Hello Jay. I wrote the code in assignment notebook. But the cost function is not changing with the iterations. Can you help with that?