Git Product home page Git Product logo

Comments (5)

Ausar0109 avatar Ausar0109 commented on May 24, 2024 1

你把空值填充成-100,再把分箱点第一点手动设定成 -50
那么【-inf,-50】就是你空值的这一箱

python里面 cut_bins 不好对非numbic 的series进行分组,用上面的思路替代解决

from toad.

Secbone avatar Secbone commented on May 24, 2024

@IronMAN3zz 目前数值型的变量,默认分箱会填充为 -1,后续版本会更新空值单独分箱

from toad.

Secbone avatar Secbone commented on May 24, 2024

@IronMAN3zz 刚发布了 0.0.59a2 版本,支持空值单独处理

Combiner().fit(X, y, empty_separate = True)

可以使用如下命令更新使用

pip install -U toad==0.0.59a2

如有问题欢迎反馈,正式版发布后会关闭本条 issue~

from toad.

IronMAN3zz avatar IronMAN3zz commented on May 24, 2024

@Secbone 按照您发的命令无法找到0.0.59a2这个版本,感谢大佬的回复

from toad.

Secbone avatar Secbone commented on May 24, 2024

@IronMAN3zz 是官方源么? 非官方源可能有延迟

from toad.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.