Skip to content

Reinforcment learning for Experimental Design

License

Notifications You must be signed in to change notification settings

jameshennessytempus/RED

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

43 Commits
 
 
 
 
 
 
 
 

Repository files navigation

RED

Deep Reinforcement Learning for Optimal Experimental Design in Biology

Installation

RED does not need to be installed to run the examples

To use the package within python scropts, RED must be in PYTHONPATH.

To add to PYTHONPATH on a bash system add the following to the ~/.bashrc file

cool

export PYTHONPATH="${PYTHONPATH}:<path to RED root dir>"

out

Dependencies

Standard python dependencies are required: numpy, scipy, matplotlib. TensorFlow is required). Instructions for installing 'TensorFlow' can be found here: https://www.tensorflow.org/install/

User Instructions

Code files can be imported into scripts, ensure the RED directory is in PYTHONPATH and simply import the required RED classes. See examples.

To run examples found in RED_master/examples from the command line, e.g.:

$ python train_RT3D_prior.py 

The examples will automatically save some results in the directory:

The main classes are the continuous_agents and OED_env, see examples for how to use these:

continuous_agents

The continuous_agents.py file can be imported and used on any RL task.

from RED.agents.continuous_agents import RT3D_agent

OED_env

Contains the environments used for RL for OED. Can be imported and initialised with any system goverened by a set of DEs

from RED.environments.OED_env import OED_env

About

Reinforcment learning for Experimental Design

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%