I want to list the values using append by rotating the function in Python, but I want to number the values in order, is there a way like that?
Using the for superposition sentence, we set 20 n and 20 i and turned the function.
I tried to print out the result value of the function in the append function, but I couldn't figure out how many values n and i are because 400 are lined up.
I'd like to give you a number, but can't I know?
RMSE.append('MSEtrain:%.3f,test:%.3f'(mean_squared_error(y_train,y_train_pred_rans),mean_squared_error(y_test,y_test_pred_rans)))
This is the code I want to go back to the for statement with n and i and set the value.
python append
RMSE.append((n, i, mse_train, mse_test))
Can't you save it like this and watch it when you want to see it?
Can't we share the gridsearch of scikit-learn?
© 2024 OneMinuteCode. All rights reserved.