You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm using the gdist.local_gdist_matrix function to get the all to all local distances. There are two problems however that seem wrong with the output:
The output matrix is not symmetric. However, if a distance from i to j is reported, I don't see why the distance from j to i shouldn't be reported. Am I right to expect a symmetric matrix as an output?
Some of the elements of the output matrix are larger than the max_distance provided as an input. Is there something wrong going on in the code?
Thanks.
The text was updated successfully, but these errors were encountered:
From our tests the symmetry is broken only with a small difference (<1e-6) due to precision issues. Have you observed something different ?
Indeed, the max_distance was not considered before. It should be now (after we will merge TVB-2719 Add local_gdist_matrix tests and fix Bug 21 #38 from @ayan-b ). But we still consider acceptable if max_distance will be overcome with a very small Epsilon
Hi,
I'm using the
gdist.local_gdist_matrix
function to get the all to all local distances. There are two problems however that seem wrong with the output:The output matrix is not symmetric. However, if a distance from
i
toj
is reported, I don't see why the distance fromj
toi
shouldn't be reported. Am I right to expect a symmetric matrix as an output?Some of the elements of the output matrix are larger than the
max_distance
provided as an input. Is there something wrong going on in the code?Thanks.
The text was updated successfully, but these errors were encountered: