https://github.com/git0103/house_price_prediction
A machine Learning project on House Price Prediction. Using Python and React.js-vite framework for frontend.
https://github.com/git0103/house_price_prediction
house-price-prediction machine-learning python reactjs vite
Last synced: 5 months ago
JSON representation
A machine Learning project on House Price Prediction. Using Python and React.js-vite framework for frontend.
- Host: GitHub
- URL: https://github.com/git0103/house_price_prediction
- Owner: Git0103
- Created: 2025-04-28T22:23:22.000Z (5 months ago)
- Default Branch: main
- Last Pushed: 2025-04-28T22:53:12.000Z (5 months ago)
- Last Synced: 2025-04-30T05:04:34.992Z (5 months ago)
- Topics: house-price-prediction, machine-learning, python, reactjs, vite
- Language: JavaScript
- Homepage:
- Size: 46.9 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# House Price Prediction
A machine learning project that predicts house prices based on various features using Python (FastAPI) for the backend and React (Vite) for the frontend.
## Setup Instructions
### Backend Setup
1. Create a virtual environment (recommended):
```bash
python -m venv venv
venv\Scripts\activate
```2. Install Python dependencies:
```bash
pip install -r requirements.txt
```3. Run the backend server:
```bash
cd backend
uvicorn main:app --reload
```The backend will be available at `http://localhost:8000`
### Frontend Setup
1. Install Node.js dependencies:
```bash
cd frontend
npm install
```2. Run the development server:
```bash
npm run dev
```The frontend will be available at `http://localhost:5173`
## Features
- Input form for house features (area, bedrooms, bathrooms)
- Real-time price prediction
- Modern UI with Material-UI components
- RESTful API backend
- Machine learning model using Random Forest Regressor## API Endpoints
- `GET /`: Welcome message
- `POST /predict`: Predict house price based on input features