You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Sometimes the density plot in the perf_eva function comes out with the y-axis not properly scaled resulting in the lines not showing.
See below for sample code and data to recreate the problem and the resulting plot. I have tested using scorecard version 0.2.4 on Windows and version 0.3.0 on Linux, same result both times.
Thanks
Tomas
require(dplyr)
require(scorecard)
x <- read.csv("M7_WOE Binomial_632.csv")
xx <- x %>% filter(modelsample=="Hold out sample")
perf_eva(xx$modelscore,xx$Churn,show_plot = "density")
It's strange. I can't reproduce your issue using scorecard version 0.3.3 on ubuntu. The result is as following. Please update your package and try again.
Shichen
Sometimes the density plot in the perf_eva function comes out with the y-axis not properly scaled resulting in the lines not showing.
See below for sample code and data to recreate the problem and the resulting plot. I have tested using scorecard version 0.2.4 on Windows and version 0.3.0 on Linux, same result both times.
Thanks
Tomas
require(dplyr)
require(scorecard)
x <- read.csv("M7_WOE Binomial_632.csv")
xx <- x %>% filter(modelsample=="Hold out sample")
perf_eva(xx$modelscore,xx$Churn,show_plot = "density")
M7_WOE Binomial_632.csv
Rplot.pdf
The text was updated successfully, but these errors were encountered: