Question 22
You are training a Multi-Layer Perceptron (MLP) using Scikit-Learn's MLPRegressor for a regression task.
Consider the following code:
from sklearn.neural_network import MLPRegressorfrom sklearn.datasets import make_regressionfrom sklearn.model_selection import train_test_splitfrom sklearn.preprocessing import StandardScaler
X, y = make_regression(n_samples=1000, n_features=20, noise=0.1, random_state=42)
X_train, X_test, y_train, y_test = train_test_split(X, y, test_size=0.2, random_state=42)
scaler = StandardScaler()X_train = scaler.fit_transform(X_train)X_test = scaler.transform(X_test)
model = ________________________model.fit(X_train, y_train)Which of the following can be placed in the blank portion (Select all that apply)?