这是什么原因???
F:\Program Files\Python\lib\site-packages\ipykernel\__main__.py:26: VisibleDeprecationWarning: boolean index did not match indexed array along dimension 0; dimension is 100 but corresponding boolean dimension is 101
---------------------------------------------------------------------------IndexError Traceback (most recent call last)<ipython-input-116-caffccb593cb> in <module>()----> 1 plot_decision_regions(X,y,ppn,resolution=0.02) 2 plt.xlabel('len1') 3 plt.ylabel('len2') 4 plt.legend(loc='upper left') 5 plt.show()<ipython-input-115-d79b122b313a> in plot_decision_regions(X, y, classifier, resolution) 24 25 for idx,c1 in enumerate(np.unique(y)):---> 26 plt.scatter(x=X[y==c1,0],y=X[y==c1,1],alpha=0.8,c=cmap(idx),marker=markers[idx],label=c1) 27 IndexError: index 100 is out of bounds for axis 0 with size 100