category_encoders icon indicating copy to clipboard operation
category_encoders copied to clipboard

object has no attribute '_get_tags'

Open Timaos123 opened this issue 2 years ago • 1 comments

all the encoders encountered the problem of "'XXXEncoder' object has no attribute '_get_tags'"

Timaos123 avatar Aug 03 '22 10:08 Timaos123

Hi @Timaos123

can you please provide the version of category encoders you are using as well as a reproducible code snippet leading to the issue you describe

PaulWestenthanner avatar Aug 06 '22 13:08 PaulWestenthanner

@PaulWestenthanner , @Timaos123 : I was facing the same issue with category encoders . I was using ce version of 2.5.1.post0. I have resolved it by upgrading my scikit-learn framework version from 0.20.0 to 1.0-1 in my sagemaker container creation code.

j-sieger avatar Oct 25 '22 08:10 j-sieger

ah that makes sense! Probably we should just drop support for versions < 1 by now

PaulWestenthanner avatar Nov 20 '22 20:11 PaulWestenthanner

I just added sklearn >= 1.0 to the requirements

PaulWestenthanner avatar Dec 27 '22 20:12 PaulWestenthanner