reczoo / FuxiCTR

A configurable, tunable, and reproducible library for CTR prediction https://fuxictr.github.io
Apache License 2.0
914 stars 157 forks source link

upgrade to polar 1.2 #100

Closed ywangwxd closed 3 months ago

ywangwxd commented 3 months ago

when upgrade to polar 1.2, some functions used are deprecated. For example. in criteo.py

return pl.col(col_name).apply(_convert_to_bucket).cast(pl.Int32)

    return pl.col(col_name).map_elements(_convert_to_bucket, return_dtype=pl.Int32)

the function "apply” is not used anymore.

zhujiem commented 3 months ago

Please follow the environment settings: https://github.com/reczoo/FuxiCTR/discussions/99