问答详情
源自:3-4 神经网络对数据实现分类(上)

调试运行出错

bottom=3.3, top=3.3  'bottom=%s, top=%s') % (bottom, top)) C:\ProgramData\Anaconda3\lib\site-packages\ipykernel_launcher.py:24: VisibleDeprecationWarning: boolean index did not match indexed array along dimension 0; dimension is 100 but corresponding boolean dimension is 101 请问下这个问题怎么解决

提问者:qq_诙崽_0 2017-09-26 21:20

个回答

  • 慕侠9645332
    2017-10-05 19:16:22

    你可以试试把y的数值减小一个

    y=df.loc[0:99,4].values