Skip to main content
Solved

Feasibility of Adding Shap Library to Pyodide in Cognite Jupyter Notebooks

  • November 27, 2024
  • 1 reply
  • 26 views

Hugo Lopes
Seasoned

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,

Best answer by Anders Hafreager

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.

View original
Did this topic help you find an answer to your question?

1 reply

Anders Hafreager
Practitioner

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


Cookie Policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie Settings