A tiny framework to perform adversarial validation of your training and test data.
Project description
adversarial-validation
A tiny framework to perform adversarial validation of your training and test data.
Install
The recommended installation is via pip
:
pip install advertion
(advertion stands for adversarial validation)
Usage
from advertion import validate
train = pd.read_csv("...")
test = pd.read_csv("...")
validate(
trainset=train,
testset=test,
target="label",
)
# // {
# // "datasets_follow_same_distribution": True,
# // 'mean_roc_auc': 0.5021320833333334,
# // "adversarial_features': ['id'],
# // }
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
advertion-0.1.0a0.tar.gz
(4.9 kB
view hashes)
Built Distribution
Close
Hashes for advertion-0.1.0a0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2a37df3062db285835ad946c4c09bf4960f1195f0cc2d7fd183fadd5b0be1768 |
|
MD5 | b85c628eb6b48ae8cb3bea80cf20c515 |
|
BLAKE2b-256 | 3584925d5bdb8e33bf984ad5685dbe035251363073a7e69c06fe5daf50210bdd |