Skip to content

Commit

Permalink
Merge pull request #27 from florencejt/fix/mcvaetolerance
Browse files Browse the repository at this point in the history
Fixed bug where mcvae patience for early stopping was called self.pat…
  • Loading branch information
florencejt authored May 15, 2024
2 parents b7df77f + 93d4a14 commit 43627de
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions fusilli/fusionmodels/tabularfusion/mcvae_model.py
Original file line number Diff line number Diff line change
Expand Up @@ -123,8 +123,8 @@ def __init__(self, datamodule, k=None, max_epochs=5000, train_subspace=True):
self.device = torch.device("cpu")

self.num_latent_dims = 10
self.patience = 10
self.tolerance = 3
self.mcvae_patience = 10
self.mcvae_tolerance = 3
if self.datamodule.layer_mods is not None:
# if MCVAESubspaceMethod is in the keys
if "MCVAESubspaceMethod" in self.datamodule.layer_mods.keys():
Expand Down

0 comments on commit 43627de

Please sign in to comment.