We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 6383835 + 44805a2 commit aa7b933Copy full SHA for aa7b933
qolmat/imputations/imputers_pytorch.py
@@ -107,14 +107,6 @@ def _fit_estimator(
107
optimizer = optim.Adam(estimator.parameters(), lr=self.learning_rate)
108
loss_fn = self.loss_fn
109
110
- # if X.shape[0] != estimator[0].in_features:
111
- # raise ValueError(
112
- # "The number of features in X does not match the input "
113
- # "features of the estimator. The estimator expects"
114
- # f" {estimator[0].in_features} features, but X has "
115
- # f"{X.shape[0]} features."
116
- # )
117
-
118
with tqdm(total=self.epochs, desc="Training", unit="epoch") as pbar:
119
for _ in range(self.epochs):
120
estimator.train()
0 commit comments