IndexError: too many indices for array: array is 1-dimensional, but 2 were indexed
运行代码发现了IndexError:toomanyindicesforarray:arrayis1-dimensional,but2wereindexed这个报错,后来去百度发现是这段代码出了问题tp,fp,precision_all,strResults,f1_all,acc_all,mcc_all=calculate_performance(y_val,y_predict_cv,'val')因