Skip to content

Commit

Permalink
typecheck ignore in svd
Browse files Browse the repository at this point in the history
  • Loading branch information
mdekstrand committed Jan 11, 2025
1 parent c09e26c commit 282c681
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lenskit-sklearn/lenskit/sklearn/svd.py
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ def train(self, data: Dataset, options: TrainingOptions = TrainingOptions()):
self.config.features, algorithm=self.config.algorithm, n_iter=self.config.n_iter
)
_log.info("[%s] training SVD (k=%d)", timer, self.factorization_.n_components) # type: ignore
Xt = self.factorization_.fit_transform(r_mat)
Xt = self.factorization_.fit_transform(r_mat) # type: ignore
self.user_components_ = Xt
self.users_ = data.users.copy()
self.items_ = data.items.copy()
Expand Down

0 comments on commit 282c681

Please sign in to comment.