# Node Similarity Algorithm

**URL:** <https://community.neo4j.com/t/node-similarity-algorithm/12889>\
**Category:** Graph Data Science / Graph Analytics\
**Created:** [December 16, 2019, 6:57pm UTC](https://community.neo4j.com/t/node-similarity-algorithm/12889 "2019-12-16T18:57:11Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![guinametal](https://sea1.discourse-cdn.com/flex021/user_avatar/community.neo4j.com/guinametal/32/7961_2.png) [@guinametal](https://community.neo4j.com/u/guinametal)\
**Post date:** [December 16, 2019, 6:57pm UTC](https://community.neo4j.com/t/node-similarity-algorithm/12889/1 "2019-12-16T18:57:11Z")

</div>

Hi all,

Reading the docs, I've found an algorithm called Node Similarity ([https://neo4j.com/docs/graph-algorithms/current/algorithms/node-similarity/](https://neo4j.com/docs/graph-algorithms/current/algorithms/node-similarity/)), supposed to be called by "CALL algo.nodeSimilarity". However, calling it raises a "Neo.ClientError.Procedure.ProcedureNotFound" exception, so it seems being not available in "algo". If I list "algo" procedures with "CALL algo.list()", nodeSimilarity also does not appear.

What am I doing wrong?

I'm using neo4j-community server 3.5.12 with "algo" installed.

---

<div class="post-metadata">

**Author:** ![mike.cohan](https://sea1.discourse-cdn.com/flex021/user_avatar/community.neo4j.com/mike.cohan/32/4619_2.png) [@mike.cohan](https://community.neo4j.com/u/mike.cohan)\
**Post date:** [December 16, 2019, 11:30pm UTC](https://community.neo4j.com/t/node-similarity-algorithm/12889/2 "2019-12-16T23:30:56Z")

</div>

I had something similar at first using Graph Algorithms on 3.5.12 and fixed by adjusting Other Neo4j system properties in Conf file:

dbms.security.procedures.whitelist=algo.\*  
dbms security.procedures.unrestricted=algo.\*

Those are in addition to any other plugins you are using. I was told it is redundant, but listing .algo\* under both was my fix to get louvain working-same thing, wasn't appearing in CALL algo.list(). Maybe try that...

---

<div class="post-metadata">

**Author:** ![guinametal](https://sea1.discourse-cdn.com/flex021/user_avatar/community.neo4j.com/guinametal/32/7961_2.png) [@guinametal](https://community.neo4j.com/u/guinametal)\
**Post date:** [December 17, 2019, 1:27pm UTC](https://community.neo4j.com/t/node-similarity-algorithm/12889/3 "2019-12-17T13:27:56Z")

</div>

@mike.cohan, I believe everything is ok with my conf file. With regard to installed plugins, my conf reads:

```auto
dbms.security.procedures.unrestricted=apoc.*,algo.*
dbms.security.procedures.whitelist=apoc.*, algo.*

```

The correspondent jars are located in the plugins/ directory.

The louvain algorithm is listed if I "CALL algo.list()"

---

<div class="post-metadata">

**Author:** ![mike.cohan](https://sea1.discourse-cdn.com/flex021/user_avatar/community.neo4j.com/mike.cohan/32/4619_2.png) [@mike.cohan](https://community.neo4j.com/u/mike.cohan)\
**Post date:** [December 17, 2019, 3:25pm UTC](https://community.neo4j.com/t/node-similarity-algorithm/12889/4 "2019-12-17T15:25:06Z")

</div>

@guinametal Louvain was what I was looking for when I had a similar issues-CALL algo.list() not displaying the full list of Graph Algorithms. Attached shot is of my Other Neo4j system properties

Another thing you might want to try is downloading:

- neo4j-community-3.5.14-windows.zip  
-neo4j-graph-algorithms-3.5.13.0-standalone.jar

Looks like 3.5.14 was released today-I just did this to test before I responded and is fine for me. Had the issue was community 3.5.11 and this, along with updating conf file fixed it:

1. Download neo4j-community-3.5.14-windows.zip from [https://neo4j.com/download-center/](https://neo4j.com/download-center/)
2. Download neo4j-graph-algorithms-3.5.13.0-standalone.jar (latest) from [https://neo4j.com/download-center/](https://neo4j.com/download-center/)
3. Unzip both
4. Copy all files/folders/jars except graph-algorithms and the [READ.ME](http://READ.ME) from 3.5.12 plugins to 3.5.14 plugins folder
5. Take unzipped neo4j-graph-algorithms-3.5.13.0-standalone.jar and put in 3.5.14 plugins folder
6. Clone import folder contents from 3.5.12 to 3.5.14
7. Clone data folder from 3.5.12 to 3.5.14
8. Move conf file from 3.5.14 to a different folder outside of what you are doing and move your conf file from 3.5.12 to 3.5.14

-Then use neo4j as were, but to load in CMD line, would type in cd "new path to 3.5.14"  
-Also, will need to set new password for 3.5.14 during :server connect  
-default is username: "neo4j" password: "neo4j"

 ![neo4](https://us1.discourse-cdn.com/flex021/uploads/neo4jcommunity/original/2X/e/e35c9ab505990ba4708fba04b8b537fbe9078855.png)

---

<div class="post-metadata">

**Author:** ![alicia.frame](https://sea1.discourse-cdn.com/flex021/user_avatar/community.neo4j.com/alicia.frame/32/4507_2.png) [@alicia.frame](https://community.neo4j.com/u/alicia.frame)\
**Post date:** [December 18, 2019, 9:48am UTC](https://community.neo4j.com/t/node-similarity-algorithm/12889/5 "2019-12-18T09:48:00Z")

</div>

Node similarity is new as of the 3.5.13 release, so it won't be in earlier jars 🙂

For Louvain, check out `algo.beta.louvain` - we have a new, optimized implementation (about 3x faster) that's been released under the beta namespace as a preview before we release an overhauled library in January.

---

<div class="post-metadata">

**Author:** ![mike.cohan](https://sea1.discourse-cdn.com/flex021/user_avatar/community.neo4j.com/mike.cohan/32/4619_2.png) [@mike.cohan](https://community.neo4j.com/u/mike.cohan)\
**Post date:** [December 27, 2019, 6:32pm UTC](https://community.neo4j.com/t/node-similarity-algorithm/12889/6 "2019-12-27T18:32:49Z")

</div>

Oh cool. Thank you for the confirmation Alicia 🙂
