Register
Login
Resources
Docs Blog Datasets Glossary Case Studies Tutorials & Webinars
Product
Data Engine LLMs Platform Enterprise
Pricing Explore
Connect to our Discord channel
09be38a587
add run_notebook workflow
2 years ago
203a1584a4
add test train model
1 year ago
5a01600c27
Update create_app.py
1 year ago
6d94db3431
change to process 2
1 year ago
09be38a587
add run_notebook workflow
2 years ago
9aca26bc41
init commit
2 years ago
c6e20cc807
remove pre-commit
2 years ago
203a1584a4
add test train model
1 year ago
12f5978e5c
add code
2 years ago
9ef7c74f3b
edit run tests workflow
1 year ago
4b65244e6a
add dependencies
1 year ago
182927cafd
fix test_serving
1 year ago
24f4c843e5
add Procfile
1 year ago
df54ce6155
Update README.md
1 year ago
27dd9404e2
add Procfile
1 year ago
201fdd062b
fix test model workflow
1 year ago
e18ada258d
use process 1
1 year ago
11b3f22020
track model
1 year ago
e18ada258d
use process 1
1 year ago
e18ada258d
use process 1
1 year ago
40ad275349
change poetry to pip
1 year ago
a7acef209f
remove bentoml
1 year ago
Storage Buckets
Data Pipeline
Legend
DVC Managed File
Git Managed File
Metric
Stage File
External File

README.md

You have to be logged in to leave a comment. Sign In

Employee Future Prediction

Motivation

In a data science team, it is common to continuously try to find a better model than the existing one in production. It is important to make sure the service doesn't break when the new model is deployed.

This project demonstrates how to use DagsHub and GitHub Actions to:

  • automatically test a pull request from a team member
  • merge a pull request when all tests passed
  • deploy the ML model to the existing service

Here is the summary of the workflow:

Experiment on DagsHub

After experimenting with different parameters using MLFlow and DagsHub, we choose a combinations of parameters that gives a better performance than the existing model in production and commit the code to Git.

Use GitHub Actions to Test Model

The first workflow named test_model.yaml automatically tests a new pull request, which can only be merged if all tests are passed.

Use GitHub Actions to Deploy Model After Merging

The second workflow named deploy_app.yaml automatically deploy the new model to the existing service after the pull request is merged.

.

Tip!

Press p or to see the previous file or, n or to see the next file

About

Predict ad clicks

Collaborators 1

Comments

Loading...