Update phase/sentiment_modeling.py
Browse files
phase/sentiment_modeling.py
CHANGED
|
@@ -129,6 +129,7 @@ def compute_sentiment_metrics(processed_df, feedback_volume, multiplier_cap=0.7)
|
|
| 129 |
spa_meta = {
|
| 130 |
"Value": final_spa,
|
| 131 |
"Description": f"SPA indicates that {'positive' if spa>0 else 'negative' if spa<0 else 'balanced'} sentiment dominates."
|
|
|
|
| 132 |
|
| 133 |
sentiment_dict = {
|
| 134 |
"Raw Sentiment Ratios": raw_sentiment_ratios,
|
|
|
|
| 129 |
spa_meta = {
|
| 130 |
"Value": final_spa,
|
| 131 |
"Description": f"SPA indicates that {'positive' if spa>0 else 'negative' if spa<0 else 'balanced'} sentiment dominates."
|
| 132 |
+
}
|
| 133 |
|
| 134 |
sentiment_dict = {
|
| 135 |
"Raw Sentiment Ratios": raw_sentiment_ratios,
|