cancel
Showing results for 
Search instead for 
Did you mean: 

Head's Up! Site migration is underway. Phase 1: replicate users.

GraphSage didConverge, ranEpochs is Null

zwguai
Node

Hello I have recently started trying Graphsage.

I ran the example on the manual: GraphSAGE - Neo4j Graph Data Science

I got the following results after running:
CALL gds.beta.graphSage.train(
'persons',
{
modelName: 'exampleTrainModel',
featureProperties: ['age', 'heightAndWeight'],
aggregator: 'mean',
activationFunction: 'sigmoid',
sampleSizes: [25, 10]
}
) YIELD modelInfo as info
RETURN
info.name as modelName,
info.metrics.didConverge as didConverge,
info.metrics.ranEpochs as ranEpochs,
info.metrics.epochLosses as epochLosses

Result:

I am currently using Neo4J desktop with Neo4j 4.2.5

Would appreciate any help on this.

2 REPLIES 2

Try dropping the YIELD statement - that will return all the fields, with the correct field names (the NULLs mean those field names likely weren't returned in modelInfo)

zwguai
Node

Thank you for the help!