-1
제목과 동일합니다. MLPRegressor라는 Scikit Learn 클래스를 사용하여 신경망 모델을 만들고 싶습니다. 설치 후 컴파일, 코드를 실행하고 반환 값을 제공하지 않습니다 : 이름 MLPRegressor을 가져올 수 없습니다이름을 가져올 수 없습니다. MLPRegressor
from sklearn.neural_network import MLPRegressor
mlp = MLPRegressor(hidden_layer_sizes=(5,), activation='relu', verbose=True, learning_rate_init=1, learning_rate='adaptive', max_iter=500,)
mlp.fit(X,y)
mlp.score(X,y)
print mlp.coefs_
print mlp.n_layers_
print mlp.n_outputs_
print mlp.out_activation_
업데이트 : 코드는 ...이 특정 사양 윈도우 10에
Scikit을 실행했다 -learn : 0.17.1
Scikit - 신경망 : 0.7
파이썬 2.7
이것은 매우 명확하지 않습니다. 어떻게 가져 왔니? Scikit의 버전은 무엇입니까? 어떤 플랫폼? –