Skip to main content

Its a implimentation of Perceptron

Project description

oneNeuron_pypi

oneNeuron_pypi >>> This python package is a implimentation of single neuron neural network(Perceptron)

How to use this

Installation of the package...

Try any one of them in terminal...

pip install oneNeuron-pypi-tripathimanoj

pip install oneNeuron-pypi-tripathimanoj==0.0.8

Installation >>>

Importing the package...

from oneNeuron.perceptron import Perceptron

## Get X and y and then use following code.
model=Perceptron(eta=eta,epochs=epochs)
model.fit(X,y)

Importing >>>)

Output of package...

Output >>>

PERCEPTRON >>>

Perceptron(A single neuron neural network) were developed in the 1950s and 1960s by the scientist Frank Rosenblatt, inspired by earlier work by Warren McCulloch and Walter Pitts. It is the initial basic algorithm for supervised learning of binary classifier, i.e. a classification algorithm that makes its predictions based on a linear predictor function combining a set of weights with the feature vector.

Perceptron Basic structure

working of Perceptron >>>

Perceptons takes several inputs x1,x2,x3....xn and produces a single binary output.Then weights were introduced expressing importance of respective inputs to the outputs. The neuron outputs either 0 or 1 ,which is determined by the weighted sum ∑wjxj is less than or greater than threshold value(this is hyperparameter).

Perceptron rule/working

Based on the given no of epochs it will try to reduce the error as close to zero by adjusting the weights in every epochs. If the error is constant(can't reduce more) or zero within a given no of epochs those will be the final best weights for each feature. And then it will try to train itself by those final weights and give prediction.

references

[guide for creating python package ] (https://packaging.python.org/en/latest/tutorials/packaging-projects/)

[github docs for github actions] (https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-python#publishing-to-package-registries)

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

oneNeuron_pypi-tripathimanoj-0.0.8.tar.gz (4.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

oneNeuron_pypi_tripathimanoj-0.0.8-py3-none-any.whl (4.5 kB view details)

Uploaded Python 3

File details

Details for the file oneNeuron_pypi-tripathimanoj-0.0.8.tar.gz.

File metadata

  • Download URL: oneNeuron_pypi-tripathimanoj-0.0.8.tar.gz
  • Upload date:
  • Size: 4.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/34.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.9 tqdm/4.63.1 importlib-metadata/4.11.3 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.12

File hashes

Hashes for oneNeuron_pypi-tripathimanoj-0.0.8.tar.gz
Algorithm Hash digest
SHA256 0bb90dea1b73e1e35d854ca2a6ebfee2544f99e22e76639a9fda426c8b34c31b
MD5 fd9f1b9dfee54133fd6ab705bc85ea0e
BLAKE2b-256 9ad1872d20fa6269008d170d951aa6e454a9403bcc9385507b70679d0518a4fd

See more details on using hashes here.

File details

Details for the file oneNeuron_pypi_tripathimanoj-0.0.8-py3-none-any.whl.

File metadata

  • Download URL: oneNeuron_pypi_tripathimanoj-0.0.8-py3-none-any.whl
  • Upload date:
  • Size: 4.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/34.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.9 tqdm/4.63.1 importlib-metadata/4.11.3 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.12

File hashes

Hashes for oneNeuron_pypi_tripathimanoj-0.0.8-py3-none-any.whl
Algorithm Hash digest
SHA256 3b811aa29782978c0e4935fd7bc3bf8a37aa295d6ac01434c40682747f862bd4
MD5 c24407adf70a1e731ad9ac2012af9a99
BLAKE2b-256 4c11fbb96373c8f0396be0bba6e20164f9ef875b5206ed63da2333498e417366

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page