Start with an interpretable baseline
Established a TF-IDF and logistic-regression baseline before comparing stronger statistical and neural approaches.
Finding an effective text-classification pipeline for imbalanced food-recall data.
SemEval-2025 Task 9 requires predicting a hazard category and a product category from recall reports. The repository reports a final Subtask 1 score of 0.78003.
View repository ↗The final pipeline combines text features, title boosting and country information for classification.
Established a TF-IDF and logistic-regression baseline before comparing stronger statistical and neural approaches.
Combined word and character n-grams with title boosting. Country one-hot features were added to the product-category pipeline.
The tested LinearSVC pipelines outperformed the tested DistilBERT approach in this project. The reported scores progressed from 0.68695 for the baseline to 0.78003 for the final submission.
The final approach uses transductive TF-IDF: its vocabulary is fitted using training, validation and unlabeled test text. The reported competition score is specific to that evaluation setup.