Downloads · 30 days
0
DishaMondal2024/time_slot
time_slot is a machine learning model from DishaMondal2024. Use it for the machine learning 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.
This model predicts the preferred rescheduled delivery time slot based on historical data. It was trained using a RandomForestClassifier from scikit-learn.
Downloads · 30 days
0
Access
Public
Updated Aug 23, 2024
Repo size
103 KB
Likes
0
Public
Click a slice to open those files.
.joblib103 KB · 97%
From the Hugging Face model README
This model predicts the preferred rescheduled delivery time slot based on historical data. It was trained using a RandomForestClassifier from scikit-learn.
RandomForestClassifierTo use this model, send a POST request with the user preference to the following endpoint:
import requests
api_url = "https://api-inference.huggingface.co/models/your-username/your-model-name"
data = {
"inputs": {
"user_pref": "noon" # Example input
}
}
headers = {
"Authorization": "Bearer YOUR_HUGGINGFACE_API_TOKEN" # Only if the model is private
}
response = requests.post(api_url, json=data, headers=headers)
print(response.json())