Multi class Logistic regression implementation from scratch in python on MNIST dataset

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

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

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

    everything was well said, simple and easy to understand, thank you

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

    Wow! Great explanation. This video helped me to understand the basics very well. Thank you very much.

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

    Very well explained! Couldn't find relevant material on the internet, they were all about how to use pre-built libraries

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

      Im very glad you found it helpful. Making content which actually helps others is all that matters, will keep doing that.

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

    Very helpful and well explained. U rock keep up the good work 👍🏻

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

    Very helpful. Thanks very much

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

    Can you please tell me a unique problem statement which can be used for this

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

    Got error, can you help to explain it?
    z = np.dot(weights,X) + bias
    in dot(*args, **kwargs)
    ValueError: shapes (1,400) and (399,5000) not aligned: 400 (dim 1) != 399 (dim 0)

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

      Am I right to change the weights to (1,399)?

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

    Thanks, explained well.

  • @harishh.s4701
    @harishh.s4701 3 ปีที่แล้ว

    Hi,
    Thanks for sharing your knowledge. I just had a doubt.For training the models you have considered 400 weights, whereas there are only 399 features (pixels) in X. I did not understand how the dot product between matrices (1, 400) and (399, 5000) did not give an error. This is the error I got when I ran the code. Can you please explain this?

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

      I am facing the same problem did you find a solution ?

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

      Got the same error.
      17 z = np.dot(weights,X) + bias
      18 hypothesis = 1/(1 + np.exp(-z))
      19
      in dot(*args, **kwargs)
      ValueError: shapes (1,400) and (399,5000) not aligned: 400 (dim 1) != 399 (dim 0)

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

    Hello, mistake : dict object has one attribute “at” in code

  • @LubaidSaram
    @LubaidSaram 4 ปีที่แล้ว

    Samaj ni aya par sun k acha laga

  • @pythonocean7879
    @pythonocean7879 4 ปีที่แล้ว

    Bhai ya kn c line pakr li ap na 😅

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

      abhi pakri nai hai, kia kehty ho pakar loun? :D

    • @pythonocean7879
      @pythonocean7879 4 ปีที่แล้ว

      @@khawarshehzad487 na bhai filhal rehna dy 😅