Closed Gerwi closed 5 years ago
Hey @Gerwi , just replace the signature["author_name"] with signature in blocking_funcs.py before running "python setup.py install".
Thanks @YashSharma, the error disappeared by making this adjustment. However, I am still wondering whether the library is working properly. Executing this example takes for ever on my I7 processor.
@Gerwi Yes it takes forever to run with n_jobs = -1, change it to 1.
Thanks, that resolved the issue
@YashSharma
Yes it takes forever to run with n_jobs = -1
That's actually intersting, it would mean there is way too much copying between processes. Will have to check it later.
Thanks a lot for the effort put in developing this library. I am unfortunately encountering an issue when running the block_cluster.fit(X) line in one of the examples (it occurs both in python 2 and 3). The only further specification provided by python is that string indices must be integers.
Probably it is a very newbie issue, which might be related to one of the other libraries involved. Below my code:
def affinity(X): """Compute pairwise distances between (author, affiliation) tuples. Note that this function is a heuristic. It should ideally be replaced by a more robust distance function, e.g. using a model learned over pairs of tuples. """ distances = np.zeros((len(X), len(X)), dtype=np.float)
if name == "main":
Load data
print("Paired F-score =", paired_f_score(truth, labels))