Every time you do a transpose of a matrix, it takes time. A faster implementation of ((h-y)' * X)' is X' * (h-y), which is one less transposition. For a real-world situation, this might help. In general, A' * B' = (B * A)' ☺️. Well presented video!
Thank you so much for these videos. I'm trying to transition from music to working with data and machine learning, so it's been rough. Thanks for helping me learn more about the content I'm exploring!!
you are AMAZING! thank youuu i had no idea how to even begin tackling this exercise and now I even have some ideas for the next ones.. you're the best (=
after following the instruction, i get this error " error: index (-566.396): subscripts must be either integers 1 to (2^63)-1 or logicals". Help! And also h=0
can u please do this for multivariate gradient descent too?? please? As far as i was able to think,for multivariate too the matlab code should be same right??
I have a question I want to know whether doing these exercises are worth it or not?how these exercises are useful I am just a beginner in machine learning it will be very helpful if you tell me:)
If you want to learn about machine learning then the course is a great introductory course. For me doing the assignments was worthwhile and I learned a lot from them.
If I remember correctly I think it's because we've added a column of ones which will be for the bias term. So we have one extra dimension than what we would think
@@AladdinPersson Please make me correct if I am wrong @Alladin. We didnt do the sum because on the left side of the minus there is a vector Theta rather than a scaler variable as we have in calculating the cost function.
The fact that you wrote this "by hand" using a mouse = respect. Good video Dino!
Again, thank you! This is extremely helpful! I was about to give up before I stumbled over your videos. Great stuff!
Three years after its release and this is the ONLY video which helped me with the vectorizatin part. THANK YOU MAN!!!
This is exactly what I was looking for. Thanks for showing the vector math, and the subsequent code. Brilliant stuff.
Every time you do a transpose of a matrix, it takes time. A faster implementation of ((h-y)' * X)' is X' * (h-y), which is one less transposition. For a real-world situation, this might help. In general, A' * B' = (B * A)' ☺️. Well presented video!
That's good advice, thank you
DUde this is amazing! I have been breaking my head understanding how to vectorize this part! Thanks a lot!
Man So relatable!!
thx god, finally found someone can explain how the function works with plain text, appreciated man
Thanks a lot for making this explainer video! I was having a hard time trying to tear the vectorized formula apart . This helped a ton!
Brilliant. Thanks for making it very easy to understand.
Thank you so much for these videos. I'm trying to transition from music to working with data and machine learning, so it's been rough. Thanks for helping me learn more about the content I'm exploring!!
Thank you so much, I was very confused about each terms, and you explain it really well.
Great man! Really needed this! Thanks ...Best Explanation of this in UA-cam
Your video saved me from droppping out of the course, thank you so much :)
Glad I could be helpful, keep at it bro, it'll be more rewarding in the end ;)
thank you I was struggling so hard to figure this out , great videos
you are AMAZING! thank youuu i had no idea how to even begin tackling this exercise and now I even have some ideas for the next ones.. you're the best (=
Thanks alot man, I spent so long on this thinking what have I done wrong...until realising that h needs to be included in the for loop.
You got my basics cleared. Cheers!
The One Video explains alot to me, thankyou...I got that how to convert equations into vectorized code
Thank you man, I was forgetting to take the transpose of (h - y).
why didnt he square it
hii I did not understand how in the theta part (6:53) how was X a 97x2 in the previous part it was 97x1
Hi, what is the use of J_history in the method gradientdescent.m ?
thank you so much this has helped immensely !!
Thanks a lot. You resolved me 100 %.
Thank you so much. This's extremely helpful. I wish best thing with you.
I appreciate that a lot, thanks man!
Thanks, it's a lot of help to me.
Thanks man you are genious! i was just hopeless!
Thank you. You explained it really well.
Thank you, I appreciate the kind comment
Thanks for the awesome explanation.
Here you have the life saver! :D
Thanks ...
Oh thanks, it was very useful and clear!
Glad it was helpful!
Hey... Thanks for the videos.... your videos are helpful... needs to be uploaded more soon...
Brilliant. This video helped me a lot. Thank you :D
Thank you. it helped me in defining a function in python implementation
Thank you alot! you saved my day
thanks so much !!!!!!! earned subscription + like
Great job , Mate :)
after following the instruction, i get this error "
error: index (-566.396): subscripts must be either integers 1 to (2^63)-1 or logicals". Help!
And also h=0
thanks , i almost gave up on this !!
Very helpful thank you, I was lost in matlab.
good work, helped a lot, i was taking sum while doing matrix multiplication and that was giving not desired results...
what is the value of numiters in problem
Why when I was running this code I was having problems with my m = length...........
God bless you! Thanks a lot
Thank you so much my man
No problem! Happy you find it useful :)
I am really stuck at the programming assignments..
It's making me feel really down!
bro, what's the title of the book?
can u please do this for multivariate gradient descent too?? please? As far as i was able to think,for multivariate too the matlab code should be same right??
It is exactly the same
The only difference is that the size of your theta vector will increase
Thank you so much, your videos are so helpful!!
Glad you like them!
Very good!
Why is X 97*1??
you are a GOD
Thanks brother
I have a question I want to know whether doing these exercises are worth it or not?how these exercises are useful I am just a beginner in machine learning it will be very helpful if you tell me:)
If you want to learn about machine learning then the course is a great introductory course. For me doing the assignments was worthwhile and I learned a lot from them.
@@AladdinPersson okh thnks😄
Why the X is 97x2?
If I remember correctly I think it's because we've added a column of ones which will be for the bias term. So we have one extra dimension than what we would think
@@AladdinPersson oh yea the h equation assumes x0 is all 1. Thx man great videos!
@@MrJaszi Exactly
RESPECT
Why dont you use "sum" function in your programe
Why do you think I should use it?
@@AladdinPersson Please make me correct if I am wrong @Alladin. We didnt do the sum because on the left side of the minus there is a vector Theta rather than a scaler variable as we have in calculating the cost function.
Why can you just transpose the h - y? care to explain? this is not clear
Thank you so much ! This helped me a lot !