Downloads · 30 days
0
YDluffy/lottery_prediction
lottery_prediction is a tabular classification model from YDluffy. Use it for the tabular classification task on the model card, and read the license before you ship it in a product. It is set up for xgboost. The card lists the license as apache-2.0.
Downloads · 30 days
0
Access
Public
Updated Mar 20, 2025
Repo size
1.5 MB
Likes
0
Public
Click a slice to open those files.
.json1.8 MB · 55%
From the Hugging Face model README
该模型使用 XGBoost 进行训练,用于预测 六合彩开奖号码。
你可以在 Python 中使用 Hugging Face API 下载和加载模型:
from huggingface_hub import hf_hub_download
import xgboost as xgb
# **📥 下载模型**
repo_id = "YDluffy/lottery_prediction"
model_filename = "lottery_xgboost_model.json"
model_path = hf_hub_download(repo_id=repo_id, filename=model_filename)
# **✅ 加载 XGBoost 预测模型**
model = xgb.Booster()
model.load_model(model_path)
print("✅ 模型加载成功!")