Downloads · 30 days
0
EricCRX/grape-firmness-automl
grape-firmness-automl is a machine learning model from EricCRX. 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.
- Model type: RandomForest Regressor (selected by AutoML search) - Framework: scikit-learn - Preprocessing: Custom feature engineering and scaling (preprocess.joblib) - Files: - model.joblib — trained RandomForest mod…
Downloads · 30 days
0
Access
Public
Updated Sep 21, 2025
Repo size
700 KB
Likes
0
Public
Click a slice to open those files.
.joblib700 KB · 99%
From the Hugging Face model README
preprocess.joblib)model.joblib — trained RandomForest modelpreprocess.joblib — preprocessing pipeline (feature transforms)Regression: Predict grape firmness (continuous value) from structured features.
This task is designed to explore Classical AutoML approaches for tabular datasets.
firmness (numerical label)RandomForestRegressor — tuned n_estimators, max_depthSVR — tuned C, kernelOn the held-out test set:
The RandomForest Regressor achieved the best performance.
pip install scikit-learn joblib
import joblib
import numpy as np
# Load preprocess and model
preprocess = joblib.load("preprocess.joblib")
model = joblib.load("model.joblib")
# Example input: replace with real sample (shape must match training features)
X_new = np.array([[5.1, 3.5, 1.4, 0.2]]) # dummy
X_new_p = preprocess.transform(X_new)
# Predict firmness
y_pred = model.predict(X_new_p)
print("Predicted firmness:", y_pred)
## Dependencies
numpy==1.26.4
scikit-learn==1.4.2
pandas==2.2.2
joblib
@dataset{rlogh_grape_firmness_2024,
title={Grape Firmness Dataset},
author={rlogh},
year={2024},
url={https://huggingface.co/datasets/rlogh/grape-firmness-dataset}
}