Background
I am currently using the kmodes
python package to perform unsupervised learning on data that includes categorical parameters.
I need to be able to save these models, as I am planning to use it in a production pipeline where I wish to be able to "roll back" to older, working models if something in the pipeline fails.
Requirements
I can use any file format, including HDF5 format. I am also not wedded to kmodes
, however I do need to be able to handle mixed categorical and numerical data.
Help
I cannot seem to find any way that I can save the full kmodes
model to disk, but I'm hoping that I'm just missing something obvious. Please provide any potential options.