File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
frouros/detectors/data_drift/batch/statistical_test Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -25,20 +25,20 @@ class BWSTest(BaseStatisticalTest):
2525 :References:
2626
2727 .. [baumgartner1998nonparametric] Baumgartner, W., P. Weiß, and H. Schindler.
28- "A nonparametric test for the general two-sample problem."
29- Biometrics (1998): 1129-1135.
28+ "A nonparametric test for the general two-sample problem."
29+ Biometrics (1998): 1129-1135.
3030
3131 :Example:
3232
33- >>> from frouros.detectors.data_drift import KSTest
33+ >>> from frouros.detectors.data_drift import BWSTest
3434 >>> import numpy as np
3535 >>> np.random.seed(seed=31)
3636 >>> X = np.random.normal(loc=0, scale=1, size=100)
3737 >>> Y = np.random.normal(loc=1, scale=1, size=100)
3838 >>> detector = BWSTest()
3939 >>> _ = detector.fit(X=X)
4040 >>> detector.compare(X=Y)[0]
41- StatisticalResult(statistic=0.55 , p_value=3.0406585087050305e-14 )
41+ StatisticalResult(statistic=29.942072035675395 , p_value=0.0001 )
4242 """ # noqa: E501 # pylint: disable=line-too-long
4343
4444 def __init__ ( # noqa: D107
You can’t perform that action at this time.
0 commit comments