{'fraction_non_alphanumeric': 0.020954598370197905, 'fraction_numerical': 0.002328288707799767, 'mean_word_length': 5.417910447761194, 'pattern_counts': {'":': 0, '<': 0, '<?xml version=': 0, '>': 0, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
Toward predicting medical conditions using k-nearest neighbors

As the healthcare industry becomes more reliant upon electronic records, the amount of medical data available for analysis increases exponentially. While this information contains valuable statistics, the sheer volume makes it difficult to analyze without efficient algorithms. By using machine learning to classify medical data, diagnoses can become more efficient, accurate, and accessible for the public. After choosing k-Nearest Neighbors for its simplicity, we applied it to datasets compiled by the University of California, Irvine Machine Learning Repository to diagnose two conditions — chronic kidney failure and heart disease — with an accuracy of approximately 90%. In the future, similar methods can be used on a larger scale to bring ease of use to the field of medical diagnostics.