Downloads · 30 days
0
rlogh/cheese-texture-autogluon-classifier
cheese-texture-autogluon-classifier is a machine learning model from rlogh. Use it for the machine learning task on the model card, and read the license before you ship it in a product. The card lists the license as mit.
This is an AutoGluon-trained machine learning model for predicting cheese texture based on nutritional and origin features. The model was trained using automated machine learning techniques to find the best performing…
Downloads · 30 days
0
Access
Public
Updated Sep 22, 2025
Repo size
111 MB
Likes
0
Public
Click a slice to open those files.
.zip110 MB · 99%
From the Hugging Face model README
This is an AutoGluon-trained machine learning model for predicting cheese texture based on nutritional and origin features. The model was trained using automated machine learning techniques to find the best performing algorithm and hyperparameters for this classification task.
Model Creator: Rumi Loghmani
Model Repository: rlogh/cheese-texture-autogluon-classifier
import cloudpickle
import huggingface_hub
import pandas as pd
# Download and load the model
model_path = huggingface_hub.hf_hub_download(
repo_id="rlogh/cheese-texture-autogluon-classifier",
filename="cheese_texture_predictor.pkl"
)
with open(model_path, "rb") as f:
predictor = cloudpickle.load(f)
# Prepare your data (example)
new_cheese_data = pd.DataFrame({
'fat': [25.0],
'origin': ['Italy'],
'holed': [0],
'price': [3.50],
'protein': [22.0]
})
# Make predictions
predictions = predictor.predict(new_cheese_data)
print(f"Predicted texture: {predictions[0]}")
import huggingface_hub
import zipfile
import shutil
import autogluon.tabular
import pandas as pd
# Download and extract the model
zip_path = huggingface_hub.hf_hub_download(
repo_id="rlogh/cheese-texture-autogluon-classifier",
filename="cheese_texture_predictor_dir.zip"
)
# Extract to a directory
extract_dir = "extracted_predictor"
with zipfile.ZipFile(zip_path, 'r') as zip_ref:
zip_ref.extractall(extract_dir)
# Load the native predictor
predictor = autogluon.tabular.TabularPredictor.load(extract_dir)
# Make predictions
predictions = predictor.predict(new_cheese_data)
The model considers the following features in order of importance:
This code was developed with the assistance of an AI co-pilot. The AI helped with various tasks, including:
The AI acted as a collaborative partner throughout the development process, accelerating the coding workflow and providing helpful guidance.
If you use this model, please cite the original dataset:
@dataset{aslan-ng/cheese-tabular,
title={Cheese Tabular Dataset},
author={Aslan Noorghasemi},
year={2024},
url={https://huggingface.co/datasets/aslan-ng/cheese-tabular},
publisher={Hugging Face},
doi={10.57967/hf/1234}
}
Original Dataset: aslan-ng/cheese-tabular
Dataset Creator: Aslan Noorghasemi (@aslan-ng)
Model Creator: Rumi Loghmani
Model Questions: Please refer to the model repository or contact the model creator.
Dataset Questions: For questions about the original dataset, please contact Aslan Noorghasemi or refer to the original dataset documentation.