scikit-learn-contrib / category_encoders

A library of sklearn compatible categorical variable encoders
http://contrib.scikit-learn.org/category_encoders/
BSD 3-Clause "New" or "Revised" License
2.41k stars 395 forks source link

[Release]: Docs have methods that are not released yet #323

Closed alexmasia closed 2 years ago

alexmasia commented 2 years ago
import category_encoders as ce

encoder = ce.BackwardDifferenceEncoder(cols=[...])
encoder = ce.BaseNEncoder(cols=[...])
encoder = ce.BinaryEncoder(cols=[...])
encoder = ce.CatBoostEncoder(cols=[...])
encoder = ce.CountEncoder(cols=[...])
encoder = ce.GLMMEncoder(cols=[...])
encoder = ce.HashingEncoder(cols=[...])
encoder = ce.HelmertEncoder(cols=[...])
encoder = ce.JamesSteinEncoder(cols=[...])
encoder = ce.LeaveOneOutEncoder(cols=[...])
encoder = ce.MEstimateEncoder(cols=[...])
encoder = ce.OneHotEncoder(cols=[...])
encoder = ce.OrdinalEncoder(cols=[...])
encoder = ce.SumEncoder(cols=[...])
encoder = ce.PolynomialEncoder(cols=[...])
encoder = ce.TargetEncoder(cols=[...])
encoder = ce.WOEEncoder(cols=[...])
encoder = ce.QuantileEncoder(cols=[...])

AttributeError: module 'category_encoders' has no attribute 'QuantileEncoder'

I believe the issue is that there has not been a release since the PR

PaulWestenthanner commented 2 years ago

Thanks for pointing this out! Seems like our docs are deployed when code is merged rather than on a new release. @wdm0006 do you have an idea why this is happening?

cmougan commented 2 years ago

@PaulWestenthanner it appears that the build is failing. https://github.com/scikit-learn-contrib/category_encoders/actions/runs/1360790652

FAILED tests/test_encoders.py::TestEncoders::test_drop_invariant - TypeError:...

Ain't this what we solved?

PaulWestenthanner commented 2 years ago

Your link points to an old build. We fixed that. The latest build was successful https://github.com/scikit-learn-contrib/category_encoders/actions/runs/1417834114

wdm0006 commented 2 years ago

Docs will only build on release now.

cmougan commented 2 years ago

@PaulWestenthanner Is there a release planed soon?

PaulWestenthanner commented 2 years ago

@wdm0006 is in charge of releases at the moment. But I think it would make sense to have a release soon

wdm0006 commented 2 years ago

Yeah we can do a release whenever, @PaulWestenthanner if you can update the version tag and changelog at some point and open an issue I can walk you through how to cut releases so I'm not a single point of failure there also.

skehoe3 commented 2 years ago

Any update on a release plan?

PaulWestenthanner commented 2 years ago

A new release was made. I wasn't aware I already had to rights to do so. I'm sorry it took that long.