Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我知道h2oas.h2o库中的函数将 R data.frame 转换为 H2O 框架。两个问题:
as.h2o
as.h2o()
在 data.frame, df 上运行 as.h2o 的确切路径:
path <- write.csv(df) h2o.upload(path) remove.file(path)
我们暂时将 data.frame 写入磁盘,然后上传而不是将文件导入 H2O,一旦文件上传,我们就会删除临时帧。除了不写入磁盘之外,没有更干净的替代方法。