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
python3 nonstandardcode.py
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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file housing_assignment2.1_5505-0.1.tar.gz.
File metadata
- Download URL: housing_assignment2.1_5505-0.1.tar.gz
- Upload date:
- Size: 5.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3a92d4f04e120485e945a5618ebebc30204ea15f3049d06a3973cad2c13676ec
|
|
| MD5 |
f6ac8170f60bb4eb84877b6b8d78e8cd
|
|
| BLAKE2b-256 |
2c5a7c1eaca2df1c2e8b105e7044021533cb8fe65ccca975a25fa42dc31e09e2
|
File details
Details for the file housing_assignment2.1_5505-0.1-py3-none-any.whl.
File metadata
- Download URL: housing_assignment2.1_5505-0.1-py3-none-any.whl
- Upload date:
- Size: 6.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
cd7ca1bc9eacebf3abc3e51079c66e066807d69ba6aea73a7eca8536d7c6139e
|
|
| MD5 |
1c49055167120303b4d17c1a0b60d120
|
|
| BLAKE2b-256 |
342762789c768114cf73b38286df23afe2dc5ea3ae1d262a29583dea5288ad67
|