空鱼O-决策链社区论坛-第5页
单因素亚组GLM回归:Error in purrr:map(var subgroups, ~TableSubgroupGLM(formula, var subgroup = Caused by error in TableSubgroupGLM):var suoaroup must categorica .-决策链社区论坛
标签编码转换:cannot insert gender recode, already exists-决策链社区论坛

标签编码转换:cannot insert gender recode, already exists

报错原因:表格已经包含了待生成的变量名,本例中gender_recode这个变量名已经存在了解决方案:检查表格变量名,去除就得变量
聚类热图:only defined on a data frame with all numeric-alike variables-决策链社区论坛

聚类热图:only defined on a data frame with all numeric-alike variables

报错原因:选择分析的变量中存在个别非数值变量解决方法:删除这些非数值的变量
Error in purrr:map(var subgroups, ~TableSubgroupGLM(formula, var subgroup =. 
Caused by error in`.svycheck():
!..2 used in an incorrect context, no .. to look in-决策链社区论坛

Error in purrr:map(var subgroups, ~TableSubgroupGLM(formula, var subgroup =. Caused by error in`.svycheck(): !..2 used in an incorrect context, no .. to look in

错误原因:因变量,自变量,亚组变量中可能存在个别变量的值不符合模型要求,例如亚组变量不能多于三个分类解决方法:(1)按照参数要求检查变量(2)逐个变量排查
32天前
0365
数据连接:Unable to allocate XXX GiB for an array with shape (XXXXX) and data type float64.-决策链社区论坛

数据连接:Unable to allocate XXX GiB for an array with shape (XXXXX) and data type float64.

错误原因:内存不足,在数据连接中m:m的模型内存消耗很大解决方法:(1)增加计算机内存(2)改用1:m或者1:1的模式匹配

Error in ifelse(decision_type %in% c(“>=”, “>”), ret.second(split_index), : Unknown decision_type

【报错原因】尽管 LightGBM 模型支持直接处理分类变量,但是在后续节点中 TREESHAP 计算 LightGBM 模型的 SHAP 值时分类变量是存在一些问题的。【解决方法】对分类变量进行独热编码,然后再次运...
1个月前
0675