Downloads · 30 days
0
esmat12/egyptian-real-estate-price-predictor
egyptian-real-estate-price-predictor is a machine learning model from esmat12. 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.
This is a RandomForestRegressor model trained to predict real estate prices in Egypt.
Downloads · 30 days
0
Access
Public
Updated May 17, 2026
Repo size
93.8 MB
Likes
0
Public
Click a slice to open those files.
.joblib93.8 MB · 100%
From the Hugging Face model README
This is a RandomForestRegressor model trained to predict real estate prices in Egypt.
size_sqm, bedrooms, bathrooms, down_payment, location, property type, payment method, and date-based features.from huggingface_hub import hf_hub_download
import joblib
import pandas as pd
# Download the model file
model_path = hf_hub_download(repo_id="esmat12/egyptian-real-estate-price-predictor", filename="random_forest_regressor_model.joblib")
# Load the model
loaded_model = joblib.load(model_path)
# Example prediction (make sure your input features match the training data format)
# X_test and X_train are available from your Colab session if you run this code in the same session
# For new data, you'd need to preprocess it exactly like your training data.
# For demonstration, let's use a sample from X_test
sample_input = pd.DataFrame(X_test.iloc[0:1]) # Ensure it's a DataFrame with correct columns
prediction = loaded_model.predict(sample_input)
print(f"Predicted price for sample: {prediction[0]:,.2f} EGP")