Closed matamadio closed 2 years ago
Actually maybe baby this is not a bad thing, allows to filter out over a threshold. We can make it explicit, i.e. "last class includes value to be ignored".
I'm seeing outputs for Class 6 (C6, the last class):
Or do you mean something else?
This happens in the landslide notebook I tried to do, setting a smaller number of classes.
class_edges = OrderedDict({
f'class_{i}': widgets.BoundedFloatText(
value=k,
min=0.0,
max=10.0,
step=0.0001,
description=f'Class {i}:',
tooltip=f'Minimum value of class {i}. Value must be less than the next entry.',
disabled=True
) for (i,k) in zip(range(1,5), [0.0001, 0.001, 0.01, 0.05])
})
Am I doing it wrong? :( Maybe safer if you stem out the class-only versions, and I will then edit parameters for each hazard:
Here is the bugged landslide notebook.
Fixed in commit 957517d451853c8442aedb07fc0d5c10bc1f2abb
No matter the number of bins (classes) specified, the last one will always produce zero or null output.