cancel
Showing results for 
Search instead for 
Did you mean: 

Head's Up! These forums are read-only. All users and content have migrated. Please join us at community.neo4j.com.

How can one predict links only for one node in the network

How can one predict links only for one node in the network. I am using this solution at the moment to predict link for only one node with label onechaintopoi. But I would like to possible links between onechaintopoi and other nodes with label Node in the network. My current solution also predicts links between other nodes with label Node. I would like to limit this prediction only between onechaintopoi and Node.

 CALL gds.alpha.ml.linkPrediction.predict.('POI2', {
  modelName: 'mylinkpredict_with_embedding',
  relationshipTypes: ['onechaintopoi'],
  nodeLabels:['onechaintopoi','Node'],
  mutateRelationshipType: 'PREDICTED',
  sampleRate: 0.5,
  topK: 1000,
  randomJoins: 5,
  maxIterations: 10,
  deltaThreshold : 0.0001,
  concurrency: 1,
  randomSeed: 42
});
0 REPLIES 0