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
conf_int(alpha) function becomes very slow when passing big dataframes (large number of rows).
i think this happens because we do it in a for-loop list comprehension
Parallelize this calculation, like we do in many other steps inside the library. I searched all over the library and did not find any place that uses this in a parallel loop outside (to avoid parallel overhead)
Try to find a way to do this calculus in a numpy-friendly way (but i didnt find until now how to do this)
EconML/econml/inference/_inference.py
Line 1073 in a0054d1
conf_int(alpha) function becomes very slow when passing big dataframes (large number of rows).
i think this happens because we do it in a for-loop list comprehension
tests with 400k rows ~ 2 minutes, 1M rows ~ 5 minutes.
i think that we could try at least two things:
Any other suggestions? @kbattocchi
The text was updated successfully, but these errors were encountered: