-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
FIX: ensure compatibility between sklearn and spark tfidf vectors for…
… skl>=1.5 Change for TfidfTransformer of sklearn v1.5 in order to ensure compatibility between the pandas and spark version of emm. In sklearn v1.5+ TfidfTransformer no longer has the _idf_diag attribute, needed for setting the compatibility.
- Loading branch information
Showing
2 changed files
with
17 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters