Sample code for coding practice
Project description
Median housing value prediction
The housing data can be downloaded from https://raw.githubusercontent.com/ageron/handson-ml/master/. The script has codes to download the data. We have modelled the median house value on given housing data.
The following techniques have been used:
- Linear regression
- Decision Tree
- Random Forest
Steps performed
- We prepare and clean the data. We check and impute for missing values.
- Features are generated and the variables are checked for correlation.
- Multiple sampling techinuqies are evaluated. The data set is split into train and test.
- All the above said modelling techniques are tried and evaluated. The final metric used to evaluate is mean squared error.
To excute the script
python < scriptname.py >
README File
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file housing_library_5514-0.1.tar.gz
.
File metadata
- Download URL: housing_library_5514-0.1.tar.gz
- Upload date:
- Size: 6.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 833d45e5085eda9b4a24ce0262a8d40d915a11ece3c79e2d349357a2232a8b8a |
|
MD5 | a076aea86d32291da63e3f5a2524f39e |
|
BLAKE2b-256 | 3c9a1b2b8c58907c9974e7b1c0f72112d4d82e85512715bc2231b8524321e6c7 |
File details
Details for the file housing_library_5514-0.1-py3-none-any.whl
.
File metadata
- Download URL: housing_library_5514-0.1-py3-none-any.whl
- Upload date:
- Size: 8.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2e2344555e18cc2d669bfa484ed110423df583686e55e374ad1942d2bea57b53 |
|
MD5 | 5505a0a77a0f31d53a6b4e8625482948 |
|
BLAKE2b-256 | 890ea58d9a0c8a48b0c66882c560623a10d9da1cee67d10f22bff3513cabe685 |