Skip to main content

A utility for running parameter sweeps in SoMo or SoMoGym.

Project description

SoMoSweep

A utility for running parameter sweeps in SoMo or SoMoGym. Perform multidimensional parameter sweeps with true parallel processing and easy data handling.

Installation

Requirements

  • Python 3.6+
  • Tested on:
    • Ubuntu 16.04 and Ubuntu 18.04 with Python 3.6.9
    • Ubuntu 20.04 with Python 3.6.9, 3.7.9 and 3.8.2
    • Windows 10 with Python 3.7 and Python 3.8 through Anaconda
  • Recommended: pip (sudo apt-get install python3-pip)
  • Recommended (for Ubuntu): venv (sudo apt-get install python3-venv)

Setup

  1. Make sure your system meets the requirements
  2. Clone this repository
  3. Set up a dedicated virtual environment using venv
  4. Activate virtual environment
  5. Install this module
    • Install the most recent release version using pip:
      • pip install somosweep
    • OR Install the development version:
      • Clone this repo to your machine and navitage to the root folder
      • Install requirements pip install -r requirements.txt
      • Install the module pip install -e .

Explore the examples

  • Run any of the files in the examples folder.

Contributing

  • only through a new branch and reviewed PR (no pushes to master!)
  • always use Black for code formatting
  • always bump the version of your branch by increasing the version number listed in somo/_version.py

Testing

SoMoSweep uses pytest for testing. You can run all tests with pytest from the repository's root.

Using this framework

Check out the documentation. Read-the-docs site coming soon.

License

MIT open source

Copyright (c) 2022 Clark B. Teeple

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

somosweep-0.0.1.tar.gz (16.4 kB view details)

Uploaded Source

Built Distribution

somosweep-0.0.1-py3-none-any.whl (20.7 kB view details)

Uploaded Python 3

File details

Details for the file somosweep-0.0.1.tar.gz.

File metadata

  • Download URL: somosweep-0.0.1.tar.gz
  • Upload date:
  • Size: 16.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/45.2.0 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.8.10

File hashes

Hashes for somosweep-0.0.1.tar.gz
Algorithm Hash digest
SHA256 61b8ed88df71b45e539d1963aaa003aa9061ab6125b9ba7d0b11d42c055e77c2
MD5 1a0f3b41e2c081b6c2e9f8184079fdea
BLAKE2b-256 5fc8de7469d8f9d4df6e1c0fee4c2c9025344db7b49e87b1d0c53a4ede7e0c23

See more details on using hashes here.

File details

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

File metadata

  • Download URL: somosweep-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 20.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/45.2.0 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.8.10

File hashes

Hashes for somosweep-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 5338be9ccf059e03555c9ae934b71aef713443f800442b5c6474b7bc52ff8235
MD5 d1facd9987c0a39a5e5b7fd0eb7b5d9a
BLAKE2b-256 e7e0b26d52ff7f50090af755c5512a57f8cbfcdcf4f838b6dda66a2273a55231

See more details on using hashes here.

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