-
Notifications
You must be signed in to change notification settings - Fork 6
Query nodes from Neo4j
Minh Dung Do edited this page Jan 23, 2022
·
1 revision
RETURN main.queryTrainData("node")
This procedure is used to query the training dataset from Neo4j and populate the global trainDataList in Java Code. "node" stands for the name of the node in Neo4j that the user would like to query.
RETURN main.queryTestData("node")
This procedure is used to query the testing dataset from Neo4j and populate the global testDataList in Java Code. "note" stands for the name of the node in Neo4j that the user would like to query.
RETURN main.queryAutoSplitData("node","train_ratio")
This procedure is used to query the nodes from the Neo4j graph database and split the data based on the training ratio given. "node" stand for the name of the node in Neo4j that the user would like to query. "train_ratio" is the ratio of the training dataset (example: 0.7)