Skip to main content

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:

  1. unzip dist/housing_library_5500-0.1-py3-none-any.whl -d wheel_contents
  2. cd wheel_contents
  3. 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

This version

0.2

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

housing_library_5500-0.2.tar.gz (6.8 kB view hashes)

Uploaded Source

Built Distribution

housing_library_5500-0.2-py3-none-any.whl (8.0 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page