log_approximation_ratio | R Documentation |
Calculate the Logarithm of the approximation ratio (logarithms are used for numerically stable calculations) See Theorem 3 from the paper for more details
log_approximation_ratio(residuals2, epsilon2, beta1, beta2, weight = NULL)
residuals2 |
squared residuals |
epsilon2 |
squared error tolerance |
beta1 |
current sigmoid steepness |
beta2 |
next sigmoid steepness |
weight |
weight vector (default: NULL) |
log(approximation_ratio)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.