koaning / scikit-lego

Extra blocks for scikit-learn pipelines.
https://koaning.github.io/scikit-lego/
MIT License
1.28k stars 118 forks source link

Docstrings API examples #648

Closed anopsy closed 7 months ago

anopsy commented 7 months ago

Description

Added examples to:

anopsy commented 7 months ago

I didn't add preprocessing.intervalencoder.IntervalEncoder because I need to delve more into what is it exactly doing. According to the docs strings it's "bending" / "smoothing" the values in X . I checked what "smoothing" in math is doing, and I have my doubts if you meant IntervalEncoder to do smoothing or you meant a monotonic transformation. If you could give me a hint what to research, I'd be really grateful

FBruzzesi commented 7 months ago

@anopsy I hope that the Interval Encoders user guide and the examples there help.

If it doesn't, feel free to reach out to me on socials as well, since user guide would also need some improvements.

Disclaimer: I personally never used the feature