Cainiao-AI/LaDe-D
Viewer • Updated • 4.51M • 438 • 4
How to use muthuk1/fairrelay-fairness-classifier with Scikit-learn:
from huggingface_hub import hf_hub_download
import joblib
model = joblib.load(
hf_hub_download("muthuk1/fairrelay-fairness-classifier", "sklearn_model.joblib")
)
# only load pickle files from sources you trust
# read more about it here https://skops.readthedocs.io/en/stable/persistence.htmlPart of the FairRelay AI logistics platform.
Fairness Classification Model (ACCEPT vs REOPTIMIZE)
Version: v2 — Retrained with realistic, harder data to prevent overfitting and improve real-world robustness.
Type: XGBoost Pipeline (StandardScaler + XGBoost) Task: Classification
| Feature | Importance |
|---|---|
num_drivers |
0.0255 |
avg_effort |
0.0151 |
std_dev |
0.1706 |
max_gap |
0.5543 |
gini_index |
0.0585 |
min_effort |
0.0152 |
max_effort |
0.0209 |
outlier_count |
0.0605 |
pct_above_avg |
0.0138 |
effort_cv |
0.0334 |
skewness |
0.0145 |
kurtosis |
0.0176 |
from skops import io as sio
from huggingface_hub import hf_hub_download
import numpy as np
model_path = hf_hub_download(repo_id="muthuk1/fairrelay-fairness-classifier", filename="model.skops")
untrusted = sio.get_untrusted_types(file=model_path)
model = sio.load(model_path, trusted=untrusted)
prediction = model.predict(features)
FairRelay is an AI-powered logistics platform for fair load consolidation and dispatch. Built for LogisticsNow Hackathon 2026 — Challenge #5: AI Load Consolidation.
MIT