Learn R Programming

GeodRegr (version 0.2.0)

Geodesic Regression

Description

Provides a gradient descent algorithm to find a geodesic relationship between real-valued independent variables and a manifold-valued dependent variable (i.e. geodesic regression). Available manifolds are Euclidean space, the sphere, hyperbolic space, and Kendall's 2-dimensional shape space. Besides the standard least-squares loss, the least absolute deviations, Huber, and Tukey biweight loss functions can also be used to perform robust geodesic regression. Functions to help choose appropriate cutoff parameters to maintain high efficiency for the Huber and Tukey biweight estimators are included, as are functions for generating random tangent vectors from the Riemannian normal distributions on the sphere and hyperbolic space. The n-sphere is a n-dimensional manifold: we represent it as a sphere of radius 1 and center 0 embedded in (n+1)-dimensional space. Using the hyperboloid model of hyperbolic space, n-dimensional hyperbolic space is embedded in (n+1)-dimensional Minkowski space as the upper sheet of a hyperboloid of two sheets. Kendall's 2D shape space with K landmarks is of real dimension 2K-4; preshapes are represented as complex K-vectors with mean 0 and magnitude 1. Details are described in Shin, H.-Y. and Oh, H.-S. (2020) . Also see Fletcher, P. T. (2013) .

Copy Link

Version

Install

install.packages('GeodRegr')

Monthly Downloads

131

Version

0.2.0

License

GPL-3

Issues

Pull Requests

Stars

Forks

Maintainer

Ha-Young Shin

Last Published

September 3rd, 2021

Functions in GeodRegr (0.2.0)

par_trans

Parallel transport
rnormtangents

Random generation of tangent vectors from the Riemannian normal distribution
are_nr

Newton-Raphson method for the are function
onmanifold

Manifold check and projection
geo_dist

Geodesic distance between two points on a manifold
are

Approximate ARE of an M-type estimator to the least-squares estimator
loss

Loss
exp_map

Exponential map
calvaria

Data on calvaria growth in rat skulls
geo_reg

Gradient descent for (robust) geodesic regression
log_map

Logarithm map
intrinsic_location

Gradient descent for location based on M-type estimators