{'fraction_non_alphanumeric': 0.010771992818671455, 'fraction_numerical': 0.009874326750448833, 'mean_word_length': 5.059782608695652, '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}}
Predicting the existence of mycobacterium tuberculosis infection by Bayesian Networks and Rough Sets

A correct diagnosis of tuberculosis can be only stated by applying a medical test to patient's phlegm. The result of this test is obtained after a time period of about 45 days. The purpose of this study is to develop a data mining solution which makes diagnosis of tuberculosis as accurate as possible and helps deciding if it is reasonable to start tuberculosis treatment on suspected patients without waiting the exact medical test results. In this research, we compared the use of Bayesian Networks and Rough Sets to predict the existence of mycobacterium tuberculosis. 503 different patient records having 30 separate input parameters are obtained from a private clinic and used in the entire process of this research. The Bayesian Network model classifies the instances with RMSE of 22% whereas Rough Set algorithm does the same classification with RMSE of 37%. As a result, Bayesian Network is an accurate and reliable method when compared with Rough Set method for classification of tuberculosis patients.