为什么会产生错误,问题出在哪里?

问题描述 投票:0回答:1
Rfmodel<-h2o.grid("randomForest",
              search_criteria = list(
                strategy="RamdomDiscrete",
                stopping_metric ="mse",
                stopping_tolerance= 0.001,
                stopping_rounds=5,
                max_runtime_secs=240
              ),
              hyper_params = list(
                ntrees=c(50,100,200,250),
                mtries=c(1,2,4,6),
                sample_rate=c(0.3,0.5,0.75,0.90),
                col_sample_rate_per_tree=c(0.25,0.50,0.75,0.1)
              ),
              x=8,y=1:7,training_frame = data.train,nfolds=4,max_depth=50,
              stopping_metric="misclassification",
              stopping_tolerance=0,
              stopping_rounds=5,
              seed=2
              )

。h2o.doSafeREST(h2oRestApiVersion = h2oRestApiVersion,urlSuffix = page,:]中的错误>]

错误消息:

无法解析search_criteria字典;错误:原始值的search_criteria.strategy:{“ strategy” =“ RamdomDiscrete”,“ stopping_metric” =“错误分类”,“ stopping_tolerance” = 0.001,“ stopping_rounds” = 5,“ max_runtime_secs” = 240}

请帮助我解决这个问题。

Rfmodel

r h2o
1个回答
0
投票

谢谢您,它现在正在运行,我不知道如何运行,但是在重新启动计算机后才运行。

© www.soinside.com 2019 - 2024. All rights reserved.