h2o.predict函数中没有显示执行过程

No display execution process in h2o.predict function

我是 R 的 h2o 包的新手。 我想知道如何在h2o.function.

中不显示执行进度条

您可以使用 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 GLEASON
1  1       0  65    1     2     1  1.4  0.0       6
2  2       0  72    1     3     2  6.7  0.0       7
3  3       0  70    1     1     2  4.9  0.0       6
4  4       0  76    2     2     1 51.2 20.0       7
5  5       0  69    1     1     1 12.3 55.9       6
6  6       1  71    1     3     2  3.3  0.0       8

[380 rows x 9 columns]