preloader

Redes neuronales - Perceptrón simple - Práctica

Índice de contenido
python
from sklearn.datasets import load_digits
from sklearn.linear_model import Perceptron
python
X, y = load_digits(return_X_y=True)
python
clf = Perceptron(tol=1e-3, random_state=0)
python
clf.fit(X, y)
Perceptron()
python
clf.score(X, y)
0.9393433500278241
comments powered by Disqus