Giter Club home page Giter Club logo

atm's Introduction

ATM Repository

Repository containing code, as well as gathered data, as used for the paper

Merlijn Krale, Thiago D. Simao, Jana Tumova, Nils Jansen
Robust Active Measuring under Model Uncertainty
In AAAI, 2024.

Contents

This repository contains the following files:

Code:

  • ACNO_Planning.py : Code containing all planning algorithms used in the paper;
    • Note: Measurement lenient algorithsm are refered to as 'Control-Robust'.
  • Run.py : Code for automatically running agents on environments & recording their data;
  • RunAll.sh : Bash file for automatically running all experiments in the paper;
  • Plot_Data.ipynb : Code for plotting data (with a matplotlibrc file to set formatting);
  • Requirements.text : File with required python dependencies;

Folders:

  • AM_Gyms : Contains all code related to setting up and learning models, as used by the planning algorithms.
  • Data : Contains gathered data, including analysed data & plots.
  • Baselines : Contains code for all baseline algorithms used while testing.

Getting started

After cloning this repository:

  1. create a virtualenv and activate it
cd ATM/
python3 -m venv .venv
source .venv/bin/activate
  1. install the dependencies
pip install -r requirements.txt

How to run

All algorithms can be run using the Run.py file from command line. Running 'python Run.py -h' gives an overview of the functionaliality.

As an example, starting a run looks something like:

python Run.py -alg ATM_Control_Robust -env Drone -alpha_plan 0.5 -alpha_real 0.8 -alpha_measure 0.8 -nmbr_eps 100

This command runs the MLATM algorithm on the Drone environment with $\alpha = 1, \alpha_p = 0.5$, and $\mathcal{M}_\text{ML}$ with dynamics parametrized an RMDP with $\alpha=0.8$. Thus, CR-ATM-avg uses alpha_measure 1, CR-ATM-pes uses alpha_measure = alpha_plan, and CR-ATM-opt uses alhpa_measure = - alpha_plan (hard-coded). To run all experiments from the paper at once, run the following:

bash ./Runall.sh

Note that this repository does not contain all pre-computated files for the drone environments, which means run times might be relatively long.

atm's People

Contributors

mkrale avatar tdsimao avatar

Stargazers

 avatar

Watchers

 avatar

Forkers

tdsimao

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.