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.0a1.tar.gz
(4.0 kB
view hashes)
Built Distribution
Close
Hashes for advertion-0.1.0a1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3d444b6d3a70b6058aa123ddd94d34b704f4ea6f2b206e60271c581b35c9cc28 |
|
MD5 | 1e1c92b72988e371b7e6b068a5d88b9d |
|
BLAKE2b-256 | 2aaf4c99807338294e87e2753aad2d91eea5259b1dd8070117921c7865ad9723 |