-
Notifications
You must be signed in to change notification settings - Fork 42
Getting started with a ramp kit
Balazs Kegl edited this page Mar 8, 2019
·
9 revisions
Starting kits in ramp-kits are meant to work out of the box.
Getting started with a given kit <ramp_kit_name>
is a quick 4-step process.
$ cd /path/to/your/ramp-kits/directory
$ git clone https://github.com/ramp-kits/<ramp_kit_name>.git
$ cd <ramp_kit_name>
-
with conda and the
environment.yml
file (preferred method)$ conda env create -f environment.yml # create the virtual env
and activate the virtual environment, named after the kit
$ source activate <ramp_kit_name>
-
with
pip
and therequirements.txt
file$ pip install -r requirements.txt
$ python download_data.py
$ ramp_test_submission --quick-test
Alternatively, for example if you want to use a debugger, you can run the script from a python environment by
from rampwf.utils.testing import assert_submission
then
assert_submission()
See the signature of assert submission for optional parameters.
Copyright (c) 2014 - 2018 Paris-Saclay Center for Data Science (http://www.datascience-paris-saclay.fr/)