How sahilkavathekar7070-cyber/mlops_predictivemaintainance works
This repository presents a stage-based ML template: users run pipeline stages through a CLI, producing data and models for evaluation and prediction; the README also describes a REST API and web console. The graph follows those documented capabilities, while distinguishing the nested mlops/ predictive-maintenance code. Several root source excerpts are empty, and the documented src/api.py is absent from the tree, so implementation-level links for serving are limited to paths that exist; edges cite only the README or shown calls.
Main entry points: main.py Pipeline CLI · data_ingestion.py Data ingestion · data_preprocessing.py Preprocessing · model_building.py Model training
Components 26
ML workflow
- Pipeline CLI
main.py - Configuration
config.yaml - Data ingestion
src/data_ingestion.py - Raw data
data/raw - Preprocessing
src/data_preprocessing.py - Interim data
data/interim - Processed data
data/processed - Model training
src/model_building.py - Model registry
models - Model evaluation
src/model_evaluation.py - Evaluation reports
reports - Prediction
src/model_prediction.py - Logging utilities
src/utils.py
Serving interface
- Web console
frontend/index.html - REST API
mlops/app/main.py
Nested MLOps app
- App service
mlops/app/service.py - API schemas
mlops/app/schemas.py - Nested pipeline entry
mlops/main.py - Maintenance ingestion
mlops/src/data_ingestion.py - Maintenance preprocessing
mlops/src/data_preprocessing.py - Maintenance training
mlops/src/model_builder.py - Maintenance evaluation
mlops/src/model_evaluator.py - Maintenance prediction
mlops/src/model_predictor.py - Nested logging
mlops/src/logger.py
Other components
- CLI user
- Browser user
Connections 24
- CLI user → Pipeline CLI: runs stages
README.md - Pipeline CLI → Data ingestion: dispatches stages
README.md - Pipeline CLI → Preprocessing: dispatches stages
README.md - Pipeline CLI → Model training: dispatches stages
README.md - Pipeline CLI → Model evaluation: dispatches stages
README.md - Pipeline CLI → Prediction: dispatches stages
README.md - Configuration → Data ingestion: configures
README.md - Configuration → Preprocessing: configures
README.md - Configuration → Model training: configures
README.md - Raw data → Data ingestion: reads
README.md - Data ingestion → Interim data: writes
README.md - Interim data → Preprocessing: reads
README.md - Preprocessing → Processed data: writes
README.md - Processed data → Model training: reads
README.md - Model training → Model registry: saves model
README.md - Processed data → Model evaluation: reads
README.md - Model registry → Model evaluation: loads model
README.md - Model evaluation → Evaluation reports: writes metrics
README.md - Model registry → Prediction: loads model
README.md - Browser user → Web console: uses
README.md - Web console → REST API: HTTP requests
README.md - Nested pipeline entry → Maintenance ingestion: calls
mlops/main.py - Nested pipeline entry → Nested logging: imports
mlops/main.py - Maintenance ingestion → Nested logging: logs through
mlops/src/data_ingestion.py