Heart Disease Prediction Using k-Nearest Neighbor Classifier Based on Handwritten Text

  • Seema Kedar
  • D. S. Bormane
  • Vaishnavi Nair
Conference paper
Part of the Advances in Intelligent Systems and Computing book series (AISC, volume 410)


Heart diseases are the major cause of mortality in developed as well as developing countries. Early prediction of heart disease is required to reduce the number of deaths occurring due to it and by using handwriting analysis we can achieve this. Handwriting of an individual shows the presence of a heart disease even before physical symptoms appear. The proposed system predicts presence of heart disease based on handwriting analysis using k-Nearest Neighbor classifier. It extracts ten writing features namely right slant, left slant, vertical lines, horizontal lines, total length of vertical baselines, total number of left slant lines, total length of horizontal baselines, total number of right slant lines, pen pressure and size from a writing sample and using this information it predicts heart disease and risk factors for heart disease like low blood pressure, and diabetes. The proposed system provides 75 % accuracy.


Heart disease Handwriting analysis Writing features k-NN 


  1. 1.
    Cardiovascular diseases in India Challenges and way ahead. International Heart Protection Summit (2011)Google Scholar
  2. 2.
  3. 3.
    World Heart Federation:
  4. 4.
    Gupta, R., Guptha, S., Sharma, K.K., Gupta, A., Deedwania, P.: Regional variations in cardiovascular risk factors in India: India heart watch. World J. Cardiol. 112–120. ISSN:1949-8462. © 2012 Baishideng (2012)Google Scholar
  5. 5.
    World Health Organization:
  6. 6.
    Chauhan, S., Aeri, B.T.: Prevalence of cardiovascular disease in India and it is economic impact-a review. Int. J. Sci. Res. Publ. 3(10) (2013). ISSN:2250–3153Google Scholar
  7. 7.
    The Indian Express Archive:
  8. 8.
  9. 9.
  10. 10.
    Dangare, C.S., Apte, S.S.: A data mining approach for prediction of heart disease using neural networks. Int. J. Comput. Eng. Technol. (IJCET) 3(3), 30–40 (2012). ISSN:0976 – 6367(Print). ISSN:0976 – 6375Google Scholar
  11. 11.
    British Heart Foundation:
  12. 12.
  13. 13.
  14. 14.
    Johan Antony, D., Cap, O.F.M.: A textbook of handwriting analysis, personality profile through handwriting analysis. Anugraha Publications, India (2008)Google Scholar
  15. 15.
    Abdul Rahiman, M., Diana, V., Manoj Kumar, G.: HABIT-handwriting analysis based individualistic traits prediction. Int. J. Image Process. (IJIP) 7(2) (2013)Google Scholar
  16. 16.
    Kedar, S.,. Nair, V., Kulkarni, S.: Personality identification through handwriting analysis: a review. Int. J. Adv. Res. Comput. Sci. Softw. Eng. 5(1), (2015)Google Scholar
  17. 17.
    Strang, C.: Handwriting in the early detection of disease—a research study. Graphol.: J. British Inst. Graphol. 31(1), 118 (2013)Google Scholar
  18. 18.
  19. 19.
    Dr. Manoj Thakur Blog:
  20. 20.
    Kavitha, K.S., Ramakrishnan, K.V., Singh, M.K.: Modeling and design of evolutionary neural network for heart disease detection. IJCSI Int. J. Comput. Sci. Issues 7(5), 272–283 (2010)Google Scholar
  21. 21.
    Elbedwehy1, M.N., Zawbaa†, H.M., Ghali‡, N., Hassanien†, A.E.: Detection of heart disease using binary particle swarm optimization. Egypt Scientific Research Group in EgyptGoogle Scholar
  22. 22.
    Kumar, S., Kaur, G.: Detection of heart diseases using fuzzy logic. Int. J. Eng. Trends Technol. (IJETT) 4(6) (2013). ISSN:2231-5381Google Scholar
  23. 23.
    Vanisree, K., Singaraju, J.: Decision support system for congenital heart disease diagnosis based on signs and symptoms using neural networks. Int. J. Comput. Appl. 19(6), 0975–8887 (2011)Google Scholar
  24. 24.
    Dileep, D.: A feature extraction technique based on character geometry for character recognition. Department of Electronics and Communication Engineering, Amrita School of Engineering, Kollam, India (2012)Google Scholar
  25. 25.
    Jiawei, H., Micheline, K.: Data mining concepts and techniques, 2nd edn. Elsevier Inc (2006). ISBN:978-1-55860-901-3Google Scholar

Copyright information

© Springer India 2016

Authors and Affiliations

  1. 1.JSPM’s Rajarshi Shahu College of EngineeringSavitribai Phule Pune UniversityPuneIndia

Personalised recommendations