Description Usage Arguments Details Value Author(s) Examples
Runs the hydra
method and then performs a further optimization step by minimizing the stress of the embedding and optimizing hyperbolic curvature
1 2 3 |
D |
a square symmetric matrix of distances (or dissimiliarities) to be embdedded, can also be a |
dim |
embedding dimension |
curvature |
embedding curvature; if this argument is NULL, hydra tries to find the optimal curvature |
alpha |
real number greater one; adjusts the hyperbolic curvature. Values larger than one yield a more distorted embedding where points are pushed
to the outer boundary (i.e. the ideal points) of hyperblic space. The interaction between |
equi.adj |
equi-angular adjustment; must be a real number between zero and one; only used if |
control |
a list which may contain the following boolean flags:
|
curvature.bias |
Modify curvature before stress minimization by multiplying with |
curvature.freeze |
Freeze the curvature returned by |
curvature.max |
Upper bound for the curvature. If NULL, a defulat bound is used |
maxit |
Maximal number of iterations. This parameter is passed to the optimization routine |
... |
Additional parameters are passed to |
See https://arxiv.org/abs/1903.08977 for more details.
A ‘hydra’ object, which is a list with all or some of the following components:
a vector containing the radial coordinates of the embedded points
a matrix with dim
columns containing as rows the directional coordinates of the embedded points
a vector containing the angular coordinates of the embedded points (only returned if dim
is 2 and polar
flag is TRUE)
the curvature used for the returned embedding
the dimension used for the returned embedding
the stress (i.e. the mean-square difference) between distances supplied in D
and the hyperbolic distance matrix of the returned embedding
the hyperbolic distance matrix of the returned embedding (only returned if flag return.dist
is true. Computation may be time- and memory-intensive.)
a vector containing the 'time-like' coordinate of the raw Lorentz embedding (only returned if flag return.lorentz
is true)
a matrix with dim
columns containing as rows the 'space-like' coordinate of the raw Lorentz embedding (only returned if flag return.lorentz
is true)
Martin Keller-Ressel <martin.keller-ressel@tu-dresden.de>
1 2 3 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.