Skip to main content

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


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_5514-0.2.tar.gz (6.1 kB view details)

Uploaded Source

Built Distribution

housing_library_5514-0.2-py3-none-any.whl (8.4 kB view details)

Uploaded Python 3

File details

Details for the file housing_library_5514-0.2.tar.gz.

File metadata

  • Download URL: housing_library_5514-0.2.tar.gz
  • Upload date:
  • Size: 6.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.5

File hashes

Hashes for housing_library_5514-0.2.tar.gz
Algorithm Hash digest
SHA256 6e47ba1504176d1ca50b0927d9ad58d32935f6bc36ff2fc013707084168a81eb
MD5 619e7059fe02ea9685ffd11960f04ba1
BLAKE2b-256 7f492532798985d982aaf92c9415ab0e64effe205d672738c93d50fb7b11defe

See more details on using hashes here.

File details

Details for the file housing_library_5514-0.2-py3-none-any.whl.

File metadata

File hashes

Hashes for housing_library_5514-0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 e2632cc919567e8caf3daf7457dfbfc3247f49fb866bd976c31b0168bea0f98f
MD5 b1a4ef8d49cf53bebdb8e3404a3da2df
BLAKE2b-256 ef701efcb377721463f44f0c0cf8e1bc3866923144bba53c13b184cba1d696ba

See more details on using hashes here.

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