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
{{ message }}
This repository was archived by the owner on Aug 19, 2020. It is now read-only.
Am a newbie here. I'm currently exploring various community discovery algorithms using Circulo. I'm getting an error message while running the metrics script. Please help me resolve this issue.
Dataset : karate
Error message:
Running metrics against karate--conga--0
max() takes 1 positional argument but 2 were given
Traceback (most recent call last):
File "run_metrics.py", line 131, in analyze_json
results_cover.compute_metrics(weights=weights, ground_truth_cover=ground_truth_cover )
File "/home/user/circulo/circulo/metrics/cover.py", line 276, in compute_metrics
max_out_results = maximum_out_degree_fraction(cover, odf=odf, weights=weights)
File "/home/user/circulo/circulo/metrics/cover.py", line 160, in maximum_out_degree_fraction
max_seen = odf.max(0).tocsc()
TypeError: max() takes 1 positional argument but 2 were given