| title: AEGIS Economic Stability Analysis | |
| emoji: ๐ | |
| colorFrom: blue | |
| colorTo: green | |
| sdk: docker | |
| pinned: false | |
| license: mit | |
| # AEGIS Economic Stability Analysis | |
| This application provides economic stability predictions based on viral outbreak scenarios using advanced TabNet regression models. | |
| ## Features | |
| - **Virus Risk Assessment**: Analyzes economic impact based on virus characteristics | |
| - **Population Exposure Modeling**: Considers population density and exposure patterns | |
| - **Economic Buffer Analysis**: Incorporates IMF-WEO economic resilience indicators | |
| - **Real-time Predictions**: FastAPI-powered REST API for stability scoring | |
| ## API Endpoints | |
| ### POST /predict | |
| Predict economic stability score for a given scenario. | |
| **Request Body:** | |
| ```json | |
| { | |
| "virus_name": "COVID-19", | |
| "econ_buffer": 0.7, | |
| "population_exposure": 50000 | |
| } | |
| ``` | |
| **Response:** | |
| ```json | |
| { | |
| "virus": "COVID-19", | |
| "stability_score": 0.6234, | |
| "alert_level": "MONITOR" | |
| } | |
| ``` | |
| ### GET /health | |
| Check system status and hardware configuration. | |
| ## Usage | |
| The application runs on port 7860 and provides a REST API for economic stability analysis. | |
| Built with FastAPI, PyTorch, and TabNet for robust economic modeling. | |