分类
from sklearn.neural_network import MLPClassifier
import numpy as np
mlp = MLPClassifier(solver='lbfgs',hidden_layer_sizes=(3,2),activation='logistic')
X = np.array([
[-2, -1], # Alice
[25, 6], # Bob
[17
分类
from sklearn.neural_network import MLPClassifier
import numpy as np
mlp = MLPClassifier(solver='lbfgs',hidden_layer_sizes=(3,2),activation='logistic')
X = np.array([
[-2, -1], # Alice
[25, 6], # Bob
[17