Giter Site home page Giter Site logo

Comments (6)

ShichenXie avatar ShichenXie commented on August 12, 2024

不会吧,能给个重现的例子么

from scorecardpy.

ShichenXie avatar ShichenXie commented on August 12, 2024

你先更新到github上面的版本试试呢

from scorecardpy.

ChenSir99 avatar ChenSir99 commented on August 12, 2024


微信图片_20230516181252

缺失值这箱的woe是-0.39,另外一箱的woe是0.50。但是用woe_ply转化后,就全变成0.50了。
代码是
bins = sc.wobin(train,y='tag',method='chimerge',special_values=[-999,-1111])
train_woe = sc.woebin_ply(train,bins)
(上周刚从github上下载的包)

from scorecardpy.

ChenSir99 avatar ChenSir99 commented on August 12, 2024


微信图片_20230516181257

from scorecardpy.

ShichenXie avatar ShichenXie commented on August 12, 2024

有数据和对应代码么,能让我在本地电脑复现的

from scorecardpy.

shuaihangs avatar shuaihangs commented on August 12, 2024

Yeah same issue, I have the same problem where WOE values are not applied to the special values. This occurs when there is a -inf to inf for one bin and all other bins are special values like -9999, -999999, -999999999 where these values satisfy the condition -info to inf, but infact they have their own "special value" bin.

感觉像是负无穷到正无穷的优先级更高...

from scorecardpy.

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.