Tutorials

(Tutorial) Basic Usage of the Manifold TSM R Package

von-Mises Fisher distribution We simulate \(n=1000\) samples from a von-Mises distribution with mean direction \((\pi/2, \pi)\) on the sphere, using the rvmf function from the Rfast package. # Simulated VMF n = 1000 centre = c(pi/2, pi) centre_euclid = sphere_to_euclid(centre) set.

(Tutorial) Exploring Natural Language Embeddings

Interested in how to plot BERT embeddings for different text? In the example linked, I obtained BERT embeddings for all the sentences from the book series ‘A Song of Ice and Fire’ (ASOIAF), the original novels which gave birth to the ‘A Game of Thrones’ TV show.