Downloads · 30 days
0
muthuk1/fairrelay-delivery-time
fairrelay-delivery-time is a tabular regression model from muthuk1. Use it for the tabular regression task on the model card, and read the license before you ship it in a product. It is set up for sklearn. The card lists the license as mit.
Part of the FairRelay AI logistics platform.
Downloads · 30 days
0
Access
Public
Updated Apr 24, 2026
Repo size
4.7 MB
Likes
0
Public
Click a slice to open those files.
.skops3.3 MB · 100%
From the Hugging Face model README
Part of the FairRelay AI logistics platform.
Predicts total delivery time (in minutes) for a courier's daily route based on package count, stops, distance, and temporal features. Trained on real last-mile delivery data from Cainiao-AI/LaDe-D (KDD 2023, Shanghai + Hangzhou, ~70K courier-days) combined with physics-informed synthetic data calibrated to FairRelay's estimate_route_time() formula.
Type: XGBRegressor Pipeline (StandardScaler + XGBoost) Task: Regression (delivery time in minutes)
| Feature | Importance |
|---|---|
num_packages | 0.1579 |
num_stops | 0.2307 |
total_distance_km | 0.1216 |
avg_distance_km | 0.0709 |
spatial_spread_km | 0.1569 |
start_hour | 0.0713 |
active_hours | 0.0852 |
packages_per_stop | 0.1055 |
from skops import io as sio
from huggingface_hub import hf_hub_download
import numpy as np
# Download and load
model_path = hf_hub_download(repo_id="muthuk1/fairrelay-delivery-time", filename="model.skops")
untrusted = sio.get_untrusted_types(file=model_path)
model = sio.load(model_path, trusted=untrusted)
# Predict: [num_packages, num_stops, total_distance_km, avg_distance_km,
# spatial_spread_km, start_hour, active_hours, packages_per_stop]
features = np.array([[25, 15, 12.5, 0.83, 5.2, 9, 6, 1.67]])
predicted_minutes = model.predict(features)
print(f"Estimated delivery time: {predicted_minutes[0]:.0f} minutes")
estimate_route_time() formulaFairRelay is an AI-powered logistics platform for fair load consolidation and dispatch:
Built for LogisticsNow Hackathon 2026 — Challenge #5: AI Load Consolidation
MIT