Skip to content

Question about can_use_edge_weights() #58

Description

@Rsugihara01

Hey,
I am using grape to evaluate some embedding methods on my graphs I made with Graph.from_pd().
My graphs are directed graph with weighted edges.

When I looked help(Node2VecCBOWEnsmallen), it says

 |  can_use_edge_weights() -> bool from builtins.type
 |      Returns whether the model can optionally use edge weights.

I'm sorry if I've missed any reading, but I couldn't find any arguments to state whether to use edge weights.

Does it mean when embedder.can_use_edge_weights() returns True and the graph has edge weights,
any embedder just uses edge weights automatically?
and if i want to change the graph to unweighted edges, I need to remake graph using Graph.from_pd() and delete argument edge_weight_column to make graph unweighted edge?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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