Reputation: 76
According to the miceforest documentation (https://github.com/AnotherSamWilson/miceforest#Imputing-New-Data-with-Existing-Models) it is stated to be possible to save kernels and re-use them later to impute missing data.
However, I can't find any command to actually save the kernel to disk & load the kernel for later usage. Is it possible to save the kernel object somewhere? Or do i need to store the underlying models used for imputation separately? The documentation only shows the kernel being used on a different dataset.
Thanks in advance!
Upvotes: 0
Views: 427
Reputation: 126
There is now a kernel.save_model() method, which converts the working data to a parquet and compresses the rest of the kernel. The kernel can then be loaded using the miceforest.utils.load_kernel() function.
Upvotes: 1