File tree Expand file tree Collapse file tree 1 file changed +21
-0
lines changed Expand file tree Collapse file tree 1 file changed +21
-0
lines changed Original file line number Diff line number Diff line change @@ -698,6 +698,27 @@ Estimativa: 10 min com I7 3.1 8Ram
698698# print ("%")
699699```
700700
701+ ### MLP Classifier
702+ Esse algoritmo é um classificador Perceptron de Multicamadas
703+ usado para fazer o
704+ treinamento de modelos, e é uma biblioteca do Scikit-Learn.
705+
706+ ``` python
707+ from sklearn.neural_network import MLPClassifier
708+
709+ mlp = MLPClassifier()
710+ mlp.fit(X_train, y_train)
711+ saidas = mlp.predict(X_test)
712+ trac = " ---------------------------------------------------"
713+
714+ print (trac)
715+ print (' Saida redes neurais: ' , saidas)
716+ print (' Saida desejada' , y_test)
717+ print (trac)
718+ print (' Score: ' , mlp.score(X_test, y_test))
719+
720+ ```
721+
701722# Referências Bibliográficas
702723http://scikit-
703724learn.org/stable/modules/generated/sklearn.dummy.DummyClassifier.html#sklearn.dummy.DummyClassifier
You can’t perform that action at this time.
0 commit comments