Comments (7)
可以把这列和y发我试试么
from scorecard.
可以把这列和y发我试试么
我更新了问题。附件是test.xlsx。
from scorecard.
这里的0是填充的吧,如果是可以试着填为-1、-9,、-999之类的;
library(data.table)
library(scorecard)
woebin(setDT(dat)[var == 0, var := -1], y = 'label')
也可以把0设置为特殊值;
woebin(dat, y = 'label', special_values = list(var = 0))
from scorecard.
这里的0不是填充的,0代表某种行为进行了0次,其他的值也依次类推。而且有一个前后矛盾的点,我用var_filter来看这个变量的话,iv是1.5,说明iv是可以算出来的。但是到了woebin这一步,就又算不出来了。
from scorecard.
我更新了下下。你安装github上面的版本试试。修改了初始化分箱点的方法。
另外,var_filter里面的iv值与woebin里面的iv值都是调用相同函数计算的。区别在于var_filter里面计算的iv是变量分箱之前的iv值,woebin里的分箱之后的iv值
from scorecard.
我更新了下下。你安装github上面的版本试试。修改了初始化分箱点的方法。
另外,var_filter里面的iv值与woebin里面的iv值都是调用相同函数计算的。区别在于var_filter里面计算的iv是变量分箱之前的iv值,woebin里的分箱之后的iv值
已经好了,完美的解决了我的困惑,非常感谢!!
from scorecard.
good
from scorecard.
Related Issues (20)
- Formulas HOT 1
- 关于woebin等频分箱报错 HOT 2
- Gini with to = 'bin' HOT 1
- Scorecard2 issue with probability set to TRUE HOT 2
- question min and max score HOT 1
- Information Value from scorecard::iv() is not equal to Information value from scorecard::woebin() HOT 3
- 分箱区间问题 HOT 3
- woebin 指定breaklist时有问题 HOT 13
- Line plot for woebin_adj with line_value = "woe" resets to positive probability after adjusting breaks HOT 5
- Native pipe |> requires R >=4.1 HOT 1
- Cannot install.packages("scorecard") on windows HOT 2
- Fail to install - 0.3.9 HOT 2
- Definition of offset in the scorecard function HOT 1
- Is there any way to export the scorecard to PMML? HOT 8
- Error after latest update HOT 1
- Woe and points do not follow the same pattern HOT 2
- Function error HOT 5
- Let we choose whether to let the missing value be a separate bin HOT 3
- woebin持续运算得不到结果 HOT 2
- woebin bug (?) HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from scorecard.