Sign inSign up

icra2018/adversarial-testing

By icra2018

•Updated over 7 years ago

This is a python package for testing controls for black box system in simulators.

Image
0

987

icra2018/adversarial-testing repository overview

⁠adversarial_testing

Docker Cloud Build Status Binder

This is a python package for testing controllers for black box system in simulators

⁠Installation

To install,

python3 setup.py install --user

This should allow you to use the package anywhere in your current environment

⁠Tests

The tests folder has 3 files:

  • test_sincos.py : This file shows the difference between modeling smooth and non-smooth functions using GPy
  • test_car.py: This file implements a simple linear controller on a car for obstacle avoidance. This file shows how we use KernelPCA for reducing the input space.
  • test_cartpole.py: This file tests a nearest neighbor controllder code submitted by user for the Open AI Gym environment Cartpole-v0

⁠How to Run with Docker

Tested on:

  1. Open a terminal in Linux/macOS or a PowerShell in Windows and run the command:
docker run --rm -p 8888:8888 icra2018/adversarial-testing:latest
  1. Run a web browser and open the link: http://localhost:8888/lab/tree/README.ipynb⁠

Tag summary

Content type

Image

Digest

Size

339.5 MB

Last updated

over 7 years ago

docker pull icra2018/adversarial-testing