- Create a virtual environment
python -m venv xgboost-env- Activate it
source xgboost-env/bin/activate- Install the Jupyter kernel using the Python interpreter in this environment
python -m ipykernel install --user \
--name xgboost-env \
--display-name "Python (xgboost-env)"- Install development dependencies
pip install -r requirements-dev.txt- Additionally, install the
seldon_corepackage
- You can either install it with pip from pypi with
pip install seldon-core - Or you can install it from source by:
- Navigating to the /python folder and
make install
- Navigating to the /python folder and
- Install the package dependencies
pip install -r ./xgboostserver/requirements.txt- Open Jupyter Lab
jupyter lab-
Navigate to the browser, then to the
testfolder and select the notebook -
From the top right, choose the Kernel called
Python (xgboost-env) -
Run the cells one after the other