We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2c0818a commit 9456422Copy full SHA for 9456422
src/simdec/decomposition.py
@@ -162,14 +162,6 @@ def statistic_(inputs):
162
bins.append(inputs)
163
return statistic_method(inputs)
164
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
-
173
# If this input has only a few unique numeric values (categorical-like),
174
# build bin edges around unique values so we don't get empty states.
175
sorted_inputs = np.sort(inputs, axis=0)
0 commit comments