Skip to content

PanDAWMS/pandaml

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

71 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PANDA ML Package

=====================

Overview


The PANDA ML package is designed to facilitate the integration of machine learning models with the PANDA (Production and Distributed Analysis) system. This package provides tools for data preprocessing, model training, prediction, and error handling, making it easier to deploy and manage ML models in a production environment.

Structure


The package is organized into the following submodules:

  • data: Contains classes for fetching data and modules for handling historical and live data, with support for categorical encoding and data splitting.
    • data_manager.py: Base data preprocessors and specific data processors.
    • fetch_db_data.py: Database fetcher for retrieving task parameters.
  • model: Includes classes for classes for managing model pipelines, including training and prediction pipelines.
    • base_model.py: Model classes for different algorithms.
    • model_pipeline.py: Model pipelines for training and prediction.
  • utils: Utility functions for logging, plotting, and prediction handling.
    • logger.py: Custom logging setup.
    • plotting.py: Plotting utilities for metrics.
    • prediction_utils.py: Provides a set of utilities for fetching tasks, processing predictions, and handling errors.
    • validator.py: Various data validation modules.
  • live_prediction.py: Script for running live predictions.

Installation


To install the package, ensure you have Python 3.12 or later installed. Then, follow these steps:

  1. Clone the repository:
git clone git@github.com:PanDAWMS/pandaml.git
  1. Navigate into the project directory
cd pandaml/src
  1. Create a virtual environment (recommended):
python -m venv venv
  • Activate it on Linux/Mac:
    source venv/bin/activate
    
  1. Install dependencies:
pip install -r requirements.txt
  1. Execution:
python -m scout_ml_package.live_prediction

Authors


About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors