Skip to content

The function evaluate is overloaded! #8

Open
@erlebach

Description

@erlebach

Hi,
In evaluation.py, you define the function evaluate twice with different arguments. And yet, Python does not support function overloading. Here are your declarations:

def evaluate(G: object, k: int = 2, method: str = 'all'):

def evaluate(G, dfnodes, graphEdges, method, k):

I do not understand how your examples could work. Any help is appreciated.

Also, could you please provide an uncommented example that calls predict and evaluate that can run as is? At this
time, you include an example in the README.md file, but it does not run properly.

Thanks,

Gordon

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