rkhsiv.ApproxRKHSIVCV
- class rkhsiv.ApproxRKHSIVCV(kernel_approx='nystrom', n_components=10, kernel='rbf', gamma=2, degree=3, coef0=1, kernel_params=None, delta_scale='auto', delta_exp='auto', alpha_scales='auto', n_alphas=30, cv=6)[source]
Approximate RKHS IV estimator with cross-validation using kernel approximations.
This class implements an approximate RKHS IV estimator with cross-validation using kernel approximations.
- Parameters
kernel_approx (str) – Kernel approximation method (‘nystrom’ or ‘rbfsampler’).
n_components (int) – Number of approximation components.
kernel (str or callable) – Kernel function or string identifier.
degree (int) – Degree for polynomial kernels.
coef0 (float) – Zero coefficient for polynomial kernels.
alpha_scales (str or array-like) – Scale of the regularization parameter.
n_alphas (int) – Number of alpha scales to try.
cv (int) – Number of folds for cross-validation.
kernel_params (dict) – Additional parameters for the kernel.