首页> 外文会议>International Conference on Image Information Processing >Analogizing time complexity of KNN and CNN in recognizing handwritten digits
【24h】

Analogizing time complexity of KNN and CNN in recognizing handwritten digits

机译:KNN和CNN在识别手写数字中的时间复杂度

获取原文

摘要

Handwritten identification of digit, analysis of pattern has been a major area of research in the field of character recognition. Several models are formed by changing various values of weights when applied through the neural network. The paper analyzes the study of time complexity in two different algorithms KNN and CNN. The K-Nearest Neighbor Algorithm is used as a classifier capable of computing the Euclidean distance between data set input images. The dataset is fetched for training through neural network contains various (28 × 28) pixel size images and therefore, our first layer of neural network contains 784 neurons as input. We will analyze these images by varying values so as to obtain output layer of our network 10 neurons, each neuron if fixed gives any output between 0 to 9. After reading in data appropriately from MNIST and testing it on Gaussian distribution, KNN classifier then presented the result with Python tool. So, to avoid such a long waiting another algorithm Convolutional Neural Networks has been used. CNN has been implemented on Keras including Tensorflow and produces accuracy. It is then shown that KNN and CNN perform competitively with their respective algorithm on this dataset, while CNN produces high accuracy than KNN and hence chosen as a better approach.
机译:数字的手写识别,模式的分析一直是研究在文字识别领域的一个主要领域。几个模型由当通过神经网络应用改变的权重的各种值而形成。本文分析的时间复杂度在两种不同的算法KNN和CNN的研究。该k-最近邻算法被用作能够计算数据集的输入图像之间的欧几里德距离的分类器。数据集是取出用于通过神经网络的训练包含各种(28×28)像素尺寸的图像,因此,我们的神经网络的第一层包含神经元784作为输入。我们将通过改变值分析这些图像,以便获得我们的网络10神经元的输出层,如果固定每个神经给予9.0之间的任何输出从MNIST适当地数据读取和对高斯分布测试它后,KNN分类然后呈现结果与Python的工具。所以,为了避免这种漫长的等待另一个算法卷积神经网络已被使用。 CNN对Keras包括Tensorflow和生产精度得到落实。然后,示出了KNN和CNN与此数据集各自的算法执行竞争性,而CNN产生高精确度高于KNN,因此选择作为一个较好的方法。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号