classify0函数没有定义或者没有导入如果是没有定义,参考 https://www.jianshu.com/p/551fb62a2b94
你这个import 应该import到KNN库文件了,为什么这样import?直接运行不就好了