Proyectos
Ver en GitHub
farhanshn/perceptron-from-scratch
Acerca de
Perceptron implemented from scratch in Python, compared with scikit-learn
Aprendizaje y educaciónCrecimiento de estrellas medido
- in 24h
- 0
- in 7 days
- Recopilando historial
- in 15 days
- Recopilando historial
- in 1 month
- Recopilando historial
Cambios netos en períodos que se solapan, no totales diarios. Los datos no disponibles se dejan en blanco. Las estrellas indican interés, no calidad.
README.md
OriginalPerceptron from Scratch
Learning project: implementing the perceptron algorithm in pure Python, then comparing it with scikit-learn's implementation.
How it works
For each sample: z = w1x1 + w2x2 + b, predict 1 if z >= 0, else 0.
Update rule: w += learning_rate * (y - prediction) * x
Contents
final_perceptron.ipynb: training from scratch, decision boundary plot, and comparison with scikit-learn
Run
pip install numpy matplotlib scikit-learn jupyter jupyter notebook
Explorar proyectos relacionados
Cargando…