Skip to main content

Hi everyone,

I’m exploring the possibility of using the Shap library for model interpretability in Cognite Jupyter Notebooks, but I understand that Pyodide has limitations with packages requiring native libraries. According to the Pyodide FAQ, such packages may not be supported.

Would it still be feasible to include Shap, or is this limitation a blocker? If it’s not possible, are there any recommended workarounds, such as using a different package?

Thanks for any guidance or insights!

Best regards,

Hi!

It seems like the Shap library uses Cuda or other compiled languages and this will not be possible to use in Pyodide unfortunately. No workarounds for this package.


Reply