Skip to content
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

Add Pagerank #14

Open
2 tasks
newmanrs opened this issue Jul 4, 2021 · 0 comments
Open
2 tasks

Add Pagerank #14

newmanrs opened this issue Jul 4, 2021 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@newmanrs
Copy link
Owner

newmanrs commented Jul 4, 2021

If graph data library (GDS) is installed,

CALL gds.graph.create.cypher(
    'full_graph',
    'MATCH (n) RETURN id(n) AS id',
    'MATCH (n)-[e]-(m) RETURN id(n) AS source, e.weight AS weight, id(m) AS target'
)
CALL gds.pageRank.write('full_graph', {
    maxIterations: 200,
    dampingFactor: 0.85,
    writeProperty: 'full_pagerank'})

Results of above queries pass the plausibility test of the most central Hops at Cloudburst being by far Citra (see attachment)
image

  • Add these steps to ETL script
  • Add exception handling to pass if GDS is missing.
@newmanrs newmanrs added the enhancement New feature or request label Jul 4, 2021
@newmanrs newmanrs self-assigned this Jul 4, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant