Skip to main content

its an implimentation of Perceptron

Project description

oneNeuron_pypi

oneNeuron python package creation

How to use -

    from oneNeuron.perceptron import Perceptron
    from utils.common_utils import prepare_data, save_model, save_plot
    ## Get X and y from dataframe
    X,y = prepare_data(df)
    model = Perceptron(eta, epochs)
    model.fit(X,y)
    _ = model.total_loss()
    save_model(model, modelname)
    save_plot(df , plotfilename, model)

Reference -

official python docs

github docs for github actions

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-sureshs96-0.0.2.tar.gz (4.2 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_sureshs96-0.0.2-py3-none-any.whl (5.0 kB view details)

Uploaded Python 3

File details

Details for the file oneNeuron_pypi-sureshs96-0.0.2.tar.gz.

File metadata

File hashes

Hashes for oneNeuron_pypi-sureshs96-0.0.2.tar.gz
Algorithm Hash digest
SHA256 66f025daff177655fd729061a1df17a7426ef0ef77ffcc31f6c8ba6363aeed9b
MD5 c8ae2e78aeded16dd5b617505f23048e
BLAKE2b-256 17b3234d40384d6e65f72505a74525840c228b635285ebe5e0918f7b18ae6d0f

See more details on using hashes here.

File details

Details for the file oneNeuron_pypi_sureshs96-0.0.2-py3-none-any.whl.

File metadata

File hashes

Hashes for oneNeuron_pypi_sureshs96-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 bcf442c31ba28df1ab3672c5c87b634d5e4b2788512e0398d2564bcb464823ce
MD5 b04b4e4e43bf34075a4ac1fd1b44d6de
BLAKE2b-256 48fd18ae50367da554a6cea101d5db6085160a4c307e32ae928334f3e848a4a6

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