Its an implementation of perceptron
Project description
OneNeuron_PyPI
demo for package upload on the PyPI
How to use
from oneNeuron.perceptron import Perceptron
from oneNeuron.all_utils import prepare_data, save_model, save_plot
# get x and y first, and then use below command
X,y = prepare_data(df)
model = Perceptron(eta=eta, epochs=epochs)
model.fit(X, y)
save_model(model, filename=str(filename)+".model")
save_plot(df, file_name=str(filename)+".png",model_=model)
Reference -
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file OneNeuron_PyPI-YogeshRajgure-1.0.1.tar.gz
.
File metadata
- Download URL: OneNeuron_PyPI-YogeshRajgure-1.0.1.tar.gz
- Upload date:
- Size: 4.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e0a2169aaf287f8d0c275bdbbd4c4b614af6fcce08cda2191674b2642b6191ce |
|
MD5 | d6214335d53a4ce3a11de623a5c7533f |
|
BLAKE2b-256 | 5951d7ea8c3b7d5d2c99e54cb78f5ec2968882d5d1439bda689c6bfc51130e51 |
File details
Details for the file OneNeuron_PyPI_YogeshRajgure-1.0.1-py3-none-any.whl
.
File metadata
- Download URL: OneNeuron_PyPI_YogeshRajgure-1.0.1-py3-none-any.whl
- Upload date:
- Size: 4.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0f88db71cb52d6f9547004558e747680ca2cd6b65be597e5817dbcc8daa0470c |
|
MD5 | 9d4ff72e2d419f78abba20797ed8a544 |
|
BLAKE2b-256 | 1b4d32ee909aa6c75ab585b8570ae1a190aeea175acc9a1f4bbed132a5a78515 |