This project implements a Multi-Modal, Multi-Output Deep Learning Model designed to predict the success probability and impact score of government or organizational policies. By leveraging both the policy's written text and relevant socio-economic data, the model provides a comprehensive prediction.
The system also includes a Flask-based Web Application for user interaction, allowing policymakers and researchers to test policy inputs and receive real-time predictions through a simple interface.
Converts policy text into a 768-dim embedding → reduced to 128-dim.
Numeric Feature Processing
Output: 32-dim numeric embedding.
Fusion Layer
Produces a shared 64-dim representation.
Outputs
Impact Score → Linear(64→1) (-1.0–+1.0)
Explainability
| Feature | Description | Range | Example |
|---|---|---|---|
| Policy Text | The written policy statement | Any text | "Increase renewable energy subsidies" |
| Population | Country population | 1k – 1.4B | 170,000,000 (Bangladesh) |
| GDP per capita (USD) | Average income per person | 500 – 80,000 | 4,000 (middle income) |
| Education Index | Education level index | 0.2 – 0.95 | 0.85 (high) |
| Past Policy Success Rate | Fraction of past policies successful | 0.0 – 1.0 | 0.75 |
| Past Impact Score | Average effect of past policies | -1.0 – +1.0 | +0.7 |
| AvgSentiment | Public/media sentiment towards the policy | -1.0 – +1.0 | +0.8 |
The project includes a Flask web app for real-time predictions.
The interface allows users to input data and visualize model outputs.
📷 Place your Flask app screenshot at:

├── data/ # Input datasets
├── models/ # Model architecture & training scripts
├── notebooks/ # Jupyter notebooks for experiments
├── utils/ # Preprocessing & helper functions
├── static/images/ # Web app static assets (UI screenshot here)
├── app.py # Flask app entry point
├── templates/ # HTML templates for Flask
├── Report.docx # Project documentation
└── README.md # Project overview
Input Example (JSON):
{
"policy_text": "Increase renewable energy subsidies to reduce carbon emissions.",
"population": 170000000,
"gdp_per_capita": 4000,
"education_index": 0.65,
"past_success_rate": 0.45,
"past_impact_score": 0.3,
"avg_sentiment": 0.7
}
Output Example (JSON):
{
"success_probability": 0.78,
"impact_score": 0.52
}
$ claude mcp add Policy_Outcome_Predictor \
-- python -m otcore.mcp_server <graph>