1. 首页
  2. 数据库
  3. 其它
  4. 机器学习案例(一):基于KNN的手写数字识别(附源码)

机器学习案例(一):基于KNN的手写数字识别(附源码)

上传者: 2020-12-23 00:36:46上传 PDF文件 113.1KB 热度 14次
基于KNN的数字识别 源代码及数据的github地址: https://github.com/w1449550206/KNN-Handwritten-digit-recognition-based-on-KNN 点此可直达 import numpy as np # 图片后缀为bmp import matplotlib.pyplot as plt %matplotlib inline from sklearn.neighbors import KNeighborsClassifier img_path = './data/3/3_10.bmp' arr_img = plt.imread(img
下载地址
用户评论