nnpiv.rkhs.ApproxRKHSIV

class nnpiv.rkhs.ApproxRKHSIV(kernel_approx='nystrom', n_components=10, kernel='rbf', gamma=2, degree=3, coef0=1, kernel_params=None, delta_scale='auto', delta_exp='auto', alpha_scale='auto')[source]

Approximate RKHS IV estimator using kernel approximations.

This class implements an approximate RKHS IV estimator using kernel approximations.

Parameters
  • kernel_approx (str) – Kernel approximation method (‘nystrom’ or ‘rbfsampler’).

  • n_components (int or float) – Number of approximation components. If integer-like and >= 1, treated as a fixed component count. If float in (0, 1], treated as the sample fraction with a floor of 10.

  • kernel (str or callable) – Kernel function or string identifier.

  • gamma (str or float) – Length scale for the kernel.

  • degree (int) – Degree for polynomial kernels.

  • coef0 (float) – Zero coefficient for polynomial kernels.

  • delta_scale (str or float) – Scale of the critical radius.

  • delta_exp (str or float) – Exponent of the critical radius.

  • alpha_scale (str or float) – Scale of the regularization parameter.

  • kernel_params (dict) – Additional parameters for the kernel.