Skip to content

Latest commit

 

History

History
14 lines (10 loc) · 991 Bytes

README.md

File metadata and controls

14 lines (10 loc) · 991 Bytes

jupyter-dvc

An experiment to use jupyter notebooks with DVC

WSL

It's helpful to have Windows subsystem for Linux, or any virtual Linux machine installed on your computer. Enter this environment with bash or similar commands from a terminal.

Pipenv

You must have pipenv installed. Clone the repository and run pipenv shell in the jupyter-dvc directory to activate the virtual environment. Run pipenv install to install the dependencies.

DVC

Run the pipeline using dvc repro notebooks/dvc.yaml. Change parameters in notebooks/params.yaml to alter the notebook's output. The completed notebook is stored in outputs. In practice, you can save outputs from the notebook to any location, and if you don't need the completed notebook you can add the outputs folder to .gitignore.

Mercury

I incorporated Mercury as a test. You can launch an interactive version of the notebook from within the mercury folder with mercury run.