This repository contains an example of using pins, vetiver, Shiny for Python to create a machine learning project in Python. Everything is deployable on RStudio Connect.
- Python data scientists who want to build machine learning projects with existing interoperable data assets from R processes scheduled to run on RStudio Connect.
- Multilingual data scientists who want to utilize both R and Python in their data science workflow. It can also be used as an example for multilingual data science teams to colloborate with open source tools like pins, vetiver, and Shiny.
- Description: From Content DB get the bike_model_data table and then train a model. The model is saved to Connect as a pin, and then deployed to Connect as a plumber API using vetiver.
- Code: model/01-train-and-deploy-model/model_training_deployment.ipynb
- Deployed Content:
- Jupyter Notebook (https://colorado.rstudio.com/rsc/bikeshare-model-retraining/ | Dashboard View)
- Model Pin (https://colorado.rstudio.com/rsc/bikeshare-rf-python/ | Dashboard View)
- Vetiver API: (https://colorado.rstudio.com/rsc/bike-predict-python-api/ | Dashboard View)
- Description: Use the API endpoint to interactively serve predictions to a shiny app.
- Code: app/app.py
- Deployed Content:
- Description: A development version of the client app.
- Code: app-dev/app.py
- Deployed Content:
See a problem or want to contribute? Please refer to the contributing page.