基于Python贝叶斯优化XGBoost算法调参报错“TypeError: ‘float‘ object is not subscriptable”,代码先锋网,一个为软件开发程序员提供代码片段和技术文章聚合的网站。