Skip to content

Commit ea39436

Browse files
author
vm-aifluence-jro
committed
Merge branch 'dev' into patch_em_mle
2 parents 10f3d1c + f6a6646 commit ea39436

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

qolmat/benchmark/missing_patterns.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -662,7 +662,7 @@ def fit(self, X: pd.DataFrame) -> GroupedHoleGenerator:
662662

663663
super().fit(X)
664664

665-
if self.n_splits > len(np.unique(self.groups_num)):
665+
if self.n_splits > self.ngroups.nunique():
666666
raise ValueError("n_samples has to be smaller than the number of groups.")
667667

668668
return self

qolmat/imputations/models.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -540,7 +540,6 @@ def fit_transform(self, df: pd.DataFrame) -> pd.DataFrame:
540540
imputed = pd.DataFrame()
541541
cols_with_nans = df.columns[df.isna().any()]
542542
for col in cols_with_nans:
543-
print(col)
544543
imputed_signal, _, _ = self.rpca.fit_transform(signal=df[col].values)
545544
imputed[col] = imputed_signal
546545
imputed.index = df.index

0 commit comments

Comments
 (0)