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("...")
are_similar = validate(
train=train,
test=test,
target="label",
)
# are_similar = True: train and test are following the same underlying distribution.
# are_similar = False: test dataset exhibits a different underlying distribution than train dataset.
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.0a2.tar.gz
(4.3 kB
view hashes)
Built Distribution
Close
Hashes for advertion-0.1.0a2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7472a043d23c9bac2d4a578d13efa4c6bc11d776bc68beaa65e851c243b3d36a |
|
MD5 | 1bef492d50635083336ed183b90d5697 |
|
BLAKE2b-256 | 5580e7307043910188c8992a8ec99df6772228b9c551e2046ddb11986d862d13 |