Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion woe.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down