Problem 55185. Ridge regularized linear regression
Solution Stats
Problem Comments
-
2 Comments
Yuvraj, this problem looks interesting, and I was looking forward to learning about ridge regularization. I suggest that you remove the code from the function template: you are giving us the answer! Also, several Cody players have recommended at least four tests to discourage lookup table solutions and other cheats.
The test suite's incorrect: the matrix inversion in the ridge estimator is missing.
Solution Comments
Show commentsProblem Recent Solvers8
Suggested Problems
-
What is the distance from point P(x,y) to the line Ax + By + C = 0?
361 Solvers
-
Rosenbrock's Banana Function and its derivatives
150 Solvers
-
Replace all zeros and NaNs in a matrix with the string 'error'
97 Solvers
-
Generate a random matrix A of (1,-1)
289 Solvers
-
498 Solvers
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!