Question: What is wrong with this code: mlpReg _ train = MLPRegressor ( random _ state = 1 , max _ iter = 5 , hidden

What is wrong with this code:
mlpReg_train = MLPRegressor(random_state=1,
max_iter=5,
hidden_layer_sizes=[1]).fit(X_train, np.ravel(y_train))
mlpReg_validation = MLPRegressor(random_state=1,
max_iter=5,
hidden_layer_sizes=[1]).fit(X_test, np.ravel(y_test))

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!