Show HN: Focus Firewall – a realistic distraction blocker for Mac
focusfirewall.com6 pointsby andredieb0 comments
c = argmax_{c \in C} (log(P(c)) + Sum_i (N_{d,d_i} \times log(P(d_i|c)))
where c - best class
C - set of classes
P(c) - prior prob. of class c
P(d_i|c) - conditional of the word d_i on the class c and
N_{d,d_i} - frequency of word d_i in document d
Excuse me for the possibly weird notation.