somosweep

A utility for running parameter sweeps in SoMo or SoMoGym.


License
MIT
Install
pip install somosweep==0.1.5

Documentation

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