You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is it somehow possible to have the deltas of the model optimized for best fitting all targets when using Multiple-kernel ridge with scikit-learn API?
Meaning that the deltas_ output (or another output) of MultipleKernelRidgeCV would be:
array of shape (n_kernels, 1) Best log kernel weights for all targets.
instead of
array of shape (n_kernels, n_targets) Best log kernel weights for each target.
I still have several targets but would be interested in the "shared over all targets" result.
I tried using the parameter local_alpha = False in the solver_params of the MultipleKernelRidgeCV but I don't find any optimized alpha or delta in the output model (and there is no more best_alphas_ or deltas_ either).
Thank you in advance for your help :)
The text was updated successfully, but these errors were encountered:
Actually I just checked, and using local_alpha=False does select the same alpha/delta for all targets, as found in model.best_alphas_ and model.deltas_. My previous answer assumed that it only shared alphas and not deltas, but it does share both. (The option is only available with solver="random_search" though.)
there is no more best_alphas_ or deltas_ either
Are you sure you fitted the model the second time?
Is it somehow possible to have the deltas of the model optimized for best fitting all targets when using Multiple-kernel ridge with scikit-learn API?
Meaning that the deltas_ output (or another output) of MultipleKernelRidgeCV would be:
array of shape (n_kernels, 1) Best log kernel weights for all targets.
instead of
array of shape (n_kernels, n_targets) Best log kernel weights for each target.
I still have several targets but would be interested in the "shared over all targets" result.
I tried using the parameter local_alpha = False in the solver_params of the MultipleKernelRidgeCV but I don't find any optimized alpha or delta in the output model (and there is no more best_alphas_ or deltas_ either).
Thank you in advance for your help :)
The text was updated successfully, but these errors were encountered: