Skip to content
This repository was archived by the owner on Aug 19, 2020. It is now read-only.
This repository was archived by the owner on Aug 19, 2020. It is now read-only.

Have trouble in Metrics execution #71

@amanvidura

Description

@amanvidura

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

Thanks!
Aman.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions