Skip to content

Problem with 11.2.2 : The calculated RMSE's are all the same for every value of lambda #39

Description

@Johan-Christensen

Hi,
I am trying to complete problem 11.2.2. However, when I run the code below, I get the same RMSE for every value of lambda.

image

(Note: X_train_ps has polynomialfeatures added and is scaled with zero mean and std, same with X_test_ps)

This is my mse function:
image

My compute_error function:
image

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions