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 hashes)

Uploaded Source

Built Distribution

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

Uploaded Python 3

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