diff --git a/woe.py b/woe.py index c4a4c98..a1e6733 100644 --- a/woe.py +++ b/woe.py @@ -62,7 +62,7 @@ def fit(self, x, y): if not isinstance(y, pd.Series): y = pd.Series(y) if not x.size == y.size: - raise Exception("Y size don't match Y size") + raise Exception("X size doesn't match Y size") # Calc total good bad ratio in the sample t_bad = np.sum(y) if t_bad == 0 or t_bad == y.size: