Skip to contents

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)