xgboost model getfscore:'str' object is not callable
1
feat_imp = pd.Series(xgbPara.booster().get_fscore()).sort_values(ascending=False) TypeError: 'str' object is not callable I can run it in pycharm, but when I run it in pyspark, there is a Type Error. could anyone tell me why? Thanks!
python-2.7 xgboost callable
share | improve this question
edited Nov 16 '18 at 6:35
Chan
asked Nov 16 '18 at 6:19
Chan Chan
6 3