Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/poltanek/house-value-estimator
I will be using the House Sales in King County, USA dataset. I will try to train a model to predict the price of a house given information about it, like the number of rooms.
https://github.com/poltanek/house-value-estimator
Last synced: 4 days ago
JSON representation
I will be using the House Sales in King County, USA dataset. I will try to train a model to predict the price of a house given information about it, like the number of rooms.
- Host: GitHub
- URL: https://github.com/poltanek/house-value-estimator
- Owner: Poltanek
- License: mit
- Created: 2024-11-25T15:12:04.000Z (about 1 month ago)
- Default Branch: main
- Last Pushed: 2024-11-30T17:28:58.000Z (about 1 month ago)
- Last Synced: 2024-11-30T18:29:21.845Z (about 1 month ago)
- Language: Jupyter Notebook
- Size: 28.3 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# House Sales Prediction and Classification
# House-Value-Estimator
I will be using the House Sales in King County, USA dataset. I will try to train a model to predict the price of a house given information about it, like the number of rooms.## Dataset
Source: https://www.kaggle.com/datasets/harlfoxem/housesalesprediction/data
Contains house sale prices and related attributes, such as bedrooms, bathrooms, square footage, etc.# ML Workflow
## Data Loading
- Used ```pandas``` to load dataset (```kc_house_data.csv```)
- Verified data integrity by displaying a few rows## Feature Selection
Target: ```price```
Selected Features include: ```Bedrooms```, ```Bathrooms```, ```sqft_living```, ```sqft_lot```, ```floors```, ```grade``` and etcData Splitting
- Split the data into training 75% and test 25% sets using ```train_test_split```.Linear Regression
- Model Linear Regression ```sklearn```
Evluation Metrics:
- Mean Squared Error (MSE): ~48.56B
- R^2 Score: ~0.65