Why is my regularized gradient descent algorithm for linear regression diverging?

Clash Royale CLAN TAG#URR8PPP
up vote
-3
down vote
favorite
I am applying a regularized gradient descent algorithm on a dataset for linear regression. Since there are too many features, I am programming using the matrix notations. Following expression is being used:
GD algorthm
Could you please tell me where I could have gone wrong?
machine-learning linear-regression gradient-descent
add a comment |Â
up vote
-3
down vote
favorite
I am applying a regularized gradient descent algorithm on a dataset for linear regression. Since there are too many features, I am programming using the matrix notations. Following expression is being used:
GD algorthm
Could you please tell me where I could have gone wrong?
machine-learning linear-regression gradient-descent
1
Since you don't provide the algorithm, it is impossible to say.
â AnyAD
Aug 17 at 13:42
I have added the algorithm in image link.
â Shivam Pande
Aug 17 at 13:57
add a comment |Â
up vote
-3
down vote
favorite
up vote
-3
down vote
favorite
I am applying a regularized gradient descent algorithm on a dataset for linear regression. Since there are too many features, I am programming using the matrix notations. Following expression is being used:
GD algorthm
Could you please tell me where I could have gone wrong?
machine-learning linear-regression gradient-descent
I am applying a regularized gradient descent algorithm on a dataset for linear regression. Since there are too many features, I am programming using the matrix notations. Following expression is being used:
GD algorthm
Could you please tell me where I could have gone wrong?
machine-learning linear-regression gradient-descent
edited Aug 17 at 13:55
asked Aug 17 at 13:30
Shivam Pande
12
12
1
Since you don't provide the algorithm, it is impossible to say.
â AnyAD
Aug 17 at 13:42
I have added the algorithm in image link.
â Shivam Pande
Aug 17 at 13:57
add a comment |Â
1
Since you don't provide the algorithm, it is impossible to say.
â AnyAD
Aug 17 at 13:42
I have added the algorithm in image link.
â Shivam Pande
Aug 17 at 13:57
1
1
Since you don't provide the algorithm, it is impossible to say.
â AnyAD
Aug 17 at 13:42
Since you don't provide the algorithm, it is impossible to say.
â AnyAD
Aug 17 at 13:42
I have added the algorithm in image link.
â Shivam Pande
Aug 17 at 13:57
I have added the algorithm in image link.
â Shivam Pande
Aug 17 at 13:57
add a comment |Â
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f2885774%2fwhy-is-my-regularized-gradient-descent-algorithm-for-linear-regression-diverging%23new-answer', 'question_page');
);
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
1
Since you don't provide the algorithm, it is impossible to say.
â AnyAD
Aug 17 at 13:42
I have added the algorithm in image link.
â Shivam Pande
Aug 17 at 13:57