| """ | |
| Classifier configuration. | |
| """ | |
| # Negative class label | |
| BENIGN_CLASS = "benign" | |
| # Fine-grained classes (used for label encoding when --binary is off) | |
| CLASSES = [ | |
| "climate_denial", | |
| "health_misinfo", | |
| "pseudoscience", | |
| "hate_extremism", | |
| "conspiracy_propaganda", | |
| BENIGN_CLASS, | |
| ] | |
| # Binary classes | |
| MISINFO_CLASS = "misinfo" | |
| BINARY_CLASSES = [MISINFO_CLASS, BENIGN_CLASS] | |
| # Train/val/test split ratios | |
| TRAIN_RATIO = 0.80 | |
| VAL_RATIO = 0.10 | |
| TEST_RATIO = 0.10 | |
| # Random seed | |
| SEED = 42 | |