If using google colab import Colab Version DRUM Model Serving Made Easy.ipynb from this repo and you are done ;)
You can also import the Colab Version of Brief Tour of DRUM.ipynb
If you choose to run this locally then please do the following. The disadvantage of colab is that the app won't run
- Python version >= 3.7
If you want to follow along with section on Monitoring your deployment with DataRobot you will need
- JDK 11 or 12
- A trial account for DataRobot, which can be gotten here
Have not tested this out on a windows machine.
Before going through this example, it is encouraged to create a virtual python environment via conda of virtualenv.
conda create --name odsc-drum python=3.7
conda activate odsc-drum
conda install -c conda-forge --file ./requirements.txt
python3 -m venv ~/odsc-drum
source ~/odsc-drum/bin/activate
pip install -r ./requirements.txt
Once you have made it to here, check the drum version with
drum --version
. If you receive an error ModuleNotFoundError: No module named 'flask'
, run
deactivate
source ~/odsc-drum/bin/activate
drum --version
If you see any other error, please join the #thur-timwhittaker-rajivshah-a-tutorial-on-robust-machine-learning-deployment in OdscWestVirtual Slack
This worked for me.
pip install -r requirements.txt