Skip to content

Commit

Permalink
testing something
Browse files Browse the repository at this point in the history
  • Loading branch information
MaartenGr committed Jul 6, 2024
1 parent 69a20a9 commit 4a9d7ea
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions bertopic/vectorizers/_ctfidf.py
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,8 @@ def fit(self, X: sp.csr_matrix, multiplier: np.ndarray = None):
if multiplier is not None:
idf = idf * multiplier

self.idf_ = idf

self._idf_diag = sp.diags(
idf,
offsets=0,
Expand Down

0 comments on commit 4a9d7ea

Please sign in to comment.