Downloads · 30 days
0
ArchitRastogi/CultureScope-XGBoost
CultureScope-XGBoost is a machine learning model from ArchitRastogi. Use it for the machine learning task on the model card, and read the license before you ship it in a product. The card lists the license as apache-2.0.
The goal is to classify Wikipedia/Wikidata entities according to their cultural specificity. Each item belongs to one of three classes:
Downloads · 30 days
0
Access
Public
Updated Dec 10, 2025
Repo size
3.7 MB
Likes
0
Public
Click a slice to open those files.
.pkl3.7 MB · 100%
From the Hugging Face model README
The goal is to classify Wikipedia/Wikidata entities according to their cultural specificity. Each item belongs to one of three classes:
The dataset used for training and evaluation is the following: Cultural Dataset
Key dataset facts:
Project-specific split strategy:
The provided training set was split into:
train_classifier.pyThe official validation set (gold labels) was used as the final evaluation set, treated as test data
This ensures no leakage from gold labels during model development.
This classifier does not use any large language models. Culturality is inferred through structured statistics from Wikipedia and Wikidata.
Feature engineering pipeline:
Wikipedia statistics:
Wikidata claims analysis:
Composite and interaction features:
Feature extraction and preprocessing code:
extract_features.py, engineer_features() in train_classifier.py
Classifier and training:
tune_hyperparameters.pyThe model artifact (best_model.pkl) includes:
All metrics evaluated on the gold validation set:
| Model Variant | F1 |
|---|---|
| Text-only baseline | 0.50 |
| Default XGBoost | 0.68 |
| Tuned XGBoost (final model) | 0.71 |
Class-wise summary (high level):