Skip to main content

SOCKS: Stochastic Optimal Control using Kernel Methods

Project description

SOCKS :socks:

build Code style: black

NOTE: SOCKS is still under active (alpha) development 🚧👷🚧. Code is provided as-is, and some algorithms may not work as intended before the initial release. Please check back soon for the official release.

SOCKS is a suite of algorithms for stochastic optimal control using kernel methods.

It runs on top of OpenAI Gym, and comes with several classic controls Gym environments. In addition, it can integrate with many pre-existing Gym environments.

Installation

To install the toolbox, use pip install gym-socks.

Alternatively, download the code from the GitHub repo and install using pip install . from the code directory.

We support Python versions 3.7, 3.8, and 3.9 on Linux and macOS. We do not officially support Windows.

Examples

SOCKS comes with several examples in the GitHub repo. In order to run the examples, first install the package and use python -m <example> from the code directory.

For example, python -m examples.benchmark_tracking_problem will run the optimal control algorithm on the tracking benchmark using nonholonomic vehicle dynamics.

Citation

In order to cite the toolbox, use the following bibtex entry:

@inproceedings{thorpe2022hscc,
  title={{SOCKS}: A Kernel-Based Stochastic Optimal Control and Reachability Toolbox},
  authors={Thorpe, Adam J. and Oishi, Meeko M. K.},
  year={2022},
  booktitle={Proceedings of the 25th ACM International Conference on Hybrid Systems: Computation and Control (submitted)},
}

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

gym-socks-0.1.0a0.tar.gz (46.7 kB view details)

Uploaded Source

Built Distribution

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

gym_socks-0.1.0a0-py3-none-any.whl (79.2 kB view details)

Uploaded Python 3

File details

Details for the file gym-socks-0.1.0a0.tar.gz.

File metadata

  • Download URL: gym-socks-0.1.0a0.tar.gz
  • Upload date:
  • Size: 46.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.7

File hashes

Hashes for gym-socks-0.1.0a0.tar.gz
Algorithm Hash digest
SHA256 7dafbe7ffeed67918c894a3df007d7eda1b0a3ccbed42c304dd25f72c9415812
MD5 99ecc8e78502f2429df2a73c373ff5cb
BLAKE2b-256 c029adbc3cd28d977aeae2411eacabcc9b2dab5dba24f7bb464998ba86e8116f

See more details on using hashes here.

File details

Details for the file gym_socks-0.1.0a0-py3-none-any.whl.

File metadata

  • Download URL: gym_socks-0.1.0a0-py3-none-any.whl
  • Upload date:
  • Size: 79.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.7

File hashes

Hashes for gym_socks-0.1.0a0-py3-none-any.whl
Algorithm Hash digest
SHA256 70b7695129e2d4a07339ea59b0257f6680c4f5d78edabaa552a435f19b07b582
MD5 cf7324e1d90593fe30edff4825cfe345
BLAKE2b-256 fbdec91147e735e32d6decdbf565ff46848c7227c8f71fb082fc219309777563

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