|
22 | 22 | "cell_type": "markdown",
|
23 | 23 | "metadata": {},
|
24 | 24 | "source": [
|
25 |
| - "### 📝 Import librararies " |
| 25 | + "### 📝 Import libraries " |
26 | 26 | ]
|
27 | 27 | },
|
28 | 28 | {
|
|
82 | 82 | "source": [
|
83 | 83 | "URI = \"bolt://localhost:7687\"\n",
|
84 | 84 | "AUTH = (\"neo4j\", \"changeme\")\n",
|
85 |
| - "DATABASE = \"testdb\"" |
| 85 | + "DATABASE = \"graphembeddingsdemo\"" |
86 | 86 | ]
|
87 | 87 | },
|
88 | 88 | {
|
|
109 | 109 | "cell_type": "markdown",
|
110 | 110 | "metadata": {},
|
111 | 111 | "source": [
|
112 |
| - "Then we do the first import of the first .csv file, holding the (:Party) nodes. This will finish very quickly, as there are only 7-8k nodes." |
| 112 | + "Then we do the first import of the first .csv file, holding the `(:Party)` nodes. This will finish very quickly, as there are only 7-8k nodes." |
113 | 113 | ]
|
114 | 114 | },
|
115 | 115 | {
|
|
131 | 131 | "cell_type": "markdown",
|
132 | 132 | "metadata": {},
|
133 | 133 | "source": [
|
134 |
| - "Next we will import the relationshops. There are approx 430k [:TRANSACTION] relationships, and importing these will take a few minutes." |
| 134 | + "Next we will import the relationshops. There are approx 430k `[:TRANSACTION]` relationships, and importing these will take a few minutes." |
135 | 135 | ]
|
136 | 136 | },
|
137 | 137 | {
|
|
226 | 226 | "source": [
|
227 | 227 | "## <span style=\"color:#ff5f27;\"> 🛠️ Feature Engineering </span>\n",
|
228 | 228 | "## Calculating the node embeddings in Neo4j\n",
|
229 |
| - "For each month of transactions, compute and store embeddings using the `node2vec` library. This uses the GDS library of Neo4j, which [needs to be installed](https://neo4j.com/docs/graph-data-science/current/installation/) on the Neo4j server." |
| 229 | + "For each month of transactions, compute and store embeddings using the `node2vec` algorithm. This uses the GDS library of Neo4j, which [needs to be installed](https://neo4j.com/docs/graph-data-science/current/installation/) on the Neo4j server." |
230 | 230 | ]
|
231 | 231 | },
|
232 | 232 | {
|
|
679 | 679 | "name": "python",
|
680 | 680 | "nbconvert_exporter": "python",
|
681 | 681 | "pygments_lexer": "ipython3",
|
682 |
| - "version": "3.10.13" |
| 682 | + "version": "3.8.18" |
683 | 683 | }
|
684 | 684 | },
|
685 | 685 | "nbformat": 4,
|
|
0 commit comments