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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for submission-0.0.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 22a68d8756a2ef6397d8d5bbd5de9be992251fc9e534fa9b27ea273ec98fd33f |
|
MD5 | 1f11af4b841508a01a03b1d9fb5d6904 |
|
BLAKE2b-256 | 5156b1744c1dec38da85383f2dcdaddf20e34bbb096c5df82a8ccce558b11e3f |