Uninformed: Informative Information for the Uninformed

Vol 5» 2006.Sep


Modified BayesCompare Metric

Another variant of BayesCompare was investigated. As pointed out above, conditional probability $P(L \vert X)$% WIDTH=58 HEIGHT=32 can become zero if L has a duration that has not yet been learned to be producible by implementation X, perhaps because the print database hasn't been updated for some time. So another version was explored where only duration values that fall in the intersection of an input fingerprint L and a database fingerprint R are included in the calculation of $P(L \vert X)$% WIDTH=58 HEIGHT=32 . So the product becomes $\Pi$% WIDTH=15 HEIGHT=14 R.duration_ratio(d) where d ranges over all durations in L $\cap$% WIDTH=14 HEIGHT=13 R, and $\Pi$% WIDTH=15 HEIGHT=14 R.duration_ratio(p, d) where p and d range over all packet types and durations respectively where duration d occurs in a packet of type p in L $\cap$% WIDTH=14 HEIGHT=13 R.


Figure 4.9: BayesCompare-Modified duration value only analysis



ret = 1.0 
for every duration-value d $\in (L \cap R)$% WIDTH=71 HEIGHT=32  
ret *= R.duration_ratio(d) 
return ret;


Figure 4.10: BayesCompare-Modified (packet-type, duration) analysis



ret = 1.0 
for every packet_type p, duration-value d $\in (L \cap R)$% WIDTH=71 HEIGHT=32  
ret *= R.duration_ratio(p, d) 
return ret;