保存小块内核
根据 mouseforest 文档 (https://github.com/ AnotherSamWilson/miceforest#Imputing-New-Data-with-Existing-Models)据说可以保存内核并在以后重新使用它们估算缺失数据。
但是,我找不到任何命令来实际将内核保存到磁盘&加载内核供以后使用。是否可以将内核对象保存在某个地方?或者我是否需要单独存储用于插补的基础模型?该文档仅显示在不同数据集上使用的内核。
提前致谢!
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!
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
现在有一个 kernel.save_model() 方法,它将工作数据转换为镶木地板并压缩内核的其余部分。然后可以使用 mouseforest.utils.load_kernel() 函数加载内核。
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.