Spaces:
Sleeping
Sleeping
Update src/streamlit_app.py
Browse files- src/streamlit_app.py +22 -2
src/streamlit_app.py
CHANGED
|
@@ -15,8 +15,28 @@ def main():
|
|
| 15 |
st.title("βοΈ Multi-Criteria Decision Analysis (MCDA) Calculator")
|
| 16 |
st.markdown("Compare products and alternatives using weighted criteria analysis")
|
| 17 |
|
| 18 |
-
#
|
| 19 |
-
st.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 20 |
|
| 21 |
def manual_interface():
|
| 22 |
"""Handle manual data entry interface."""
|
|
|
|
| 15 |
st.title("βοΈ Multi-Criteria Decision Analysis (MCDA) Calculator")
|
| 16 |
st.markdown("Compare products and alternatives using weighted criteria analysis")
|
| 17 |
|
| 18 |
+
# Add info about the tool (removed Excel reference)
|
| 19 |
+
with st.expander("π About This Tool"):
|
| 20 |
+
st.write("""
|
| 21 |
+
**What is MCDA?**
|
| 22 |
+
Multi-Criteria Decision Analysis helps you make objective decisions when comparing
|
| 23 |
+
products, services, or alternatives across multiple criteria.
|
| 24 |
+
|
| 25 |
+
**How to use:**
|
| 26 |
+
1. Define your evaluation categories (Performance, Cost, Quality, etc.)
|
| 27 |
+
2. Add the products/options you want to compare
|
| 28 |
+
3. Adjust category weights based on importance
|
| 29 |
+
4. View rankings and detailed analysis
|
| 30 |
+
|
| 31 |
+
**Features:**
|
| 32 |
+
β’ Interactive data entry with real-time editing
|
| 33 |
+
β’ Multiple aggregation methods (Weighted Sum, Geometric Mean, Penalty System)
|
| 34 |
+
β’ Export results as CSV or JSON
|
| 35 |
+
β’ Professional visualizations and analysis
|
| 36 |
+
""")
|
| 37 |
+
|
| 38 |
+
# Go directly to manual interface
|
| 39 |
+
manual_interface()
|
| 40 |
|
| 41 |
def manual_interface():
|
| 42 |
"""Handle manual data entry interface."""
|