py-why / causaltune

AutoML for causal inference.
Apache License 2.0
204 stars 30 forks source link

Cache part of energy distance #287

Closed julianteichgraber closed 2 months ago

julianteichgraber commented 1 year ago

Is your feature request related to a problem? Please describe. Energy distance is computationally expensive. But third term of energy distance metric does not change across models so could just cache it and reuse. Should save around one third of runtime of energy distance.