Skip to main content

Sample code for coding practice

Project description

mle-training

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 nonStandardCode.py

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

Uploaded Source

Built Distribution

housing_library_5510-0.1-py3-none-any.whl (8.6 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for housing_library_5510-0.1.tar.gz
Algorithm Hash digest
SHA256 7bcfa1be9801d550650ac83dc585b9dc395b0e238cc5e8cff18391067f0fced4
MD5 0155a3ecd906780f4fa14b3f4745a7d8
BLAKE2b-256 e86d2a0209631871cbe197d7042bbfe5f827605bf532ed6cd36c312832f560c3

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for housing_library_5510-0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 c6d542405cadd6d9d1c1ab39264884a161c6716e44869d7b9f72b89fc371df9d
MD5 1827610601928e2f9717d1c02737ecf3
BLAKE2b-256 04a10d2058efc74ec2c9f120f3344f227852fb77d96aa6fcc2b824834d8bb5aa

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