Conditional sampling with negative float values doesn't work #1161
Labels
bug
Something isn't working
feature:sampling
Related to generating synthetic data after a model is built
Milestone
Environment Details
Please indicate the following details about the environment in which you found the bug:
Error Description
When sampling records from the model with negative float as a condition, no records are being returned, as the
_filter_conditions
method filters them all out.That's because it compares negative
distance
value, with an absolute value (which will always be >= 0).Steps to reproduce
Sample code that triggers this issue:
The text was updated successfully, but these errors were encountered: