-
Notifications
You must be signed in to change notification settings - Fork 161
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
mutateNodeProperties mutateRelationship #155
Comments
Hello @alexpappasc, thanks for the feature request. Cheers |
Thank you for the update @soerenreichardt . 1 step: calculate score from multiple centrality algorithms in order to do that we have to:
If those procedures being exposed to the user then:
e.g. mutate a user defined score which can take values from the in-memory graph, or any value from the cypher query and store it to the in-memory graph:
this wont be efficient for many nodes but its just an example. The feature request is to expose the functionality which already exists in the algorithms, where mutate node properties and relationships is already possible. Regarding the second example, the error message should be fixed then. relationshipWeightProperty is related to the property that already exists to the in memory graph and not to the mutateRelationshipType. Weighted and unWeight algorithms should have the same error message in this case right? |
Hej @alexpappasc, |
Current implementation let the user to store information to the in-memory graph, only when using the mutate mode of graph algorithms.
The following procedures will give this option to the user:
gds.graph.mutateNodeProperties
gds.graph.mutateRelationship
E.g. mutate in_degree and out_degree and need to mutate in_out_degree to the in-memory graph.
P.S. mutateRelationshipType accepts only new relationType and do not accept new property on existing relationType.
If the above query run twice (or other algo mutate already rel type 'SIMILARITY') will throw exception
While if we run the query with relationshipWeightProperty:
The text was updated successfully, but these errors were encountered: