Skip to content

MLR Statistical Analysis and Prediction of Ames Real Estate Prices with Streamlit

Notifications You must be signed in to change notification settings

Manalelaidouni/MLR-Ames

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MLR Analysis and Prediction of Ames Real Estate Prices with Streamlit


This interactive app enables you to predict the price of your dream house in the real estate market of Ames, Iowa. Using the user-friendly sidebar prompts on the left, you can input various features and get an estimated house price based on multiple linear regression.



On the right-hand side, you'll find a blog-style write-up that provides a detailed explanation of the analysis and modeling workflow including running statistical multiple linear regression (MLR) analysis on the Ames dataset where we thoroughly examine MLR assumptions and conduct residuals analysis.

We also explore the geo location data of the houses, which were resourcefully assembled, to uncover further trends and patterns.



Furthermore, we explain the thought-out process of feature selection including the use of AIC (Akaike Information Criterion), BIC (Bayesian Information Criterion), adjusted R² and RMSE (Root Mean Squared Error) metrics, as well as advanced Machine Learning modeling with Stacking ensemble followed by model interpretation using SHAP.

You can access the deployed web app on Streamlit Community Cloud at this link 🌐.


For further details on the mentioned steps and more, as well as re-running conducted experiments, you can refer to the accompanying notebook which provides more information than the write-up in the Streamlit app. You can directly run the notebook in your browser by clicking on the Colab badge, or you can read it using the NBViewer badge:


Open In Colab nbviewer


Installation ⚒️

  1. Clone this repo

    git clone https://github.com/Manalelaidouni/MLR-Ames.git
    
  2. Change into the MLR-Ames directory

    cd MLR-Ames
    
  3. Create and activate a virtual environment, you can name it what you want, I called mine streamlit_env

    conda create --name streamlit_test_env python=3.7.9
    
    conda activate streamlit_test_env
    
    pip install -r  requirements.txt
    
  4. Activate Streamlit and run app.py

    streamlit run app.py
    
  5. Running the above command should result in you seeing the following:

    You can now view your Streamlit app in your browser.
    
    Local URL: http://localhost:8501
    Network URL: http://192.168.8.105:8501
    

Contact 🤝

Feel free to reach out if you have any questions or feedback!

About

MLR Statistical Analysis and Prediction of Ames Real Estate Prices with Streamlit

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published