Skip to content

Commit

Permalink
⬆️ clusim integration
Browse files Browse the repository at this point in the history
  • Loading branch information
GiulioRossetti committed May 14, 2024
1 parent 417d17a commit 7ff177c
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion cdlib/evaluation/comparison.py
Original file line number Diff line number Diff line change
Expand Up @@ -1157,6 +1157,11 @@ def sample_expected_sim(
clustering1 = Clustering(elm2clu_dict=__transform_partition(first_partition))
clustering2 = Clustering(elm2clu_dict=__transform_partition(second_partition))
score = sim.sample_expected_sim(
clustering1, clustering2, measure=measure, n_samples=n_samples, random_model=random_model, keep_samples=keep_samples
clustering1,
clustering2,
measure=measure,
n_samples=n_samples,
random_model=random_model,
keep_samples=keep_samples,
)
return MatchingResult(score=score)

0 comments on commit 7ff177c

Please sign in to comment.