Skip to content

Artemis aims to get rid of all the boring, bureaucratic coding (plotting, file management, organizing experiments, etc) involved in machine learning projects, so you can get to the good stuff quickly.

License

Notifications You must be signed in to change notification settings

Kim-Seongjung/artemis

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Artemis

The deer represents dull, repetitive coding tasks, and Artemis represents Artemis.  As you can see, once Artemis comes along, the future is not bright for dull, repetitive coding tasks.

Artemis is a collection of tools that make it easier to run experiments in Python. These include:

  • An easy-to-use system for making live plots, to monitor variables in a running experiment.
  • A browser-based plotter for displaying live plots.
  • A framework for defining experiments and logging their results (text output and figures) so that they can be reviewed later and replicated easily.
  • A system for downloading/caching files, to a local directory, so the same code can work on different machines.

Installation

To use artemis from within your project, use the following to install Artemis and its dependencies: (You probably want to do this in a virtualenv with the latest version of pip - run virtualenv venv; source venv/bin/activate; pip install --upgrade pip; to make one and enter it).

Option 1: (Recommended) Install as source (allows you to edit Artemis).

pip install -e git+http://github.com/QUVA-Lab/artemis.git#egg=artemis 

This will install it in (virtual env or system python root)/src/artemis. You can edit the code and submit pull requests to our git repo. To install with the optional remote plotting mode enabled, add the [remote_plotting] option, as in: pip install -e git+http://github.com/QUVA-Lab/artemis.git#egg=artemis[remote_plotting]

Option 2: Simple install:

pip install artemis-ml

Verifying that it works

To verify that the plotting works, run:

python -m artemis.plotting.demo_dbplot

A bunch of plots should come up and start updating live.

Note: During installation, the settings file .artemisrc is created in your home directory. In it you can specify the plotting backend to use, and other settings.

Quick Demos

Live Plotting: /artemis/plotting/demo_dbplot.py

Recording Experiment Results: artemis/experiments/demo_experiments.py

A demo repo showing how to use Artemis from your code: https://github.com/QUVA-Lab/demo_repo

Using Browser-plotting

After installing, you should have a file ~/.artemis rc. To use the web backend, edit the backend field to matplotlib-web. To try it you can run /artemis/plotting/demo_dbplot.py

Plug:

If you like Artemis then you'll love Plato - a new API that simplifies the use of Theano.

About

Artemis aims to get rid of all the boring, bureaucratic coding (plotting, file management, organizing experiments, etc) involved in machine learning projects, so you can get to the good stuff quickly.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 99.8%
  • Other 0.2%