Text clustering on computing publication using natural logarithm-based TF-IDF in K-means

Text clustering is essential for organizing large textual datasets, yet the impact of term frequency inverse document frequency (TF-IDF) logarithmic base selection remains underexplored. This study compares natural logarithm and base-10 logarithm in TF-IDF weighting applied to K-Means and hierarchical agglomerative clustering (HAC) of scientific publications from Universitas Negeri Jakarta across Information Systems, Computer Science, and Informatics Education departments. Clustering performance was evaluated using the Davies-Bouldin index (DBI), silhouette coefficient, and Calinski-Harabasz Index across k=2-5. Results show that both bases produce structurally equivalent clustering outcomes, with k=2 consistently optimal across all departments based on DBI and Silhouette, and consistent agreement between K-Means and HAC on this configuration. Stability analysis across five independent random seeds confirms zero variance at k=2 for two departments and the highest Silhouette score for the third. However, natural logarithm yields higher term weight magnitudes with wider contrast between dominant terms, enhancing qualitative interpretability of cluster themes. Thus, logarithm base selection does not affect clustering structure but meaningfully influences term weight representation, with natural logarithm preferred for thematic analysis. This provides clear, empirically grounded guidance for TF-IDF-based text clustering pipelines. This approach can be further extended to hybrid weighting techniques and additional clustering algorithms.

Authors

Institutions

Publication Details

Journal
International Journal of Informatics and Communication Technology (IJ-ICT)
Published
2026-10-30
DOI
https://doi.org/10.11591/ijict.v15i4.pp1635-1647
Primary Topic
Advanced Clustering Algorithms Research
Type
article
Field-Weighted Citation Impact
0.00

Funders

Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Text clustering on computing publication using natural logarithm-based TF-IDF in K-means

Ressy Dwitias Sari, Widodo Widodo, Jiel Vayad Ramadhan
International Journal of Informatics and Communication Technology (IJ-ICT)
Advanced Clustering Algorithms Research
article

Text clustering on computing publication using natural logarithm-based TF-IDF in K-means

Ressy Dwitias Sari, Widodo Widodo, Jiel Vayad Ramadhan
article en

Abstract

Text clustering is essential for organizing large textual datasets, yet the impact of term frequency inverse document frequency (TF-IDF) logarithmic base selection remains underexplored. This study compares natural logarithm and base-10 logarithm in TF-IDF weighting applied to K-Means and hierarchical agglomerative clustering (HAC) of scientific publications from Universitas Negeri Jakarta across Information Systems, Computer Science, and Informatics Education departments. Clustering performance was evaluated using the Davies-Bouldin index (DBI), silhouette coefficient, and Calinski-Harabasz Index across k=2-5. Results show that both bases produce structurally equivalent clustering outcomes, with k=2 consistently optimal across all departments based on DBI and Silhouette, and consistent agreement between K-Means and HAC on this configuration. Stability analysis across five independent random seeds confirms zero variance at k=2 for two departments and the highest Silhouette score for the third. However, natural logarithm yields higher term weight magnitudes with wider contrast between dominant terms, enhancing qualitative interpretability of cluster themes. Thus, logarithm base selection does not affect clustering structure but meaningfully influences term weight representation, with natural logarithm preferred for thematic analysis. This provides clear, empirically grounded guidance for TF-IDF-based text clustering pipelines. This approach can be further extended to hybrid weighting techniques and additional clustering algorithms.

International Journal of Informatics and Communication Technology (IJ-ICT)Vol. 15(4)
State University of Jakarta (ID)
Universitas Negeri Jakarta
Openalex Percentile: Top 14%
Advanced Clustering Algorithms Research
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

Laika access coming soon
Text clustering on computing publication using natural logarithm-based TF-IDF in K-means — Ressy Dwitias Sari, Widodo Widodo, et al. · International Journal of Informatics and Communication Technology (IJ-ICT) (2026) | TGRS Research Map | TGRS