Skip to content
Snippets Groups Projects
Commit a01c4911 authored by v.gramlich1's avatar v.gramlich1
Browse files

Fixed bug with window_size=1

parent e81da498
No related branches found
No related tags found
1 merge request!302Draft: Resolve "Class-based Oversampling technique"
Pipeline #71329 passed
......@@ -177,7 +177,7 @@ class DefaultDataHandler(AbstractDataHandler):
X = self._X
for i_bin in range(len(bin_edges)-1):
bin_start = bin_edges[i_bin]
if i_bin == len(bin_edges) - 1:
if i_bin == len(bin_edges) - 2:
bin_end = bin_edges[i_bin+1]+1
else:
bin_end = bin_edges[i_bin + 1]
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment