Description Usage Arguments Value Author(s) References See Also

This function calculates the median heuristic for use in e.g. the Gaussian, Matern and rational quadratic kernels.

1 | ```
medianTune(samples, Z = NULL)
``` |

`samples` |
An |

`Z` |
(optional) An NxN matrix of square norms, which can be calculated
using |

The median heuristic, which can then be used as the length-scale parameter in the Gaussian, Matern and rational quadratic kernels

Leah F. South

Garreau, D., Jitkrittum, W. and Kanagawa, M. (2017). Large sample analysis of the median heuristic. https://arxiv.org/abs/1707.07269

See `medianTune`

and `K0_fn`

for functions which use this.

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.