marcotcr / lime

Lime: Explaining the predictions of any machine learning classifier
BSD 2-Clause "Simplified" License
11.4k stars 1.79k forks source link

Can the sampling around an instance method be part of the utils? #707

Closed HardikPrabhu closed 1 year ago

HardikPrabhu commented 1 year ago

I have noticed that sampling is done by a private method __data_inverse of the LimeTabularExplainer class. Is there a way to access the sampling algorithm without initializing the class object?