Question 17
You’re building an ‘MLPClassifier‘ for a dataset with a large number of features. The goal is to predict whether a patient is going to have parkinson disease in next
12 months. You’re trying to decide the appropriate number of neurons in the hidden layers of the neural network. Which statement about adjusting the hidden_layer_sizes parameter is correct?
Increasing the number of neurons in hidden layers will always lead to better model performance.
Decreasing the number of neurons in hidden layers reduces the model’s capacity to capture complex patterns.
The number of neurons in hidden layers does not significantly affect the model’s performance.
Finding the optimal number of neurons is a trial-and-error process and may require experimentation.