gradientDescent.m Gradient Descent Implementation - Machine Learning

preview_player
Показать описание
This is the Programming assignment 1 from Andrew Ngs Machine Learning course.

Рекомендации по теме
Комментарии
Автор

The fact that you wrote this "by hand" using a mouse = respect. Good video Dino!

ozzyfromspace
Автор

Again, thank you! This is extremely helpful! I was about to give up before I stumbled over your videos. Great stuff!

emcpadden
Автор

Three years after its release and this is the ONLY video which helped me with the vectorizatin part. THANK YOU MAN!!!

kushpeter
Автор

This is exactly what I was looking for. Thanks for showing the vector math, and the subsequent code. Brilliant stuff.

advaitathreya
Автор

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!

ozzyfromspace
Автор

DUde this is amazing! I have been breaking my head understanding how to vectorize this part! Thanks a lot!

cristianavalos
Автор

thx god, finally found someone can explain how the function works with plain text, appreciated man

WOKfucboi
Автор

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!

lividpudding
Автор

Brilliant. Thanks for making it very easy to understand.

easy_learner
Автор

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!!

MattCitrano
Автор

Thank you so much, I was very confused about each terms, and you explain it really well.

zhangjie
Автор

Great man! Really needed this! Thanks ...Best Explanation of this in Youtube

pranavgandhi
Автор

Your video saved me from droppping out of the course, thank you so much :)

Terran
Автор

thank you I was struggling so hard to figure this out, great videos

samarthrao
Автор

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 (=

NicoleQuimper
Автор

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.

kenbinner
Автор

The One Video explains alot to me, thankyou...I got that how to convert equations into vectorized code

ribhusengupta
Автор

Thank you man, I was forgetting to take the transpose of (h - y).

pragyan
Автор

hii I did not understand how in the theta part (6:53) how was X a 97x2 in the previous part it was 97x1

almostworthy
Автор

Hi, what is the use of J_history in the method gradientdescent.m ?

anshulanilgaur