Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -9,6 +9,8 @@ from sklearn.preprocessing import LabelEncoder
|
|
| 9 |
from sklearn.multioutput import MultiOutputClassifier
|
| 10 |
import config
|
| 11 |
from sklearn.metrics import accuracy_score
|
|
|
|
|
|
|
| 12 |
# --- Configuration ---
|
| 13 |
LABEL_COLUMNS = [
|
| 14 |
"Red_Flag_Reason", "Maker_Action", "Escalation_Level",
|
|
|
|
| 9 |
from sklearn.multioutput import MultiOutputClassifier
|
| 10 |
import config
|
| 11 |
from sklearn.metrics import accuracy_score
|
| 12 |
+
from sklearn.model_selection import train_test_split
|
| 13 |
+
from sklearn.linear_model import LogisticRegression
|
| 14 |
# --- Configuration ---
|
| 15 |
LABEL_COLUMNS = [
|
| 16 |
"Red_Flag_Reason", "Maker_Action", "Escalation_Level",
|