I'm trying to implement a tf-idf transformation on my graph in neo4j, on a raw tie as co-occurence. To do that, I need to take the log of the number of nodes divided by the degree of a single node.
Is there a way to use take logarithms in cypher?
Sorry, as of now support for mathematical functions is rather limited: http://docs.neo4j.org/chunked/stable/query-functions-mathematical.html
However you could file a feature request at https://github.com/neo4j/neo4j/issues/new.