MLPclassifier(一):参数说明

MLPclassifier又称多层感知机Multiple layers perception或神经网络,在sklearn库中的该分类器有以下参数:

from sklearn.neural_network import MLPClassifier;

model = MLPClassifier(
    hidden_layer_sizes=(100, ), 
    activation=’relu’, 
    solver=’adam’, 
    alpha=0.0001, 
    batch_size=’auto’, 
    learning_rate=’constant’, 
    learning_rate_init=0.001, 
    power_t=0.5, 
    max_iter=200, 
    shuffle=True,
    random_state=None, 
    tol=0.0001, 
    verbose=False, 
    warm_start=False, 
    momentum=0.9, 
    nesterovs_momentum=True, 
    early_stopping=False, 
    validation_fraction=0.1, 
    beta_1=0.9, 
    beta_2=0.999, 
    epsilon=1e-08, 
    n_iter_no_change=10);

 

你可能感兴趣的:(分类器,机器学习,scikit-learn)