Skip to content

Automated MLOps pipeline using GitHub Actions: trains a RandomForestClassifier with scikit-learn, evaluates using CML, and deploys to Hugging Face Spaces and all triggered by a simple Git push. Achieved 97% accuracy and 94% F1 score, with full CI/CD integration for reproducible ML workflows.

License

Notifications You must be signed in to change notification settings

harshini2212/Random-Forest-CICD-Pipelines

Repository files navigation

CICD-for-Machine-Learning

CI Continuous Deployment Open In Colab

DataCamp Open in Spaces

Learn how to automate model training, evaluation, versioning, and deployment using GitHub Actions with the easiest MLOps guide available online.

Project Description

In this project, we will be using scikit-learn pipelines to train our random forest algorithm and build a drug classifier. After training, we will automate the evaluation process using CML. Finally, we will build and deploy the web application to Hugging Face Hub.

From training to evaluation, the entire process will be automated using GitHub actions. All you have to do is push the code to your GitHub repository, and within two minutes, the model will be updated on Hugging Face with the updated app, model, and results.

Follow the tutorial: https://www.datacamp.com/tutorial/ci-cd-for-machine-learning

Pipeline

CICD

Results

Model Accuracy F1 Score
RandomForestClassifier 97.0% 94.0%

CM

About

Automated MLOps pipeline using GitHub Actions: trains a RandomForestClassifier with scikit-learn, evaluates using CML, and deploys to Hugging Face Spaces and all triggered by a simple Git push. Achieved 97% accuracy and 94% F1 score, with full CI/CD integration for reproducible ML workflows.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published