|
|
Le 14.10.2007 21:49, Christian Froeschlin nous fit lire :
>
> If product is 0 and d[i] is 0 you still need to compute z[i]
> using option 1/?
No, in such case, z[i]=1/count of null in d[] | for i where d[i]=0, and
z[j]=0 for everyone else.
Does not really matter, as anyway, at the end, sum of z[] is made to 1.
So, setting z[i]=1 is just fine here.
>
> That would be a sensible course of action if the
> actual numbers can be very large or very small.
They do.
Thanks you.
--
The superior man understands what is right;
the inferior man understands what will sell.
-- Confucius
Post a reply to this message
|
|