simvcd()
Utility function to define the least-squares loss function to be optimized for simvcd()
loss(h, ngrid, xi, a = 0.16, a1 = 1.2, a11 = 0.14927)
A real number giving the estimated value of the MSE given the current guess.
A positive real number giving the current guess at VC dimension
Vector of sample sizes for which the bounding function is estimated.
Vector of estimated values of the bounding function, usually obtained from risk_bounds()
Scaling coefficient for the bounding function. Defaults to the value given by Vapnik, Levin and Le Cun 1994.
Scaling coefficient for the bounding function. Defaults to the value given by Vapnik, Levin and Le Cun 1994.
Scaling coefficient for the bounding function. Defaults to the value given by Vapnik, Levin and Le Cun 1994.
simvcd()
, the user-facing function for simulating VC dimension and risk_bounds()
to generate estimates for xi.