VHRanger / CSRGraph

A tiny library for large graphs
MIT License
111 stars 17 forks source link

Add Dimensional scaling in GGVec #12

Closed VHRanger closed 2 years ago

VHRanger commented 3 years ago

GGVec is currently unstable with high number of dimensions, due to dot products hitting the clipping boundary too often.

This can be done by scaling the dot product by the square root of the number of dimensions as noted in the section 2 "scaling the dot product" here: http://peterbloem.nl/blog/transformers

This should be implemented in the GGVec core algorithm.