Skip to content

Binary classification by single vanilla neuron (logistic regression inspired). Neuron is implemented using python without frameworks.

License

Notifications You must be signed in to change notification settings

ramayzoraiz/p001-single-neuron-scratch

Repository files navigation

p001-single-neuron-scratch

Binary classification by single vanilla neuron(logistic regression inspired). Neuron is implemented using python without frameworks. For detailed tutorial that I have wrote, click 📖.

File neuron_understanding.ipynb contains markdown notes for better understanding; and neuron working functions are defined within notebook. It is less polished but more intuitive for understanding neuron code.

Moving on, two synthetic datasets are used, i.e. linear and non-linear separable flower petals, in neuron_and_linear_separable_data.ipynb and neuron_and_non-linear_separable_data.ipynb notebooks, respectively. For polished code, functions used these in two notebooks are contained in file single_neuron_scratch_functions.py.


neuron_understanding.ipynb, neuron_and_linear_separable_data.ipynb input and output visualize
neuron_and_linear_separable_data.ipynb input and output visualize

About

Binary classification by single vanilla neuron (logistic regression inspired). Neuron is implemented using python without frameworks.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published