You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Turns out removing the Dicts didn't help my performance too much... I guess I didn't look hard enough at the profiling.
The encoding still seems to be a bit slow because of the binary search. All of my grids are regular, so I could implement at RegularLinearDiscretizer that encodes in O(1) time.
which would be faster if the bins are evenly spaced, but could have bad performance if bins are irregular (maybe... I think).
Seems like RegularLinearDiscretizer would be best, but wanted to check if anyone else had anything to say/if anyone knows of another package that already does this.
The text was updated successfully, but these errors were encountered:
Turns out removing the Dicts didn't help my performance too much... I guess I didn't look hard enough at the profiling.
The encoding still seems to be a bit slow because of the binary search. All of my grids are regular, so I could implement at RegularLinearDiscretizer that encodes in O(1) time.
Another option would be to replace
Discretizers.jl/src/linear_discretizer.jl
Line 70 in b43839f
which would be faster if the bins are evenly spaced, but could have bad performance if bins are irregular (maybe... I think).
Seems like RegularLinearDiscretizer would be best, but wanted to check if anyone else had anything to say/if anyone knows of another package that already does this.
The text was updated successfully, but these errors were encountered: