Sample code for coding practice
Project description
#This Submission consists of soulutions for Tamlep-Assignment-2.1
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
Steps to reproduce:
unzip dist/housing_library_5500-0.1-py3-none-any.whl -d wheel_contents
cd wheel_contents
python3 house_price_prediction/score.py
To activate the environment
conda activate <environment-name>
To export the environment
conda env export > environment.yml
To import the environment
conda env create -f environment.yml
LICENSE
This project is licensed under the MIT license - see the (LICENSE) file for details
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
Close
Hashes for housing_library_5500-0.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 33899687e9c944975786b189d89ff53fdc8a552200487503aee30b075af0a0da |
|
MD5 | 920bf01f6ef700b81af7e24ebfd8cb6b |
|
BLAKE2b-256 | f55be99e2f1eb172ae50c71075eb3a063bac5bb1bc066651bfb30fe4e9106f47 |