Downloads · 30 days
0
yimingwang123/hybrid-grade-assessment-model
hybrid-grade-assessment-model is a machine learning model from yimingwang123. 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 scikit-learn. The card lists the license as mit.
A hybrid machine learning model for assessing text readability and grade level, combining Ridge regression and Random Forest algorithms for optimal accuracy across different grade ranges.
Downloads · 30 days
0
Access
Public
Updated Jul 28, 2025
Repo size
6.3 MB
Likes
0
Public
Click a slice to open those files.
.pkl6.3 MB · 100%
From the Hugging Face model README
A hybrid machine learning model for assessing text readability and grade level, combining Ridge regression and Random Forest algorithms for optimal accuracy across different grade ranges.
This hybrid model uses a two-stage prediction approach:
This approach leverages the strengths of both models:
The model uses 16 features including:
import joblib
from huggingface_hub import hf_hub_download
# Download the model
model_path = hf_hub_download(
repo_id="yimingwang123/hybrid-grade-assessment-model",
filename="hybrid_readability_model.pkl"
)
# Load the model
model_data = joblib.load(model_path)
# Extract components
ridge_model = model_data['ridge_model']
rf_model = model_data['rf_model']
scaler = model_data['scaler']
feature_columns = model_data['feature_columns']
# Make predictions (you'll need to implement the hybrid logic)
# See the training script for full implementation
The model was trained on a combination of:
def predict_hybrid(ridge_pred, rf_pred):
if ridge_pred <= 5.0:
return rf_pred # Use Random Forest for lower grades
else:
return ridge_pred # Use Ridge for higher grades
If you use this model in your research, please cite:
@misc{hybrid-readability-model,
title={Hybrid Readability Assessment Model},
author={Grade-Aware LLM Project},
year={2025},
url={https://huggingface.co/yimingwang123/hybrid-grade-assessment-model}
}
This model is released under the MIT License.
For questions about this model, please open an issue in the repository.