How sammig6i/swishpredict works
Main Components
a. Orchestration Layer:
• Apache Airflow as the central orchestrator
• DAG workflow for NBA data pipeline
• Task dependencies and scheduling
b. Data Services:
• Data Ingestion Service (Web Scraping)
• Data Processing Service
• Feature Generation Service
• Each service runs in its own Docker container
c. Storage Systems:
• MinIO for object storage
• PostgreSQL for structured data storage
d. Machine Learning Component:
• XGBoost model for predictions
• Model artifacts storage
[Airflow Orchestrator]
• ↓
[Data Pipeline Services]
• ↓ ↓ ↓
[Ingestion] [Processing] [Feature Generation]
• ↓ ↓ ↓
[Storage Layer]
• ↓ ↓
[MinIO] [PostgreSQL]
• ┘
• ↓
[XGBoost Model]
• Data flow between components
• Service dependencies
• Pipeline execution order
Specific details
• Data sources (basketball-reference.com)
• File formats and data types
• Service configurations from config files
• Model performance metrics from model_metadata.yaml
Important architectural elements to highlight
• Modular service design with Docker
• Separation of concerns between services
• Data persistence strategy
• Pipeline scheduling and monitoring
• Model training and deployment flow