Downloads · 30 days
0
AbdullahAlmousa/hm-fashion-recommendation
hm-fashion-recommendation is a tabular classification model from AbdullahAlmousa. Use it for the tabular classification 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.
A LightGBM binary classification model converted to ONNX format for personalized fashion recommendations. Built for the H&M Personalized Fashion Recommendations Kaggle competition (MAP@12 metric).
Downloads · 30 days
0
Access
Public
Updated Jun 30, 2026
Repo size
1.4 MB
Likes
2
Public
Click a slice to open those files.
.txt2.1 MB · 60%
From the Hugging Face model README
A LightGBM binary classification model converted to ONNX format for personalized fashion recommendations. Built for the H&M Personalized Fashion Recommendations Kaggle competition (MAP@12 metric).
The model predicts whether a customer will purchase a specific article based on 30 engineered features derived from customer behavior, article properties, and transaction history.
[batch_size, 31]label: Predicted class (int64)probabilities: Class probability distributionThe model expects 31 features including:
import onnxruntime as ort
import numpy as np
# Load model
session = ort.InferenceSession("H&MRecommendationSystemModel.onnx")
# Prepare input (shape: [1, 31])
input_data = np.random.rand(1, 31).astype(np.float32)
# Run inference
inputs = {"input": input_data}
label, probabilities = session.run(None, inputs)
print(f"Predicted label: {label[0]}")
print(f"Probabilities: {probabilities}")
Apache License 2.0