Skip to main content

A median house price prediction project to demonstrate packaging.

Project description

Introduction

A median house price prediction (mhpp) project is dealt to demonstrate packaging. This package helps to fetch, preprocess and split the data set into train and test and also train models using Linear Regression, Decision Tree and Random Forest algorithms and also evaluate them using MSE (Mean Squarred Error), RMSE (Root mean square error) and MAS (Mean Absolute Error).

Installation

Create a virtual environment using conda before installation.

  conda env create -f deploy/conda/env.yaml

Using pip

  pip install mhpp

From source

  1. Clone the repo using git clone command. Note: Requires colab access as of now.
    git clone git@github.com:varun-mle/mle-training.git
  1. Execute the below command.
    pip install . 

Usage

  1. For fetching data fetch-data command is used. Below command helps to know its usage
        fetch-data -h
    
  2. For preprocessing and splitting the data into train & test datasets train-test-data is used. Below command helps to know its usage.
        train-test-data -h 
    
  3. For training the model train command is used. Below command helps to know its usage
        train -h 
    
  4. For evaluating the model evaluate command is used. Below command helps to know its usage
        evaluate -h
    

Refer docs folder for the detailed documentation.

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

mhpp-0.3.0.tar.gz (10.0 kB view details)

Uploaded Source

Built Distribution

mhpp-0.3.0-py3-none-any.whl (12.3 kB view details)

Uploaded Python 3

File details

Details for the file mhpp-0.3.0.tar.gz.

File metadata

  • Download URL: mhpp-0.3.0.tar.gz
  • Upload date:
  • Size: 10.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.8.0

File hashes

Hashes for mhpp-0.3.0.tar.gz
Algorithm Hash digest
SHA256 40d5445e461e23e2e93654f703d6831897ed71f55e81fdcfe6e667c771792fdc
MD5 86e87ccc9b231166e5bd1da626e5193f
BLAKE2b-256 8d58047ef6ed49c501d0f2e68bb789bdd40a8345adcc0213d6e2e4b351a48c20

See more details on using hashes here.

File details

Details for the file mhpp-0.3.0-py3-none-any.whl.

File metadata

  • Download URL: mhpp-0.3.0-py3-none-any.whl
  • Upload date:
  • Size: 12.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.8.0

File hashes

Hashes for mhpp-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 548ec38753d1627dac073fd235c80b9aa24c5fc29086373fe317364889dcc77c
MD5 07782019f7ac197b3743da01b1230147
BLAKE2b-256 80a5e155738a15bae9b497d6a08ecb2075d7c57401533e1cd25d019b65f854da

See more details on using hashes here.

Supported by

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