String Node properties and Relationship Properties projection

Hi All,

I have just started on neo4j GDS and currently working on Link Prediction use case. I wish to use split the graph into train and test based on a string type relation. i.e., Train sample will contain graph with the relation and test sample will contain graph without the relation. To do this I tried to project my nodes, relations along with their properties but seems like projection of string type properties are not allowed. I am new to neo4j and not able to find any resource that explains my use case. Any help would be appreciated. Thanks in advance.

Hello @MeghanaS :blush:

You should have a look at One Hot Encoding to handle string values.

Regards,
Cobra