Train_test splitter with adversarial validation
Project description
Auto train test split with adversarial validation. Use it to get the without data leakage train-test split.
The code is Python 3
Installation
Fast install:
pip install atts
For a manual install get this package:
wget https://github.com/alikula314/att_split/atts/archive/master.zip unzip master.zip rm master.zip cd atts-master
Install the package:
python setup.py install
Example on Red Wine Quality Dataset
pip install atts
from atts.auto_test_splitter import atts
# run module
k = ATTS(df, "quality" , 0.05, 0.50, 0.05)
# get auc_score - test_size dataframe
k.test_sizes_df()
#get the plot
k.test_sizes_plot(800,400)
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
atts-0.0.6.tar.gz
(3.7 kB
view hashes)
Built Distribution
atts-0.0.6-py3-none-any.whl
(4.0 kB
view hashes)