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
from atts import atts
# run module
k = atts(df, "quality" , 0.05, 0.50, 0.03)
# get auc_score - test_size dataframe
k.test_size()
#get the plot
k.auc_size_plot((10,6))
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.3.tar.gz
(3.9 kB
view hashes)
Built Distribution
atts-0.0.3-py3-none-any.whl
(4.0 kB
view hashes)