Y-Scramble: a package for y-randomization validation
Project description
Scramble
from y_scramble import Scrambler
from sklearn.tree import DecisionTreeClassifier
X, y = load_iris(return_X_y=True)
model = DecisionTreeClassifier()
scrambler = Scrambler(model=model)
scores, zscores, pvalues, significances = scrambler.validate(
X, y,
scoring="accuracy",
cross_val_score_aggregator="mean",
pvalue_threshold=0.01
)
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
No source distribution files available for this release.See tutorial on generating distribution archives.
Built Distribution
Close
Hashes for y_scramble-0.0.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8ef84af6e0b74f14982f0be9be01c52d6b3daf4b98876162204175a4639a83a2 |
|
MD5 | e2ac6c371b382374ea6f9f9d19a5be31 |
|
BLAKE2b-256 | f799468666aef9df69e6b45737f615920691ed8fbaa07a7ae229feb5d0aa783b |