Question 39
Which of the following is/are true about the following block of the code?
from sklearn.neural_network import MLPClassifierX = [[0., 0.], [1., 1.],[2., 3.],[5., 4.]]y = [0, 0, 1, 1]rs = MLPClassifier(solver='adam', alpha=0.0001 , batch_size="auto", hidden_layer_sizes=(8,12), random_state=12)rs.fit(X,y)rs.score(X,y)Given dataset belongs to binary classification.
Number of neurons in the 1^(st) hidden layer is 8.
Strength of the L1 regularization term is 0.0001
The activation function for the output layer in the given code is the ′logistic′ function.