Graph projections

Hello @MeghanaS :blush:

Do you have a name property on your source and target node?

Regards,
Cobra

Hello @MeghanaS :blush:

Do you have a name property on your source and target node?

Regards,
Cobra

Hello @MeghanaS :blush:

Do you have a name property on your source and target node?

Regards,
Cobra

Yes, The mistake was something else. Thank you :slightly_smiling_face:

How do I add existing Node properties in the projection to the ML pipeline? The

gds.beta.pipeline.linkPrediction.addNodeProperty procedure creates node embeddings as new node properties to the pipeline but how do I add existing ones? Getting the below error even though the properties are projected in the memory graph.

Failed to invoke procedure `gds.beta.pipeline.linkPrediction.train`: Caused by: java.lang.IllegalArgumentException: Node properties [property1, property2, property3] defined in the feature steps do not exist in the graph or part of the pipeline

Is gds.alpha.ml.oneHotEncoding() not present in Neo4j 4.4.2 with gds 2.1.4? I am getting the below error. I have installed all gds.* procedures and can find other alpha procedures but this.

There is no procedure with the name `gds.alpha.ml.oneHotEncoding` registered for this database instance. Please ensure you've spelled the procedure name correctly and that the procedure is properly deployed.

With the gds.beta.pipeline.linkPrediction.addNodeProperty() procedure?

That's weird, GDS version 2.1 has this procedure. Can you share your query?

I just did a call , `call gds.alpha.ml.oneHotEncoding()` without any parameters. It should have thrown me parameter missing error but instead it says procedure not found.

Remove the CALL keyword front of the function:

Example:

RETURN gds.alpha.ml.oneHotEncoding(['Chinese', 'Indian', 'Italian'], ['Italian']) AS embedding

yes, working now. Thanks

I have used this to create a new node property. What I want is to add existing node property from my projected graph to the pipeline

And gds.beta.pipeline.linkPrediction.addFeature() function? Otherwise I don't know.

I have used this to create a new node property. What I want is to add existing node property from my projected graph to the pipeline

And gds.beta.pipeline.linkPrediction.addFeature() function? Otherwise I don't know.

Okay thank you
(migrated from khoros post Re: Graph projections - Neo4j - 57884)