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 trying to construct the W weight matrix to work with lap_score on the following simple dataset: employes-region.txt. I've tried the following code, which is provided as an example in file test_lap_score.py:
Hi there,
I'm trying to construct the
W
weight matrix to work withlap_score
on the following simple dataset: employes-region.txt. I've tried the following code, which is provided as an example in filetest_lap_score.py
:Unfortunately, it fails with the following exception at line 152 of file
construct_W.py
:I've gone through the code, and I think that the problem's that the dimensions of
G
are wrong. This is the piece of code involved in the exception:I think that there's a problem at line
*** 1
. Should it computeidx
using dump? I mean:And the other problem is at the lines
*** 2
. Shouldn't they usek
as a multiplier instead ofk+1
? That is:I've fixed my local installation using this path and I've run the system on a large collection with 200+ datasets. It works correctly now.
I've seen that there are many other lines in which a similar patch might apply, bu I haven't tried other configuration options.
Thanks! Regards
The text was updated successfully, but these errors were encountered: