{'fraction_non_alphanumeric': 0.01646090534979424, 'fraction_numerical': 0.0, 'mean_word_length': 5.576576576576577, '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}}
A Comparison of Decision Tree and Logistic Regression Model

 ABSTRACT This paper applies a decision tree model and logistic regression models to a real transportation problem, compares results of these two methods and presents model building procedures as well. The data set is partitioned into train, validation and test data. Due to the skewness of some variables, the variable transformation technique has been conducted and a transformed logistic regression is built. The logistic regression models perform better than tree model, while the non-transformed logistic regression model and transformed regression model are indistinguishable. The non-transformed regression model is recommended for this transportation problem.