Repository navigation
ENH Improving coverage of MinHashEncoder - #379
LilianBoulard merged 12 commits into
Conversation
|
In dirty_cat/_minhash_encoder.py:
> - def minhash(
Given that this method is not private,
I don't think that it applies, as it's in a private module. Is it exposed in a public module (we renamed all the modules for this specific reason).
|
It does apply because |
|
Ok, after some investigation, I think that there is no need to make it private. |
|
This branch has mixed history and the diff is very hard to read. Maybe you could cherry-pick the relevant commits (potentially in a new branch, if needed) |
49b5960 to
be8f371
Compare
Sorry, this was due to the renaming from master to main. It's back to normal now. |
|
@LilianBoulard approved this pull request.
Feel free to merge it, @LilianBoulard. I fear that won't have time to review.
|
|
Sure, LGTM so here we go :) |
Fix #371 and part of #376
I replaced the data that needed to be downloaded in the tests with generated ones.
Coverage is up to 98%. Only the _more_tags function is not covered (as in #375)..
Had also to take into account empty strings, which was not the case previously. Linked to #378
Moved up the parameters value verifications to the .fit() method, which seems more logical.