0
我是新的h2o包R 我想知道如何在h2o.function中顯示執行過程欄。h2o.predict函數中沒有顯示執行過程
我是新的h2o包R 我想知道如何在h2o.function中顯示執行過程欄。h2o.predict函數中沒有顯示執行過程
您可以使用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]
https://rdrr.io/cran/h2o/man/h2o.no_progress.html –