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 ># mle-training

Project details


Release history Release notifications | RSS feed

This version

0.1

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_5490-0.1.tar.gz (5.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

housing_library_5490-0.1-py3-none-any.whl (6.4 kB view details)

Uploaded Python 3

File details

Details for the file housing_library_5490-0.1.tar.gz.

File metadata

  • Download URL: housing_library_5490-0.1.tar.gz
  • Upload date:
  • Size: 5.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.4

File hashes

Hashes for housing_library_5490-0.1.tar.gz
Algorithm Hash digest
SHA256 550e9c38fd0317caa494fe973b62bbd3e6cbce2093205c6f0f0383e4a095eb66
MD5 626dce41b28d36abdf2ac242aeac2ed9
BLAKE2b-256 2f552779a83f52eff81a3798022158c387951181479528f1bef587874771bc67

See more details on using hashes here.

File details

Details for the file housing_library_5490-0.1-py3-none-any.whl.

File metadata

File hashes

Hashes for housing_library_5490-0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 8a1a339e99108b56483d8bd9d3b51618b635bc1e0087df38119bd246e73a0c2f
MD5 40cd439a14c44dec365adc199ae362a4
BLAKE2b-256 ec0799da76d283edbd41716521a36dad3ef7cbed1a7687f6ae5b1d24c82a4544

See more details on using hashes here.

Supported by

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