保存小块内核

发布于 2025-01-19 06:09:46 字数 379 浏览 2 评论 0原文

根据 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 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

天暗了我发光 2025-01-26 06:09:46

现在有一个 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.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文