Ridge Regression From Scratch In Python [Machine Learning Tutorial]

  Рет қаралды 15,640

Dataquest

Dataquest

Күн бұрын

Пікірлер: 18
@shank1er
@shank1er 11 ай бұрын
This is amazing. Better explanation than my professor.
@grantkim9124
@grantkim9124 2 жыл бұрын
How does this video not have a million views?
@ManuelReyes-ld2pp
@ManuelReyes-ld2pp 16 күн бұрын
podrias realizar un video parecido para la regression lasso porfavor ? Excelente video feliciaciones
@imildositoe1549
@imildositoe1549 9 ай бұрын
I love the way the best alpha value is extracted
@yedmitry
@yedmitry 8 ай бұрын
Thanks for the video!
@kylmaz5782
@kylmaz5782 Жыл бұрын
Hello. I want to implement the ridge regression method on a small dataset. but I want to get it by solving the model manually (by hand). How can I do it? I will be glad if you can help.
@mikegher879
@mikegher879 2 жыл бұрын
Hey ! can i habe the codes for def ridge_fit() and def ridge_predict() ? Thanks a lot!
@ling6701
@ling6701 2 жыл бұрын
Awesome. Subscribed. Could you do a video on LASSO, and another on LogisticRegression?
@ThinkRight2024
@ThinkRight2024 2 жыл бұрын
Great explanation of ridge regression. Thank you. Just wondering what if a bunch of x variables has binary values (0,1), would I still have to standardize the data? And also - could you also talk about applying similarity matrix in ridge regression… thank you.
@colinwong3982
@colinwong3982 2 жыл бұрын
Hi. Thanks for this amazing video. Is there any video about Lasso Regression?
@Dataquestio
@Dataquestio 2 жыл бұрын
Hi Colin - I don't have anything for lasso yet, but might work on it in the future. -Vik
@SuperSumittanwar
@SuperSumittanwar 2 жыл бұрын
Hi vick! Isnt it true that if explainabilty of target variable interms of equation is the goal then multicollinearity is an issue. However, if prediction is the goal then multicollinearity is not an issue.
@Dataquestio
@Dataquestio 2 жыл бұрын
Hi Sumit - in cases of multicollinearity, ridge regression will give you better predictions on out-of-sample data (test data) than linear regression.
@rajeshmanjrekar3614
@rajeshmanjrekar3614 2 жыл бұрын
great video, thank you for a great explanation of the ridge regression, however at the step of test_X @ B i am getting at error : "matrices are not aligned", i would be extremely greatful if you could send me a solution to this problem , thanks
@Dataquestio
@Dataquestio 2 жыл бұрын
It looks like your matrices don't have the right shapes to be multiplied. The full code is here, so you can check where the issue is in your code - github.com/dataquestio/project-walkthroughs/tree/master/ridge_regression .
@skiprof
@skiprof 2 жыл бұрын
@@Dataquestio This is the best instruction I have found on Ridge Regression, so thank you. However, I am having the same error (ValueError: matrices are not aligned). I looked over the code on github and have not been able to solve this problem. My dataframe has 9 variables (10 columns) x 80 rows. Any other suggestions to get past this error?
@mquant001
@mquant001 9 ай бұрын
this youtube channel is pure BS
@rajeshmanjrekar3614
@rajeshmanjrekar3614 2 жыл бұрын
I am of the opinion that the sentence "B = np.linalg.inv(X.T@ X + penalty)@ X.T @ y" is creating this problem of matrix multiplication , kindly check....
Regularization Part 1: Ridge (L2) Regression
20:27
StatQuest with Josh Starmer
Рет қаралды 1,1 МЛН
BAYGUYSTAN | 1 СЕРИЯ | bayGUYS
36:55
bayGUYS
Рет қаралды 1,9 МЛН
СИНИЙ ИНЕЙ УЖЕ ВЫШЕЛ!❄️
01:01
DO$HIK
Рет қаралды 3,3 МЛН
Mastering Ridge Regression in Python with scikit-learn
14:23
Ryan & Matt Data Science
Рет қаралды 1,7 М.
Implementing a Lasso solver from scratch in Python
24:11
Daniel O'Connor
Рет қаралды 5 М.
Gradient Descent From Scratch In Python
42:39
Dataquest
Рет қаралды 20 М.
Linear Regression From Scratch in Python (Mathematical)
24:38
NeuralNine
Рет қаралды 193 М.
Ridge Regression | Machine Learning | Python
16:42
Stats Wire
Рет қаралды 9 М.
Decision Tree Classification in Python (from scratch!)
17:43
Normalized Nerd
Рет қаралды 210 М.
BAYGUYSTAN | 1 СЕРИЯ | bayGUYS
36:55
bayGUYS
Рет қаралды 1,9 МЛН