From ed84665a11ea0cdc0e275ffd08cd16b21865364b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Luk=C3=A1=C5=A1=20Zahradn=C3=ADk?= Date: Wed, 11 Aug 2021 23:28:47 +0200 Subject: [PATCH] Add examples --- examples/DistinguishingNonRegularGraphs.ipynb | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/examples/DistinguishingNonRegularGraphs.ipynb b/examples/DistinguishingNonRegularGraphs.ipynb index 0bb671d8..0b4697c9 100644 --- a/examples/DistinguishingNonRegularGraphs.ipynb +++ b/examples/DistinguishingNonRegularGraphs.ipynb @@ -340,14 +340,14 @@ }, { "cell_type": "code", - "execution_count": 26, + "execution_count": 27, "outputs": [ { "name": "stdout", "output_type": "stream", "text": [ - "Graph a is predicted to be class: 1 | 0.9564615488052368\n", - "Graph b is predicted to be class: 0 | 0.04621277377009392\n" + "Graph Bicyclopentyl is predicted to be class: 1 | 0.9578434228897095\n", + "Graph Decalin is predicted to be class: 0 | 0.04274271801114082\n" ] } ], @@ -357,7 +357,7 @@ "for _ in neuralogic_evaluator.train(train_dataset):\n", " pass\n", "\n", - "graphs = [\"a\", \"b\"]\n", + "graphs = [\"Bicyclopentyl\", \"Decalin\"]\n", "\n", "for graph_id, (label, predicted) in enumerate(neuralogic_evaluator.test(train_dataset)):\n", " print(f\"Graph {graphs[graph_id]} is predicted to be class: {int(round(predicted))} | {predicted}\")\n"