Yes because the matrix A’A is not necessarily boolean. The actual value is 
ignored but it’s in the matrix so the colSums was not correct.

On Aug 6, 2014, at 4:54 PM, Dmitriy Lyubimov <dlie...@gmail.com> wrote:

is this

   val bcastNumInteractions =
drmBroadcast(drmI.numNonZeroElementsPerColumn)

any different from just saying `drmI.colSums`?


On Wed, Aug 6, 2014 at 4:49 PM, Dmitriy Lyubimov <dlie...@gmail.com> wrote:

> 
> 
> 
> On Wed, Aug 6, 2014 at 4:21 PM, Dmitriy Lyubimov <dlie...@gmail.com>
> wrote:
> 
> I suppose in that context LLR is considered a distance (higher scores mean
>> more `distant` items, co-occurring by chance only)?
>> 
> 
> Self-correction on this one -- having given a quick look at llr paper
> again, it looks like it is actually a similarity (higher scores meaning
> more stable co-occurrences, i.e. it moves in the opposite direction of
> p-value if it had been a classic  test
> 
> 
>> [1] http://ssc.io/wp-content/uploads/2012/06/rec11-schelter.pdf
>> 
>> -d
>> 
> 
> 

Reply via email to