neo4j / graph-data-science

Source code for the Neo4j Graph Data Science library of graph algorithms.
https://neo4j.com/docs/graph-data-science/current/
Other
596 stars 157 forks source link

Failed to invoke procedure gds.beta.pipeline.nodeClassification.addNodeProperty Could not find a procedure called gds.alpha.hits.mutate #232

Closed afs091 closed 1 year ago

afs091 commented 1 year ago

Bug Description

Hi, I am trying to add the HITS algorithm to my pipeline but I got the following error:

Failed to invoke procedure `gds.beta.pipeline.nodeClassification.addNodeProperty`: Caused by: java.lang.IllegalArgumentException: Could not find a procedure called gds.alpha.hits.mutate

To Reproduce

CALL gds.beta.pipeline.nodeClassification.create('pipeline')
CALL gds.beta.pipeline.nodeClassification.addNodeProperty(
                    'pipeline',
                    'alpha.hits',
                    {
                        authProperty: 'nodeAuth',
                        hubProperty: 'nodeHub'
                    }
                    )

The procedure is present when I list the gds HITS procedures

CALL gds.list("hits")
YIELD name, description
RETURN name, description;

╒════════════════════════════════╤═════════════════════════════════════════════════════════════════════════════════════╕
│"name"                          │"description"                                                                        │
╞════════════════════════════════╪═════════════════════════════════════════════════════════════════════════════════════╡
│"gds.alpha.hits.mutate"         │"Hyperlink-Induced Topic Search (HITS) is a link analysis algorithm that rates nodes"│
├────────────────────────────────┼─────────────────────────────────────────────────────────────────────────────────────┤
│"gds.alpha.hits.mutate.estimate"│"Returns an estimation of the memory consumption for that procedure."                │
├────────────────────────────────┼─────────────────────────────────────────────────────────────────────────────────────┤
│"gds.alpha.hits.stats"          │"Hyperlink-Induced Topic Search (HITS) is a link analysis algorithm that rates nodes"│
├────────────────────────────────┼─────────────────────────────────────────────────────────────────────────────────────┤
│"gds.alpha.hits.stats.estimate" │"Returns an estimation of the memory consumption for that procedure."                │
├────────────────────────────────┼─────────────────────────────────────────────────────────────────────────────────────┤
│"gds.alpha.hits.stream"         │"Hyperlink-Induced Topic Search (HITS) is a link analysis algorithm that rates nodes"│
├────────────────────────────────┼─────────────────────────────────────────────────────────────────────────────────────┤
│"gds.alpha.hits.stream.estimate"│"Returns an estimation of the memory consumption for that procedure."                │
├────────────────────────────────┼─────────────────────────────────────────────────────────────────────────────────────┤
│"gds.alpha.hits.write"          │"Hyperlink-Induced Topic Search (HITS) is a link analysis algorithm that rates nodes"│
├────────────────────────────────┼─────────────────────────────────────────────────────────────────────────────────────┤
│"gds.alpha.hits.write.estimate" │"Returns an estimation of the memory consumption for that procedure."                │
└────────────────────────────────┴─────────────────────────────────────────────────────────────────────────────────────┘

GDS version: 2.2.1 Neo4j version: 4.4.12 Operating system: (Ubuntu focal 20.04)

Thank you for your attention!

adamnsch commented 1 year ago

Hi @afs091,

Thanks for your report. I have confirmed that this is indeed a bug. We will work on a fix and get back to you. I'm not able to give an estimate at this time on when we can deliver it unfortunately.

Regards, Adam

FlorentinD commented 1 year ago

Hey @afs091, Also thanks again for your report. You can find the bugfix in the latest version of GDS (2.2.4).

If this unexpectedly does not fix your issue, please reopen this issue!