How riyak0583/mlops_prediction works
This repository is an incomplete coal-mine predictive-maintenance ML workflow. Its implemented path is: load the maintenance CSV, clean and split the data, encode and scale features, balance the training set, then return the prepared arrays to the entry point. Logging is an internal supporting layer. The model-building, evaluation, and prediction files are empty in the supplied excerpts, so they are not represented as working capabilities. The README provides no further product details; the dataset relationship is based on the filename referenced by ingestion.
Main entry points: logger.py Application logger · data_ingestion.py Data ingestion · data_preprocessing.py Data preprocessing · main.py Workflow entry
Components 7
Data workflow
- Workflow entry
main.py - Maintenance dataset
data/raw/preventative_maintainance_dataset.csv.dvc - Data ingestion
src/data_ingestion.py - Data preprocessing
src/data_preprocessing.py
Observability
- Application logger
src/logger.py
Other components
- Console output
- Rotating log file
logs
Connections 8
- Workflow entry → Data ingestion: calls
main.py - Data ingestion → Maintenance dataset: reads
src/data_ingestion.py - Workflow entry → Data preprocessing: passes data
main.py - Data preprocessing → Workflow entry: returns arrays
main.py - Data ingestion → Application logger: logs through
src/data_ingestion.py - Data preprocessing → Application logger: logs through
src/data_preprocessing.py - Application logger → Console output: writes
src/logger.py - Application logger → Rotating log file: writes
src/logger.py