Skip to content
المشاريع

farhanshn/perceptron-from-scratch

عرض على GitHub

حول

Perceptron implemented from scratch in Python, compared with scikit-learn

التعلّم والتعليم

كيف تُقاس هذه الأرقام

النمو المقاس للنجوم

خلال 24 ساعة
٠
خلال 7 أيام
جارٍ جمع السجل
خلال 15 يومًا
جارٍ جمع السجل
خلال شهر
جارٍ جمع السجل

تغيّر صافي النجوم خلال فترات متداخلة، وليس مجموعًا يوميًا. تبقى القياسات المفقودة فارغة. النجوم تقيس الاهتمام لا جودة البرمجيات.

README.md

الأصل

Perceptron 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

استكشف مشاريع مشابهة ومرتبطة

جارٍ التحميل…