I have this problem when initializing w
Hi @Ayoub_b , make sure you are not using some global input parameters but the parameters that are specified in the function. It seems like you are using X, but the model function uses X_train as input. Hope this helps solving your error.
that’s it thank you so much for your help
Good to hear @Ayoub_b it is solved!