Open Computer Science (Aug 2019)

Efficient Hyperparameter Tuning with Grid Search for Text Categorization using kNN Approach with BM25 Similarity

  • Ghawi Raji,
  • Pfeffer Jürgen

DOI
https://doi.org/10.1515/comp-2019-0011
Journal volume & issue
Vol. 9, no. 1
pp. 160 – 180

Abstract

Read online

In machine learning, hyperparameter tuning is the problem of choosing a set of optimal hyperparameters for a learning algorithm. Several approaches have been widely adopted for hyperparameter tuning, which is typically a time consuming process. We propose an efficient technique to speed up the process of hyperparameter tuning with Grid Search. We applied this technique on text categorization using kNN algorithm with BM25 similarity, where three hyperparameters need to be tuned. Our experiments show that our proposed technique is at least an order of magnitude faster than conventional tuning.

Keywords