Open afaghiri opened 1 year ago
@Adarsh321123 could you take a look?
Hi @afaghiri. Apologies for the late response. It seems that pickling a banditpam.KMedoids
object is non-trivial since we use Python bindings (through the pybind11
library) of existing C++ code. Can you please let me know if adapting the material here helps?: https://pybind11.readthedocs.io/en/latest/advanced/classes.html#pickling-support.
Hi @afaghiri. I just wanted to follow up on this! Please let me know if you need any more assistance.
Hi,
When I try to save banditpam.KMedoids object using pickle I get this error:
"TypeError: cannot pickle 'banditpam.KMedoids' object"
Any idea what might be causing this issue?