How lolagj/tfm-sistema-riego-agricola works
Project type and purpose
• This is a full-stack Machine Learning prototype for agricultural irrigation decision support in Andalusia.
• It trains an XGBoost model on agro-climatic data (RIA), versions data/models with DVC, tracks experiments in MLflow, and serves predictions via a Streamlit web UI.
File structure
• Top level:
• app.py – Streamlit entry point (frontend).
• src/transform_input.py – input-processing module (backend logic).
• data/ – DVC-managed folders (raw, processed, final).
• notebooks/ – exploratory, preprocessing, modeling notebooks and saved artifacts (.joblib).
• .devcontainer/ – dev environment settings.
• requirements.txt
• DVC config under .dvc outlines remote storage and data versions.
• MLflow isn’t in file tree but is mentioned in README—assume an MLflow tracking server.
README for additional insights
• Data source: RIA API (external service).
• Workflow: data collection → cleaning & feature engineering → model training (XGBoost) → model packaging → Streamlit app.
• Technologies: Python, Pandas, scikit-learn, XGBoost, DVC, MLflow, Streamlit.
Detail without over-complexity
• Folders (raw, processed, final) as distinct stages in the pipeline.
• Both notebooks (R&D) and production code (src) to demonstrate transition from exploration to deployment.
• DVC and MLflow as first-class architectural blocks, not footnotes.