Skip to content

Commit

Permalink
add visibility to db example connection comments
Browse files Browse the repository at this point in the history
  • Loading branch information
BorjaEst committed Dec 15, 2022
1 parent 1193972 commit cf782c6
Showing 1 changed file with 16 additions and 14 deletions.
30 changes: 16 additions & 14 deletions examples/database_evolution.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -58,8 +58,8 @@
"outputs": [],
"source": [
"# URI examples: \"neo4j://localhost\", \"neo4j+s://xxx.databases.neo4j.io\"\n",
"URI = \"bolt:\" # \"<URI for Neo4j database>\"\n",
"AUTH = \"\" # (\"<Username>\", \"<Password>\")\n",
"URI = \"bolt:\" # URI for Neo4j database\n",
"AUTH = \"\" # (Username, Password)\n",
"\n",
"with GraphDatabase.driver(URI, auth=AUTH) as driver:\n",
" driver.verify_connectivity()\n"
Expand All @@ -85,16 +85,18 @@
"name": "stderr",
"output_type": "stream",
"text": [
"2022-12-15 08:51:44,230 - gevopy.Experiment - INFO\n",
" [3c64603d-ed14-4b72-9fd3-ab67e3c3f783]: [gen:0]: Start of evolutionary experiment execution\n",
"2022-12-15 08:51:44,267 - gevopy.Experiment - INFO\n",
" [3c64603d-ed14-4b72-9fd3-ab67e3c3f783]: [gen:1]: Completed cycle; 9\n",
"2022-12-15 08:51:44,286 - gevopy.Experiment - INFO\n",
" [3c64603d-ed14-4b72-9fd3-ab67e3c3f783]: [gen:2]: Completed cycle; 9\n",
"2022-12-15 08:51:44,309 - gevopy.Experiment - INFO\n",
" [3c64603d-ed14-4b72-9fd3-ab67e3c3f783]: [gen:3]: Completed cycle; 10\n",
"2022-12-15 08:51:44,310 - gevopy.Experiment - INFO\n",
" [3c64603d-ed14-4b72-9fd3-ab67e3c3f783]: [gen:3]: Experiment execution completed successfully\n"
"2022-12-15 09:06:03,357 - gevopy.Experiment - INFO\n",
" [44d71da0-2345-4686-842e-b7dbee7000af]: [gen:0]: Start of evolutionary experiment execution\n",
"2022-12-15 09:06:03,391 - gevopy.Experiment - INFO\n",
" [44d71da0-2345-4686-842e-b7dbee7000af]: [gen:1]: Completed cycle; 8\n",
"2022-12-15 09:06:03,411 - gevopy.Experiment - INFO\n",
" [44d71da0-2345-4686-842e-b7dbee7000af]: [gen:2]: Completed cycle; 9\n",
"2022-12-15 09:06:03,433 - gevopy.Experiment - INFO\n",
" [44d71da0-2345-4686-842e-b7dbee7000af]: [gen:3]: Completed cycle; 9\n",
"2022-12-15 09:06:03,454 - gevopy.Experiment - INFO\n",
" [44d71da0-2345-4686-842e-b7dbee7000af]: [gen:4]: Completed cycle; 10\n",
"2022-12-15 09:06:03,455 - gevopy.Experiment - INFO\n",
" [44d71da0-2345-4686-842e-b7dbee7000af]: [gen:4]: Experiment execution completed successfully\n"
]
}
],
Expand All @@ -119,8 +121,8 @@
"data": {
"text/plain": [
"Evolutionary algorithm execution report:\n",
" Executed generations: 3\n",
" Best phenotype: 29f25f6b-2363-4865-8763-829ec4b28ce8\n",
" Executed generations: 4\n",
" Best phenotype: 2123579d-b38d-4f19-8f37-2fd261f83b68\n",
" Best score: 10"
]
},
Expand Down

0 comments on commit cf782c6

Please sign in to comment.