Projetos
Ver no GitHub
farhanshn/perceptron-from-scratch
Sobre
Perceptron implemented from scratch in Python, compared with scikit-learn
Aprendizado e educaçãoCrescimento medido de estrelas
- em 24 h
- 0
- em 7 dias
- Coletando histórico
- em 15 dias
- Coletando histórico
- em 1 mês
- Coletando histórico
Variações líquidas em períodos sobrepostos, não totais diários. Medições ausentes ficam em branco. Estrelas indicam interesse, não qualidade.
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
Explore projetos relacionados
Carregando…