Skip to main content

Randomized opt networks with PyTorch

Project description

pyperch

Getting Started

About

Pyperch is a neural network weight optimization package developed to support students taking Georgia Tech’s graduate machine learning course CS7641. Three random optimization algorithms - randomized hill climbing, simulated annealing, and a genetic algorithm - can be used as drop-in replacements for traditional gradient-based optimizers using PyTorch.

Install

pip install pyperch

Examples

PyTorch-Only (No Skorch Required)

  • rhc_adam_hybrid.ipynb
    New notebook demonstrating PyTorch training using pyperch's RHC optimizer and Adam together on different layers - no Skorch dependency required. Ideal for hybrid workflows and experimentation.

Classic Skorch Examples

Contributing

Pull requests are welcome.

  • Fork pyperch.
  • Create a branch (git checkout -b branch_name)
  • Commit changes (git commit -m "Comments")
  • Push to branch (git push origin branch_name)
  • Open a pull request

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

pyperch-0.1.5.tar.gz (776.6 kB view details)

Uploaded Source

File details

Details for the file pyperch-0.1.5.tar.gz.

File metadata

  • Download URL: pyperch-0.1.5.tar.gz
  • Upload date:
  • Size: 776.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 colorama/0.4.4 importlib-metadata/4.6.4 keyring/23.5.0 pkginfo/1.8.2 readme-renderer/34.0 requests-toolbelt/0.9.1 requests/2.25.1 rfc3986/1.5.0 tqdm/4.66.1 urllib3/1.26.5 CPython/3.10.12

File hashes

Hashes for pyperch-0.1.5.tar.gz
Algorithm Hash digest
SHA256 6b44b04ecd6492a78dd2c5561043eaffcc05657eec9a7a151a566257206478c7
MD5 870c8c2bd193da9e33bde31ec9ee1f28
BLAKE2b-256 d160c6a4baa226493c666c62a46bc45c5c297a2efd194879d5fed5418f6797a3

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