log_approximation_ratio: Calculate the Logarithm of the approximation ratio...

View source: R/optimisation.R

log_approximation_ratioR Documentation

Calculate the Logarithm of the approximation ratio (logarithms are used for numerically stable calculations) See Theorem 3 from the paper for more details

Description

Calculate the Logarithm of the approximation ratio (logarithms are used for numerically stable calculations) See Theorem 3 from the paper for more details

Usage

log_approximation_ratio(residuals2, epsilon2, beta1, beta2, weight = NULL)

Arguments

residuals2

squared residuals

epsilon2

squared error tolerance

beta1

current sigmoid steepness

beta2

next sigmoid steepness

weight

weight vector (default: NULL)

Value

log(approximation_ratio)


edahelsinki/slise documentation built on Aug. 24, 2023, 11:03 p.m.