interpretml / interpret-text

A library that incorporates state-of-the-art explainers for text-based machine learning models and visualizes the result with a built-in dashboard.
MIT License
409 stars 68 forks source link

Is this a bug? #198

Open safooray opened 2 years ago

safooray commented 2 years ago

https://github.com/interpretml/interpret-text/blob/d74efc985270aaa2b3ab779408597d9505e9ea1d/python/interpret_text/experimental/explanation.py#L42

Shouldn't self._ordered_local_importance_values = self.local_importance_values[order] ? Why are the importance values not reordered?