SVM, KNN, Random Forest, and Neural Network based Handwritten Nepali Barnamala Recognition

Bal Krishna Nyaupane, R. K. Sah, Kiran Dahal
{"title":"SVM, KNN, Random Forest, and Neural Network based Handwritten Nepali Barnamala Recognition","authors":"Bal Krishna Nyaupane, R. K. Sah, Kiran Dahal","doi":"10.3126/jiee.v4i2.38254","DOIUrl":null,"url":null,"abstract":"Nepali Barnamala consists 36 consonants, 12 vowels and 10 Nepali digits. Among them, this paper uses the 36 consonants and 10 Nepali digits for the recognition using machine learning based algorithm mainly: Support Vector Machine (SVM), K-Nearest Neighbors (KNN), Random Forest (RF) and several architectures of neural networks. In this paper, different kernel tricks of SVM with different regularization parameters has been used to train model and has compared their accuracy and F1-score. In KNN, accuracy and F1-score are compared with different values of K and distance matric. In Neural Networks, training accuracy, training loss, validation accuracy, and validation loss are compared with different number of hidden layers regularization parameters and learning rate. Different hyperparameter of random forest are changed and compared to their corresponding result. This paper uses the Kaggle dataset of school students’ Nepali handwritten characters. The dataset is CSV format with 78,200 rows for forty-six different classes with 1024 (32*32 image size) columns plus one column for label of characters for training and 13,800 rows for testing. For handwritten Nepali Barnamala recognition, the best average accuracy is 93.51% of neural networks with four hidden layers.","PeriodicalId":263238,"journal":{"name":"Journal of Innovations in Engineering Education","volume":"3 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2021-12-15","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Journal of Innovations in Engineering Education","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.3126/jiee.v4i2.38254","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 0

Abstract

Nepali Barnamala consists 36 consonants, 12 vowels and 10 Nepali digits. Among them, this paper uses the 36 consonants and 10 Nepali digits for the recognition using machine learning based algorithm mainly: Support Vector Machine (SVM), K-Nearest Neighbors (KNN), Random Forest (RF) and several architectures of neural networks. In this paper, different kernel tricks of SVM with different regularization parameters has been used to train model and has compared their accuracy and F1-score. In KNN, accuracy and F1-score are compared with different values of K and distance matric. In Neural Networks, training accuracy, training loss, validation accuracy, and validation loss are compared with different number of hidden layers regularization parameters and learning rate. Different hyperparameter of random forest are changed and compared to their corresponding result. This paper uses the Kaggle dataset of school students’ Nepali handwritten characters. The dataset is CSV format with 78,200 rows for forty-six different classes with 1024 (32*32 image size) columns plus one column for label of characters for training and 13,800 rows for testing. For handwritten Nepali Barnamala recognition, the best average accuracy is 93.51% of neural networks with four hidden layers.
SVM, KNN,随机森林和基于神经网络的手写尼泊尔文Barnamala识别
尼泊尔语Barnamala由36个辅音、12个元音和10个尼泊尔数字组成。其中,本文使用36个辅音和10个尼泊尔数字进行识别,使用基于机器学习的算法主要有:支持向量机(SVM)、k近邻(KNN)、随机森林(RF)和几种神经网络架构。本文采用不同正则化参数的支持向量机的不同核技巧来训练模型,并比较了它们的准确率和f1分数。在KNN中,通过K和距离矩阵的不同值来比较精度和f1得分。在神经网络中,将训练精度、训练损失、验证精度和验证损失与不同隐层正则化参数的个数和学习率进行比较。改变随机森林的不同超参数,并与相应的结果进行比较。本文使用Kaggle小学生尼泊尔语手写体数据集。数据集是CSV格式,有78,200行,有46个不同的类,有1024列(32*32图像大小),加上一列用于训练的字符标签和13,800行用于测试。对于手写尼泊尔文Barnamala识别,具有4个隐藏层的神经网络平均准确率最高,为93.51%。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 求助全文
来源期刊
自引率
0.00%
发文量
0
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:481959085
Book学术官方微信