Skip to content

Commit 141bec4

Browse files
committed
Merge branch 'development' of github.com:Wall-eSociety/Product-Classification into development
2 parents 418e299 + 2d9e224 commit 141bec4

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed

product-solution.md

+21
Original file line numberDiff line numberDiff 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
702723
http://scikit-
703724
learn.org/stable/modules/generated/sklearn.dummy.DummyClassifier.html#sklearn.dummy.DummyClassifier

0 commit comments

Comments
 (0)