如何在XGBoost Java API中启用静默评估?

时间:2017-01-26 09:02:13

标签: java evaluation xgboost silent

在xgboost Java API中,输出有一个参数 string secretKey = "MySuperSecretKey"; byte[] keybytes = Encoding.ASCII.GetBytes(secretKey); SecurityKey securityKey = new SymmetricSecurityKey(keybytes); SigningCredentials signingCredentials = new SigningCredentials(securityKey, SecurityAlgorithms.HmacSha256); SigningCredentials signingCredentials = new SigningCredentials(securityKey, SecurityAlgorithms.HmacSha256Signature); 。然而,这似乎并未关闭xgboost关于其对数据集的评估;出现控制台消息,例如:

('silent',1)

我知道在Python API中,如果要调用train函数,可以使用参数[16] train-merror:0.004520 进行无效评估。我没有找到Java的替代品 - 有没有人知道是否有这样的功能?

0 个答案:

没有答案