File tree 1 file changed +21
-0
lines changed
1 file changed +21
-0
lines changed Original file line number Diff line number Diff line change @@ -634,6 +634,27 @@ Estimativa: 10 min com I7 3.1 8Ram
634
634
# print ("%")
635
635
```
636
636
637
+ ### MLP Classifier
638
+ Esse algoritmo é um classificador Perceptron de Multicamadas
639
+ usado para fazer o
640
+ treinamento de modelos, e é uma biblioteca do Scikit-Learn.
641
+
642
+ ``` python
643
+ from sklearn.neural_network import MLPClassifier
644
+
645
+ mlp = MLPClassifier()
646
+ mlp.fit(X_train, y_train)
647
+ saidas = mlp.predict(X_test)
648
+ trac = " ---------------------------------------------------"
649
+
650
+ print (trac)
651
+ print (' Saida redes neurais: ' , saidas)
652
+ print (' Saida desejada' , y_test)
653
+ print (trac)
654
+ print (' Score: ' , mlp.score(X_test, y_test))
655
+
656
+ ```
657
+
637
658
# Referências Bibliográficas
638
659
http://scikit-learn.org/stable/modules/generated/sklearn.dummy.DummyClassifier.html#sklearn.dummy.DummyClassifier
639
660
https://www.analyticsvidhya.com/blog/2016/03/complete-guide-parameter-tuning-xgboost-with-codes-python/
You can’t perform that action at this time.
0 commit comments