Danil-Zhuravlov / immo-eliza-deployment

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Immo-Eliza-Deployment πŸ πŸ’»

Welcome to the repository of Immo-Eliza-Deployment, a project that showcases the deployment of a real estate price prediction model!

Table of Contents πŸ“‘

About The Project πŸ“˜

πŸ‘‹ Hi, I'm a passionate data scientist from BeCode, an intensive data science bootcamp. This project is a part of my learning journey, where I focus on doing rather than just theorizing.

The Challenge πŸš€

The goal was to deploy a Random Forest Regression model, crafted with scikit-learn, into a working API using FastAPI and integrate it with a Streamlit web application. This allows both technical and non-technical users to interact with the model and get real estate price predictions.

The Outcome ✨

After 5 days of hard work, the result is a seamless connection between the frontend and backend, opening up API access to peers and providing a user-friendly web app for clients.

Note πŸ“

The model predictions are not perfect and should not be taken as professional appraisals.

Built With πŸ› οΈ

  • FastAPI
  • Streamlit
  • scikit-learn

Getting Started 🏁

To get a local copy up and running follow these simple steps.

Prerequisites πŸ”

  • Python 3.8+
  • pip

Installation πŸ’Ώ

  1. Clone the repo and go to the project directory

    git clone -b local-deployment --single-branch git@github.com:Danil-Zhuravlov/immo-eliza-deployment.git
    
    cd immo-eliza-deployment
  2. Create a virtual environment

    python -m venv venv
  3. Install the required packages

    pip install -r requirements.txt

Usage πŸš€

You can check out the deployed app here. The api documentation is available here.

If you want to run the app locally, follow these steps:

  1. Run the Streamlit app

    streamlit run streamlit/app.py
  2. Run the FastAPI app

    cd app
    uvicorn main:app --reload
  3. On the Streamlit app, input the property features and get the price prediction!

  4. On the FastAPI app, you can access the API documentation HERE

Contributing 🀝

Contributions are what make the open-source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.

License πŸ“œ

Distributed under the MIT License. See License for more information.

Contact πŸ“§

Danil Zhuravlov - LinkedIn

Acknowledgements πŸŽ‰

About

License:MIT License


Languages

Language:Python 86.8%Language:Dockerfile 13.2%