Skip to main content

A small package for perceptron

Project description

Samutils python package

How to use this package

from samutils.perceptron import Perceptron
model = Perceptron(eta=0.3, epochs=10)

Setup :

Create your own env:

conda create --prefix "./conda_env" python==3.8 -y

conda activate "./conda_env"

pip cache purge

pip install -r requirements.txt

Recreate your own Git:

rm -rf .git

git init

git add .

git commit -m "First Commit"

git branch -M main

git remote add origin <Your New Repository>

git push -u origin main

Upload to PyPI:

Get LICENSE from Github > Add File > Create New File > Type "LICENSE" and click on "Choose A Template"

Local:
    git pull origin main

Go to PyPI.com > Account Settings > Add API Token
Give Token name
    Scope: (Entire Account)
Go to Github Repo > Settings > Secrets
    Add a Secret:
        Name: PYPI_API_TOKEN
        Value: (Copied from Pypi)

Trigger the Actions Pipeline to Push to PyPI:
    git push origin main

References -

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

samutils_pkg-Samm-G-0.0.1.tar.gz (3.5 kB view hashes)

Uploaded Source

Built Distribution

samutils_pkg_Samm_G-0.0.1-py3-none-any.whl (3.9 kB view hashes)

Uploaded Python 3

Supported by

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