Open ninibertelsen opened 4 years ago
hi @ninibertelsen ,
from the assignment text:
For each iteration store the given $\lambda$ and the calculated RMSEs for the rescaled train and test data in a list named
output
.
The assert statement therefore expects the variable output
to be a list of lists, where each list is of the form: [RMSE_train_i, RMSE_test_i, lambda_i]
(where the suffix _i
is to denote the values for iteration i
) :)
Thank you @jsr-p! Makes a lot of sense now :) Do you know why we get the orange messages? We didn't get them while we answered the exercises earlier.
@ninibertelsen np :) The Warnings get raised because the estimator does not converge. Try increasing the number of iterations as . In the context of this exercise it does not matter. See the documentation for more: https://scikit-learn.org/stable/modules/generated/sklearn.exceptions.ConvergenceWarning.html
We have a problem with exercise 11.2.2, we are not sure why we get the error message that we get. Below is our code, output and error messages. We have also tried where we do not store the result in a dataframe, we get the same error message.
Thanks in advance!