CoolFace
Apppublic

ArbenArben/zurich-apartment-price-predictor

sourceHugging Facemitupdated 7mo agoView on Hugging Face
0likes
App README

๐Ÿ  Zurich Apartment Price Predictor

This web application predicts the estimated monthly rent of an apartment in Zurich using a machine learning model.

Demo

Try the live application directly on this page.

Features

  • โ€”Predict apartment rent in Zurich
  • โ€”Interactive web interface
  • โ€”Machine learning model trained with apartment and demographic data

Input variables

The model uses the following inputs:

  • โ€”Number of rooms
  • โ€”Apartment size (area)
  • โ€”Population
  • โ€”Population density
  • โ€”Foreign population percentage
  • โ€”Employment
  • โ€”Tax income
  • โ€”Apartment characteristics (luxurious, temporary, furnished)
  • โ€”Area category

Technology stack

  • โ€”Python
  • โ€”Scikit-learn
  • โ€”Pandas
  • โ€”Gradio
  • โ€”Hugging Face Spaces

Model

The prediction model is a Random Forest Regressor trained to estimate apartment rent prices based on apartment features and regional statistics.

Author

Arben

Iterative Modeling Process

IterationObjectiveChangesModels UsedHyperparametersCV Metric
1Build baseline modelData cleaning, removed duplicates, removed price outliersRandomForestRegressorDefault parametersMean CV RMSE โ‰ˆ -703
2Improve model performanceAdded new features: roomperm2, luxurious, temporary, furnished, areacatecodedRandomForestRegressorn_estimators = 1000Mean CV RMSE โ‰ˆ -685