Categorizing Emails Using Machine Learning with Textual Features

Haoran Zhang, Jagadish Rangrej, Saad Rais, Michael Hillmer, Frank Rudzicz, Kamil Malikov

Abstract

We developed an application that automates the process of assigning emails received in a generic request inbox to one of fourteen predefined topic categories. To build this application, we compared the performance of several classifiers in predicting the topic category, using an email dataset extracted from this inbox, which consisted of 8,841 emails over three years. The algorithms ranged from linear classifiers operating on n-gram features to deep learning techniques such as CNNs and LSTMs. For our objective, we found that the best-performing model was a logistic regression classifier using n-grams with TF-IDF weights, achieving 90.9% accuracy. The traditional models performed better than the deep learning models for this dataset, likely in part due to the small dataset size, and also because this particular classification task may not require the ordered sequence representation of tokens that deep learning models provide. Eventually, a bagged voting model was selected which combines the predictive power of the top eight models, with accuracy of 92.7%, surpassing the performance of any of the individual models.
BibTeX
@inproceedings{zhang2019categorizing,
  author = {Haoran Zhang and Jagadish Rangrej and Saad Rais and Michael Hillmer and Frank Rudzicz and Kamil Malikov},
  title = {{Categorizing Emails Using Machine Learning with Textual Features}},
  booktitle = {Canadian AI},
  year = {2019},
  doi = {10.1007/978-3-030-18305-9\_1},
}

Loading related content...

Figure