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)
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?
everything was well said, simple and easy to understand, thank you
Wow! Great explanation. This video helped me to understand the basics very well. Thank you very much.
Very well explained! Couldn't find relevant material on the internet, they were all about how to use pre-built libraries
Im very glad you found it helpful. Making content which actually helps others is all that matters, will keep doing that.
Very helpful and well explained. U rock keep up the good work 👍🏻
Thanks man, matters a lot :D
Very helpful. Thanks very much
Can you please tell me a unique problem statement which can be used for this
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)
Am I right to change the weights to (1,399)?
Thanks, explained well.
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?
I am facing the same problem did you find a solution ?
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)
Hello, mistake : dict object has one attribute “at” in code
Samaj ni aya par sun k acha laga
Bhai ya kn c line pakr li ap na 😅
abhi pakri nai hai, kia kehty ho pakar loun? :D
@@khawarshehzad487 na bhai filhal rehna dy 😅