我是R语言的h2o包的新手。我想知道如何在h2o函数中不显示执行进度条。
回答:
你可以使用h2o.no_progress()方法,这将禁用大多数函数的进度详情。以下是一个使用h2o.no_progress()的示例脚本:
> dpath = "https://raw.github.com/h2oai/h2o/master/smalldata/logreg/prostate.csv"> df1 = h2o.importFile(dpath) |============================================================| 100%> h2o.no_progress()> df1 = h2o.importFile(dpath)> df1 ID CAPSULE AGE RACE DPROS DCAPS PSA VOL GLEASON1 1 0 65 1 2 1 1.4 0.0 62 2 0 72 1 3 2 6.7 0.0 73 3 0 70 1 1 2 4.9 0.0 64 4 0 76 2 2 1 51.2 20.0 75 5 0 69 1 1 1 12.3 55.9 66 6 1 71 1 3 2 3.3 0.0 8[380 rows x 9 columns]