what is pypi?
- The Python Package Index (PyPI) is a repository of software for the Python programming language.
It's use for publishing any python package.
- install the latest package
- in jupyter notebook -
!pip install oneNeuron-umangtank
- in command prompt -
pip install oneNeuron-umangtank- Now run below snippets of code in your jupyter-notebooks cell to perform perceptron.
from oneNeuron.Perceptron import Perceptron
## get X and y and then use below commands
# eta = learning rate
model = Perceptron(eta=eta, epochs=epochs)
model.fit(X, y)