Skip to content

Commit

Permalink
nat hack 1970 since cupy cant mask
Browse files Browse the repository at this point in the history
  • Loading branch information
dcolinmorgan committed May 10, 2023
1 parent 30506a1 commit 6067006
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion cu_cat/_gap_encoder.py
Original file line number Diff line number Diff line change
Expand Up @@ -221,7 +221,6 @@ def _init_vars(self, X) -> Tuple[np.ndarray, np.ndarray, np.ndarray]:
unq_X = X.unique()
tmp, lookup = np.unique(X.to_arrow(), return_inverse=True)
# unq_X = cudf.Series(unq_X)
print(self.ngrams_count_)
unq_V = self.ngrams_count_.fit_transform(unq_X)
if self.add_words: # Add word counts to unq_V
unq_V2 = self.word_count_.fit_transform(unq_X)
Expand Down

0 comments on commit 6067006

Please sign in to comment.