Skip to main content

Takes algorithm, train, test, X variables, Y variables, column names required for submission and name of submission file as input and produces an output csv for submitting in the competition.

Project description

# ‘Submission’ Package for various online competitions.

This package helps the user to make submission file in ‘.csv’ format (viz the criterion for most competitions) in a simple way.

Installation:

Run the following to install,

#Python

pip install submission

How it works?

It takes the algorithm, training dataset, test dataset, X variables, Y variables, column names (particular columns required for submission) and name of submission file (desired by the user) as input and produces an outputs the RMSE and Cross-Validation score of that model and in .csv for submitting in the competition.

How to use:

from sklearn.tree import DecisionTreeRegressor

DT = DecisionTreeRegressor(max_depth=15, min_samples_leaf=100)

submission.modelfit(DT, train_df, test_df, X, Y, IDcol, ‘DT.csv’)

Output:

Model Report

RMSE : 2914

CV Score : Mean - 2941 | Std - 20.86 | Min - 2907 | Max - 2975

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

submission-0.0.3.tar.gz (1.9 kB view details)

Uploaded Source

Built Distribution

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

submission-0.0.3-py3-none-any.whl (2.2 kB view details)

Uploaded Python 3

File details

Details for the file submission-0.0.3.tar.gz.

File metadata

  • Download URL: submission-0.0.3.tar.gz
  • Upload date:
  • Size: 1.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.42.1 CPython/3.7.6

File hashes

Hashes for submission-0.0.3.tar.gz
Algorithm Hash digest
SHA256 eb3b1436d3dc65755b44ad111f9d107b222e870f55f62ccb1731bd00c70ce777
MD5 bedd7b9e828895599b06270b251c649a
BLAKE2b-256 2e2e968b7148473855ca7d87a93d5004ff099c93cbfee44f5e7e8f7be4ceda81

See more details on using hashes here.

File details

Details for the file submission-0.0.3-py3-none-any.whl.

File metadata

  • Download URL: submission-0.0.3-py3-none-any.whl
  • Upload date:
  • Size: 2.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.42.1 CPython/3.7.6

File hashes

Hashes for submission-0.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 22a68d8756a2ef6397d8d5bbd5de9be992251fc9e534fa9b27ea273ec98fd33f
MD5 1f11af4b841508a01a03b1d9fb5d6904
BLAKE2b-256 5156b1744c1dec38da85383f2dcdaddf20e34bbb096c5df82a8ccce558b11e3f

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