Skip to content

Manuel-Materazzo/Coginets

Repository files navigation

Warp

Coginets

A Python framework for training, optimizing and deploying Boosting Regressor and Classification models.
Simplify your fitting and deployment routine today!
license last-commit repo-top-language

☄️ Features

Feature Description
🔄 Flexible Training & Validation Options Supports multiple methods for training and validating models
🛠️ Hyperparameter Optimization Includes built-in hyperparameter tuning with options for Grid Search, Bayesian optimization, and Optuna optimization
🎻 Model ensembling Provides various methods for combining predictions from multiple models to enhance accuracy, stability, and generalization..
⚙️ Easy Integration Quickly get started with a new machine learning project by cloning or forking Coginets, you just need to defne a custom pipeline for your dataset.
🌐 Model Deployment Offers model and pipeline serialization and integrates automatically with FastAPI for serving models predictions as an API endpoint.
🐳 Containerization Includes Dockerfile and Docker Compose configuration for straightforward deployment in any environment.
🤖 CI/CD Ready GitHub Action templates included:
  • 🏗️ Automated Docker image build and push
  • 🔄 Auto-merge requests to sync updates from the base repository
Unit Testing Ensures code reliability and correctness through automated unit tests. Adding tests for new modules is straightforward—just compile a configuration class, and they will be auto-generated.
📏 Code Quality Maintains high code quality standards through SonarQube quality gate.

🏠 Example project

A complete example is provided in the repository, showcasing Coginets with a home price prediction model. This example includes:

The dataset for training A Docker configuration for easy deployment

🌐 Live Preview

Check out the live preview on Render and try out inference.
Note: The live preview will cold-start as you enter the link, it could take up to 1min to fully load.

🚀 Getting Started

Access the API: After installing with the following methods, navigate to http://localhost:8080/docs or http://localhost:8080/redoc to explore the interactive API documentation and start making predictions!

🐳 Docker prebuilt

  1. Pull the Docker Image:
    docker pull ghcr.io/manuel-materazzo/coginets-example:latest
  2. Run the Container:
    docker run -d -p 8080:80 manuel-materazzo/coginets-example

🐳🔧 Docker compose self-build

  1. Run docker compose:
    docker-compose up

📦 Manual installation

  1. Clone Coginets repository:
    git clone https://github.com/Manuel-Materazzo/Coginets.git
    cd Coginets
  2. Install the required dependencies:
    pip install -r requirements.txt

📄 License

This project is licensed under the MIT License. See the LICENSE file for more details.

About

A Python framework for training, optimizing and deploying regression and classification models.

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors