cancel
Showing results for 
Search instead for 
Did you mean: 

Head's Up! Site migration is underway. Phase 2: migrate recent content

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

sakshi
Node

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