Skip to main content
. 2021 Oct 21;7:e745. doi: 10.7717/peerj-cs.745

Table 5. Results of TF-IDF on sample data.

Term TF(D1) TF(D2) IDF(D1) IDF(D2) TF-IDF(D1) TF-IDF(D2)
chat 1/8 0/1 log(2/1) log(2/1) 0.0376 0
clone 1/8 0/1 log(2/1) log(2/1) 0.0376 0
feel 1/8 0/1 log(2/1) log(2/1) 0.0376 0
free 1/8 0/1 log(2/1) log(2/1) 0.0376 0
hour 1/8 0/1 log(2/1) log(2/1) 0.0376 0
live 1/8 0/1 log(2/1) log(2/1) 0.0376 0
music 0/8 1/1 log(2/1) log(2/1) 0 0.301
Online 1/8 0/1 log(2/1) log(2/1) 0.0376 0
twitch 1/8 0/1 log(2/1) log(2/1) 0.0376 0