Simple website powered by a powerful model developed using SciKit-Learn Package. The website takes in basic information(parameters) like the size of the house in square feet, number of rooms and the location of the house in bangalore to predict the price of the house. Checkout the deployed application here
- SciKit-Learn [Model Development Framework]
- Flask [Framework for Website Backend]
- Numpy [Model Calculations]
- Pickle [Model Dumping and Loading]
- Flake8 [Linting]
- Clone the repository using
git clone https://github.com/Namratha2301/BangaloreHousePricePredictor.git
- Navigate to the cloned repository using
cd BangaloreHousePricePredictor
- Setup Python Virtual Environment using either
python -m venv env
or<path-to-pythonexe -m venv env
- Once
env
folder is created runenv\Scripts\Python.exe -m pip install --upgrade pip
to update pip version to latest - Now
cd server
and install the dependencies usingpip install -r requirements.txt
- After the dependencies have been installed run the server using
python server.py
The website will be visible at http://127.0.0.1:5000
.
- Clone the repository using
git clone https://github.com/Namratha2301/BangaloreHousePricePredictor.git
- Navigate to the cloned repository using
cd BangaloreHousePricePredictor
- Run
docker-compose up
to launch the container and view the site athttp://127.0.0.1:5000
- Inorder to relaunch the container in case of any edits to the programs run the comamnd
docker-compose up --build
Server/
- Contains the necessary python files for powering the website and loading and using the SciKit Learn model for predictionserver.py
- Main file housing the main Flask object and other endpoints required by the websiteutils.py
- Helper functions to load the pickled sklearn model and make it ready to be used for website dataartifacts/
- Folder containing the pickled modeltox.ini
- Configuration file for Flake8, run flake8 using the commandflake8 <dir>
startup.sh
- Custom StartUp Command for Azure App Service