Skip to content

Commit

Permalink
Format code with black
Browse files Browse the repository at this point in the history
  • Loading branch information
jameschapman19 authored and github-actions[bot] committed Jun 26, 2023
1 parent d7378ac commit 4999b1c
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion cca_zoo/classical/_iterative/_altmaxvar.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ def __init__(
convergence_checking=convergence_checking,
track=track,
verbose=verbose,
trainer_kwargs={"accelerator": "cpu"}
trainer_kwargs={"accelerator": "cpu"},
)
self.tau = tau
self.proximal = proximal
Expand Down
2 changes: 1 addition & 1 deletion cca_zoo/classical/_iterative/_elasticnet.py
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ def __init__(
patience=0,
track=track,
verbose=verbose,
trainer_kwargs={"accelerator": "cpu"}
trainer_kwargs={"accelerator": "cpu"},
)

def _check_params(self):
Expand Down
2 changes: 1 addition & 1 deletion cca_zoo/classical/_iterative/_pls_als.py
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ def __init__(
learning_rate=learning_rate,
initialization=initialization,
callbacks=callbacks,
trainer_kwargs={"accelerator": "cpu"}
trainer_kwargs={"accelerator": "cpu"},
)

def _get_module(self, weights=None, k=None):
Expand Down
2 changes: 1 addition & 1 deletion cca_zoo/classical/_iterative/_pmd.py
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ def __init__(
patience=0,
track=track,
verbose=verbose,
trainer_kwargs={"accelerator": "cpu"}
trainer_kwargs={"accelerator": "cpu"},
)
self.tau = tau
self.positive = positive
Expand Down
2 changes: 1 addition & 1 deletion cca_zoo/classical/_iterative/_scca_parkhomenko.py
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ def __init__(
patience=patience,
track=track,
verbose=verbose,
trainer_kwargs={"accelerator": "cpu"}
trainer_kwargs={"accelerator": "cpu"},
)

def _check_params(self):
Expand Down
2 changes: 1 addition & 1 deletion cca_zoo/classical/_iterative/_scca_span.py
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ def __init__(
random_state=random_state,
deflation=deflation,
verbose=verbose,
trainer_kwargs={"accelerator": "cpu"}
trainer_kwargs={"accelerator": "cpu"},
)
self.tau = tau
self.regularisation = regularisation
Expand Down

0 comments on commit 4999b1c

Please sign in to comment.