Skip to content

Commit

Permalink
Removing the slow constrained option for Elastic CCA. Now uses maxvar…
Browse files Browse the repository at this point in the history
… by default and sumcor for lasso where valid
  • Loading branch information
jameschapman19 committed Nov 16, 2021
1 parent 0055712 commit e72af45
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions examples/plot_kernel_cca.py
Original file line number Diff line number Diff line change
Expand Up @@ -67,8 +67,8 @@ def my_kernel(X, Y, param=0):

# %%
# kernel cca (gaussian/rbf)
gamma1 = [1e-1, 1e-2, 1e-3]
gamma2 = [1e-1, 1e-2, 1e-3]
gamma1 = [1e-1, 1e-2]
gamma2 = [1e-1, 1e-2]
param_grid = {"kernel": ["rbf"], "gamma": [gamma1, gamma2], "c": [c1, c2]}
kernel_poly = (
GridSearchCV(
Expand Down

0 comments on commit e72af45

Please sign in to comment.