skip to main content
10.1145/3543712.3543741acmotherconferencesArticle/Chapter ViewAbstractPublication PagesicctaConference Proceedingsconference-collections
research-article

Modified Support Vector Machine using Giza Pyramids Construction Algorithm

Authors Info & Claims
Published:20 September 2022Publication History

ABSTRACT

Support vector machine (SVM) is a machine learning algorithm used for classification. SVM is commonly used in image, video, speech, and text recognition. The C value in SVM determines the degree of error for misclassification that the model will accept in the training set for the sake of generalization. One problem in the algorithm lies in finding the optimal value of this parameter. This problem affects the SVM model in achieving higher performance by chances of overfitting. In this paper, the Giza Pyramids Construction (GPC) Algorithm was proposed to find the optimal value of C. GPC finds an optimal C value by simulating how the workers were able to push stone blocks for the construction of the Giza Pyramid in the ancient times. The best position of the worker where it will be able to push the block most efficiently is calculated and was used as the C value for the SVM model. The proposed model was compared to the original SVM. Confusion matrix, F1-score, and accuracy were used to measure the performance of each model. The proposed model achieved a global accuracy of 97.27% while the original SVM achieved 94.54% in the Chars74K handwriting dataset. GPC-SVM has also achieved higher global accuracies on the MNIST dataset and the Chars74K natural images dataset compared to the original SVM. It was concluded that the proposed model achieved greater performance on all datasets compared to the original SVM in recognizing digits in the dataset.

References

  1. T. Xie, J. Yao, and Z. Zhou, “DA-based parameter optimization of combined kernel support vector machine for cancer diagnosis,” Processes, vol. 7, no. 5, May 2019, doi: 10.3390/pr7050263.Google ScholarGoogle Scholar
  2. S. Harifi, J. Mohammadzadeh, M. Khalilian, and S. Ebrahimnejad, “Giza Pyramids Construction: an ancient-inspired metaheuristic algorithm for optimization,” Evolutionary Intelligence, vol. 14, no. 4, pp. 1743–1761, Dec. 2021, doi: 10.1007/s12065-020-00451-3.Google ScholarGoogle Scholar
  3. E. Tuba, M. Tuba, and D. Simian, Handwritten Digit Recognition by Support Vector Machine Optimized by Bat Algorithm.Google ScholarGoogle Scholar
  4. A. Tharwat, A. E. Hassanien, and B. E. Elnaghi, “A BA-based algorithm for parameter optimization of Support Vector Machine,” Pattern Recognition Letters, vol. 93, pp. 13–22, Jul. 2017, doi: 10.1016/j.patrec.2016.10.007.Google ScholarGoogle ScholarCross RefCross Ref
  5. S. Wang, L. Dong, and H. Hua, “Parameter optimization of support vector machine based on improved grid algorithm,” in Journal of Physics: Conference Series, Dec. 2020, vol. 1693, no. 1. doi: 10.1088/1742-6596/1693/1/012108.Google ScholarGoogle ScholarCross RefCross Ref
  6. Bhavikkmuar, S. M. (2020, June 9). Advantages of Support Vector Machines (SVM). OpenGenus IQ: Computing Expertise & Legacy. https://iq.opengenus.org/advantages-of-svm/Google ScholarGoogle Scholar
  7. LeCun, Y., Cortes, C., & Burges, C. J. C. (1999). MNIST handwritten digit database [The MNIST database of handwritten digits has a training set of 60,000 examples, and a test set of 10,000 examples. It is a subset of a larger set available from NIST. The digits have been size-normalized and centered in a fixed-size image.].Google ScholarGoogle Scholar
  8. sentdex. (2016, May 31). Soft Margin SVM - Practical Machine Learning Tutorial with Python p.31 [Video]. YouTube. https://www.youtube.com/watch?v=JHaqodAQqiIGoogle ScholarGoogle Scholar
  9. Dato-on, D. (2018, May 19). MNIST in CSV (Version 2) [Dataset]. https://www.kaggle.com/oddrationale/mnist-in-csvGoogle ScholarGoogle Scholar
  10. Cortes, C., & Vapnik, V. (1995). Support-vector networks. Machine Learning, 20 (3), 273–297. https://doi.org/10.1007/bf00994018Google ScholarGoogle ScholarDigital LibraryDigital Library
  11. Islam, M., Anh Dinh, Wahid, K., & Bhowmik, P. (2017). Detection of potato diseases using image segmentation and multiclass support vector machine.2017 IEEE 30th Canadian Conference on Electrical and Computer Engineering (CCECE). https://doi.org/10.1109/ccece.2017.7946594Google ScholarGoogle Scholar
  12. Khemchandani, R., & Sharma, S. (2016). Robust least squares twin support vector machine for human activity recognition. Applied Soft Computing, 47, 33–46. https://doi.org/10.1016/j.asoc.2016.05.025Google ScholarGoogle ScholarDigital LibraryDigital Library
  13. Aida-zade, K., Xocayev, A., & Rustamov, S. (2016). Speech recognition using Support Vector Machines.2016 IEEE 10th International Conference on Application of Information and Communication Technologies (AICT). https://doi.org/10.1109/icaict.2016.7991664Google ScholarGoogle Scholar
  14. Katiyar, G. (2017). Off-Line Handwritten Character Recognition System Using Support Vector Machine. American Journal of Neural Networks and Applications, 3 (2), 22. https://doi.org/10.11648/j.ajnna.20170302.12Google ScholarGoogle ScholarCross RefCross Ref
  15. Pisner, D. A., & Schnyer, D. M. (2020). Support vector machine. Machine Learning, 101–121. https://doi.org/10.1016/b978-0-12-815739-8.00006-7Google ScholarGoogle Scholar
  16. Yang, L., & Shami, A. (2020). On hyperparameter optimization of machine learning algorithms: Theory and practice. Neurocomputing, 415, 295–316. https://doi.org/10.1016/j.neucom.2020.07.061Google ScholarGoogle ScholarCross RefCross Ref
  17. de Campos, T., & Varma, M. (2009). The Chars74K image dataset [Dataset]. http://www.ee.surrey.ac.uk/CVSSP/demos/chars74k/Google ScholarGoogle Scholar
  18. Li, L., Jamieson, K., DeSalvo, G., Rostamizadeh, A., & Talwalkar, A. (2017). Hyperband: A novel bandit-based approach to hyperparameter optimization.  The Journal of Machine Learning Research, 18 (1), 6765-6816.Google ScholarGoogle Scholar
  19. Kennedy, J., & Eberhart, R. (1995). Particle swarm optimization. Proceedings of ICNN’95 - International Conference on Neural Networks. https://doi.org/10.1109/icnn.1995.4889684Google ScholarGoogle ScholarCross RefCross Ref
  20. Oliveira, T. (2021, October 2). Numerical Images [Dataset]. https://www.kaggle.com/pintowar/numerical-imagesGoogle ScholarGoogle Scholar
  21. Kröger, O. (2016, January 29). Tensorflow, MNIST and your own handwritten digits. Medium. https://medium.com/@o.kroeger/tensorflow-mnist-and-your-own-handwritten-digits-4d1cd32bbab4Google ScholarGoogle Scholar
  22. sentdex. (2018, August 18). Loading in your own data - Deep Learning basics with Python, TensorFlow and Keras p.2 [Video]. YouTube. https://www.youtube.com/watch?v=j-3vuBynnOE&t=30sGoogle ScholarGoogle Scholar
  23. Otsu, N. (1979). A threshold selection method from gray-level histograms.  IEEE transactions on systems, man, and cybernetics, 9 (1), 62-66.Google ScholarGoogle Scholar
  24. Dey, R., Balabantaray, R. C., & Mohanty, S. (2021). Sliding window based off-line handwritten text recognition using edit distance. Multimedia Tools and Applications. https://doi.org/10.1007/s11042-021-10988-9Google ScholarGoogle ScholarDigital LibraryDigital Library
  25. OpenCV. (n.d.). OpenCV: Geometric Transformations of Images. https://docs.opencv.org/4.x/da/d6e/tutorial_py_geometric_transformations.html#gsc.tab=0Google ScholarGoogle Scholar
  26. Ansari, S. (2020). Building Computer Vision Applications Using Artificial Neural Networks: With Step-by-Step Examples in OpenCV and TensorFlow with Python (1st ed.). Apress.Google ScholarGoogle ScholarCross RefCross Ref
  27. McManus, I. C., Stöver, K., & Kim, D. (2011). Arnheim's Gestalt Theory of Visual Balance: Examining the Compositional Structure of Art Photographs and Abstract Images. I-Perception, 2 (6), 615–647. https://doi.org/10.1068/i0445aapGoogle ScholarGoogle ScholarCross RefCross Ref

Recommendations

Comments

Login options

Check if you have access through your login credentials or your institution to get full access on this article.

Sign in
  • Published in

    cover image ACM Other conferences
    ICCTA '22: Proceedings of the 2022 8th International Conference on Computer Technology Applications
    May 2022
    286 pages
    ISBN:9781450396226
    DOI:10.1145/3543712

    Copyright © 2022 ACM

    Permission to make digital or hard copies of all or part of this work for personal or classroom use is granted without fee provided that copies are not made or distributed for profit or commercial advantage and that copies bear this notice and the full citation on the first page. Copyrights for components of this work owned by others than ACM must be honored. Abstracting with credit is permitted. To copy otherwise, or republish, to post on servers or to redistribute to lists, requires prior specific permission and/or a fee. Request permissions from [email protected]

    Publisher

    Association for Computing Machinery

    New York, NY, United States

    Publication History

    • Published: 20 September 2022

    Permissions

    Request permissions about this article.

    Request Permissions

    Check for updates

    Qualifiers

    • research-article
    • Research
    • Refereed limited
  • Article Metrics

    • Downloads (Last 12 months)15
    • Downloads (Last 6 weeks)1

    Other Metrics

PDF Format

View or Download as a PDF file.

PDF

eReader

View online with eReader.

eReader

HTML Format

View this article in HTML Format .

View HTML Format