Skip to the content.

MLOps with Airflow

A comprehensive MLOps project using Apache Airflow to automate the scraping, training, and visualization of weather forecast data.

Training an RNN model with TensorFlow code is located in the dags/utils/train_weather_data.py file.

flow

Project Flow

Note: Every logical step in the project is located in dags/tasks/** and dags/utils/**.

Getting Started

  1. Clone the repository:
    git clone https://github.com/thangbuiq/mlops-weather-forecast
    cd mlops-weather-forecast
    
  2. Start the whole stack with Docker Compose:

Note: The whole system will take up to 1.5 GB of memory and 7.0 GB of disk space.

docker compose up -d
  1. Alternatively, you can run:

Note: This will require build-essential to be installed.

make aup

Access the Airflow UI at http://localhost:8080. Access the MLflow UI at http://localhost:5000.

Note: You can use the docs/.env.example file to create a .env file (in root folder) with the necessary environment variables:

Contributing

Contributions are welcome! Please open an issue or submit a pull request.

License

This project is licensed under the MIT License - see the LICENSE file for details.

Contact

For any questions or suggestions, please contact [email protected].