Description Usage Arguments Value Examples
View source: R/embeddingTrainer.R
This function make each embedding point theta stay in the unit ball by normalize the vector when Euclidean norm of the point is greater than 1. Please refer to 'vignette' to find the equation for the projection function and detailed ideas.
1 | project(theta_i)
|
- |
A N x 1 vector with N : Embedding space dimension. Each of theta works as proxy of an entity in tree-shape dataset. |
- A N x 1 vector inside the unit ball.
1 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.