Skip to content

Commit 9456422

Browse files
authored
#36 fix, attempt 4
1 parent 2c0818a commit 9456422

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

src/simdec/decomposition.py

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -162,14 +162,6 @@ def statistic_(inputs):
162162
bins.append(inputs)
163163
return statistic_method(inputs)
164164

165-
# make bins with equal number of samples for a given dimension
166-
# sort and then split in n-state
167-
sorted_inputs = np.sort(inputs, axis=0)
168-
bin_edges = []
169-
for i, states_ in enumerate(states):
170-
col = inputs[:, i]
171-
uniq = np.unique(col)
172-
173165
# If this input has only a few unique numeric values (categorical-like),
174166
# build bin edges around unique values so we don't get empty states.
175167
sorted_inputs = np.sort(inputs, axis=0)

0 commit comments

Comments
 (0)