macos报错OSError: dlopen(/Users/yanerrol/opt/anaconda3/envs/py366/lib/python3.6/site-packages/lightgbm/lib_lightgbm.so, 6): Library not loaded: /usr/local/opt/l...
plt.pcolormesh(x1,x2,grid_hat,cmap=cm_light)报警告 MatplotlibDeprecationWarning: shading=‘flat’ when X and Y have the same dimensions as C is deprecated since 3....
The accuracy of prediction is: 0.9666666666666667 Feature importances: [0.002148238569679191, 0.0046703830672789074, 0.33366676380518245, 0.6595146145578594]
The accuracy of prediction is: 0.9666666666666667 Feature importances: [0.002148238569679191, 0.0046703830672789074, 0.33366676380518245, 0.6595146145578594]
可以利用大小堆,大堆长度从1开始,每次+1 大堆元素都比小堆的小,那么大堆顶的元素就是第k小的元素