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 details)

Uploaded Source

Built Distribution

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

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

Uploaded Python 3

File details

Details for the file samutils_pkg-Samm-G-0.0.1.tar.gz.

File metadata

  • Download URL: samutils_pkg-Samm-G-0.0.1.tar.gz
  • Upload date:
  • Size: 3.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.9.13

File hashes

Hashes for samutils_pkg-Samm-G-0.0.1.tar.gz
Algorithm Hash digest
SHA256 fb83c3b0204359495b72452312d6e127a57eaecabb0d1c6c12fe132dbaa6a510
MD5 7e339115c21cc45efcdbf49a1b79f3a8
BLAKE2b-256 59cf025063b62d5d7663495d2f92feb1a035b84617acb9862f7ea6cc07cc7653

See more details on using hashes here.

File details

Details for the file samutils_pkg_Samm_G-0.0.1-py3-none-any.whl.

File metadata

File hashes

Hashes for samutils_pkg_Samm_G-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 635bd16f7934a1df2a9749ee7c6632ef96f441b2a6cc8c0fb4ad8e6ac759157f
MD5 91a7c978724b3c250094bbc1d0bca69e
BLAKE2b-256 c6713beccee651db5448047d1d7e03fc49b5d36e9eb550e8a75fecb2308357cb

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