calculates the jensen-shannon divergence between the two distributions . that is , it calculates 1/2 kl d1 | | avg d1 , d2 + kl d2 | | avg d1 , d2 . concode_field_sep PlaceHolder placeHolder concode_field_sep Distribution<K> average concode_elem_sep double overlap concode_elem_sep Distribution<K> weightedAverage concode_elem_sep double klDivergence concode_elem_sep double informationRadius concode_elem_sep Set<K> getSetOfAllKeys concode_elem_sep double skewDivergence
double function ( Distribution < K > arg0 , Distribution < K > arg1 ) { Distribution < K > loc0 = loc0 ( arg0 , arg1 ) ; double loc1 = klDivergence ( arg0 , loc0 ) ; double loc2 = klDivergence ( arg1 , loc0 ) ; double loc3 = ( loc1 + loc2 ) / 2.0 ; return loc3 ; }