Python H2OValueError:文件;列车_FD004.txt不存在
大家好,我现在正试图使用h2o,但在上传数据时遇到了一个问题Python H2OValueError:文件;列车_FD004.txt不存在,python,h2o,Python,H2o,大家好,我现在正试图使用h2o,但在上传数据时遇到了一个问题 train = h2o.upload_file("train_FD004.txt") test = h2o.upload_file("test_FD004.txt") train.set_names(input_file_column_names); test.set_names(input_file_column_names); 如何解决这个问题?我对H20一无所知,但通常是那种错误 错误:文件列车_FD004.txt不存在
train = h2o.upload_file("train_FD004.txt")
test = h2o.upload_file("test_FD004.txt")
train.set_names(input_file_column_names);
test.set_names(input_file_column_names);
如何解决这个问题?我对H20一无所知,但通常是那种错误 错误:文件列车_FD004.txt不存在 表示它找不到您尝试上载的文件 你应该试试:
可能很难知道“当前”目录是什么,特别是对于
h2o.import\u file()
和`h2o.upload\u file(),每个目录都可能不同,所以我很快发现总是给出任何数据文件的完整路径更简单。