/perceptron

Implement a perceptron from scratch

Primary LanguageJupyter NotebookMIT LicenseMIT

Perceptron (Perception Neuron) From Scratch

I test it on 3 datasets:

  • Abalone
  • Boston House Price
  • Employee's Salary

Install Dependencies:

pip install -r requirements.txt

Employee's salary šŸ’µ

I made a linear dataset using scikit-learn library:

  • with 100 samples of employees
  • I made a years of experience range form 0 to 20
  • I made a salary range form 20000 to 150000

Employee Experience Salary

First try with 3 epochs:

First try with 3 epochs

Best try with 20 epochs:

Best try with 20 epochs

Abalone šŸš

First try with 5 epochs:

First try with 5 epochs

Best try with 20 epochs:

Best try with 20 epochs