-
Notifications
You must be signed in to change notification settings - Fork 41
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.ymlfile (preferred method)$ conda env create -f environment.yml # create the virtual envand activate the virtual environment, named after the kit
$ source activate <ramp_kit_name>
-
with
pipand therequirements.txtfile$ pip install -r requirements.txt
$ python download_data.py$ ramp_test_submission --quick-testAlternatively, 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/)