常见问题 第3页
这里汇总了用户在使用统计猿网页版和桌面版软件时遇到的常见问题与处理方法。
Error in matchit(as.formula(formu), data = table.unmatched, method = inner_method, :请检查表格变量类型是否符需要转换,变量值是否需要插补空值,变量名是否存在非法字符!-决策链社区论坛
孟德尔随机化结果表缺失EAF值-决策链社区论坛

孟德尔随机化结果表缺失EAF值

【报错原因】 原始的暴露数据SNP缺少EAF 【解决方法】 使用千人基因组基因频率计算
里里里里卡42的头像-决策链社区论坛里里里里卡421个月前
0618
Error in nls(y ~ 1/(1 + exp((xmid - x)/scal)), data = xy, start = list(xmid = aux[[1L]], :算法的步因素0.000488281的大小被减少到小于0.000976562的'minFactor'值。          Error in nls(y ~ 1/(1 + exp((xmid - x)/scal)), data = xy, start = list(xmid = aux[[1L]], :奇异梯度。                                                                                                                         Error in numericDeriv(form[[3L]], names(ind), env, central = nDcentral) :在计算模型的时候产生了缺省值或无限值。                                                                                            Error in qr.solve(QR.B, cc) : solve里的'a'是奇异矩阵。                                                   Error in nls(y ~ 1/(1 + exp((xmid - x)/scal)), data = xy, start = list(xmid = aux[[1L]], :循环次数超过了50这个最大值。-决策链社区论坛
分类预测:‘DecisionTreeRegressor' object has no attribute 'predict proba'-决策链社区论坛

分类预测:‘DecisionTreeRegressor’ object has no attribute ‘predict proba’

错误原因:回归模型不能使用分类预测解决方法:把分类预测节点改成回归预测节点
空鱼O的头像-决策链社区论坛空鱼O1个月前
0546
Mimic数据库:connection to server at

Mimic数据库:connection to server at “127.0.0.1”, port 33334 failed: Connection refused (0x0000274D/10061)Is the server runnina on that host and accepting TCP/P connections?

报错原因: Mimic数据库服务可能未开启 解决方法: (1)如果是刚开启软件,并刚打开的项目,则点击mimic查询数据库的参数设置按钮,初始化数据库服务     (2)以上方法无效的情况下,重...
空鱼O的头像-决策链社区论坛空鱼O18天前
07110
数据分箱:Bin edges must be unique: index([0.15, 0.19, 0.19, 0.22, 17.35], dtype='float64', name='LBXlHG

数据分箱:Bin edges must be unique: index([0.15, 0.19, 0.19, 0.22, 17.35], dtype=’float64′, name=’LBXlHG”)You can drop duplicate edaes by settina the ‘duplicates’ kwara

报错原因:待分箱德变量值中存在重复的边界值,导致无法分段,如上图所示,0.19为边界值,但存在重复解决方法:可以使用等频率分箱,先将变量排序,然后使用等频分箱 
空鱼O的头像-决策链社区论坛空鱼O21天前
07010
Error in glmnet(x, y, family =

Error in glmnet(x, y, family = “binomial”, alpha = 1, nlambda = lambda_values) :x has missing values; consider using makeX() to impute them

【报错原因】 选择变量里含有空缺值 【解决方法】 建议将变量的空缺值进行插补
里里里里卡42的头像-决策链社区论坛里里里里卡421个月前
06114
Error in family$linkfun(mustart) : 参数mu必需为非空数字向量-决策链社区论坛

Error in family$linkfun(mustart) : 参数mu必需为非空数字向量

【报错原因】 所选择的因变量可能为多分类,不应该使用两组匹配 【解决方法】 修改匹配方法
里里里里卡42的头像-决策链社区论坛里里里里卡421个月前
06113
转换多变量标签编码:invalid character'‘'(U+2018)(<string><string>,line 1)</string>-决策链社区论坛

转换多变量标签编码:invalid character’‘'(U+2018)(<string>,line 1)

错误原因:使用中文符号编写命令,如下图,这种单引号为中文字符解决方法:改成英文字符的符号
空鱼O的头像-决策链社区论坛空鱼O1个月前
0829
Bin edges must be unique: Index([0.0, 0.0, 1.0, 1.0], dtype='float64', name='age').You can drop duplicate edges by setting the 'duplicates' kwarg。-决策链社区论坛

Bin edges must be unique: Index([0.0, 0.0, 1.0, 1.0], dtype=’float64′, name=’age’).You can drop duplicate edges by setting the ‘duplicates’ kwarg。

【报错原因】 分箱变量和目标变量存在相同元素 【解决方法】 删除相同的元素再分箱
里里里里卡42的头像-决策链社区论坛里里里里卡421个月前
07912
Error in tvROC.jm(joint_model, newdata = source_df, Tstart = T_start, :there are no data on subjects who had an observed event time after Tstart and longitudinal measurements before Tstart.-决策链社区论坛
转换多变量标签编码:The truth value of a Series is ambiguous. Use a.empty, a.bool(, a.item(, a.any( or a.all0).-决策链社区论坛

转换多变量标签编码:The truth value of a Series is ambiguous. Use a.empty, a.bool(, a.item(, a.any( or a.all0).

错误原因:命令书写格式有误,没有1<x1<2的写法,只有x1>1 and x1<2的写法,单个条件用逻辑连接符and 或者or连接  
空鱼O的头像-决策链社区论坛空鱼O1个月前
0427
生存分析ROC图:Error in roc.default(response, predictors[, 1], ...) : 'response' must have two levels-决策链社区论坛

生存分析ROC图:Error in roc.default(response, predictors[, 1], …) : ‘response’ must have two levels

报错原因: (1)输入的因变量不是0,1二分类的值 (2)在多因素生存分析中,如果以上的情况不存在,则可能是生存时间中位数以下的样本的生存状态不是0,1二分类变量 解决方法: 检查因变量是否...
空鱼O的头像-决策链社区论坛空鱼O33天前
05514
正类问题:Assertion on 'positive' failed-决策链社区论坛

正类问题:Assertion on ‘positive’ failed

机器学习SE模块的正类参数涉及到的模块包括 数据任务器SE,机器学习绘图SE,机器学习多模型绘图SE。设置正类的原因是,对于二分类模型,确定目标变量的正类,这些影响混淆矩阵相关的指标和ROC/A...
Divine的头像-决策链社区论坛Divine13天前
05311
转换多变量标签编码:'<=' not supported between instances of 'str' and 'int'-决策链社区论坛

转换多变量标签编码:’<=' not supported between instances of 'str' and 'int'

报错原因:使用“>=”,'<=','==','>','<'等数学逻辑符号判断目标变量时,要求目标变量的值全部都为数值如图对Var2进行数学逻辑判断但是Var2的值中存在abc这个字符串,因此Var2这个...
空鱼O的头像-决策链社区论坛空鱼O1个月前
0508

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

【报错原因】尽管 LightGBM 模型支持直接处理分类变量,但是在后续节点中 TREESHAP 计算 LightGBM 模型的 SHAP 值时分类变量是存在一些问题的。【解决方法】对分类变量进行独热编码,然后再次运...
空鱼O的头像-决策链社区论坛空鱼O1个月前
0645
Error in UseMethod(

Error in UseMethod(“logLik”) :no applicable method for ‘logLik’ applied to an object of class “lrm”

【报错原因】 变量选择问题 【解决方法】 更换因变量或自变量
里里里里卡42的头像-决策链社区论坛里里里里卡421个月前
04814
Error in stanc(file = fle, model code = model code, model name = model name,: parser failed badly.maybe try installing the V8 package-决策链社区论坛
Error in ssum[2, , 1] : subscript out of bounds      Error in axis(sides[jj], at = scaled[jj], labels = fat[jj], pos = y, cex.axis = cex.axis, :所有的位置值都是无限的-决策链社区论坛
Error in getActiveRowSpan(estimates): Could not identify rows with actual data-决策链社区论坛

Error in getActiveRowSpan(estimates): Could not identify rows with actual data

【报错原因】 显示数值的行存在NA 【解决方法】 删除对应的分组
里里里里卡42的头像-决策链社区论坛里里里里卡421个月前
0457
数据任务器SE:Error in strsplit(pm$get para value(

数据任务器SE:Error in strsplit(pm$get para value(“positive”),”\s*”): non-character arqument

错误原因:参数未填完整,如下图所示,正类参数未填解决方法:将必要参数补充完整
空鱼O的头像-决策链社区论坛空鱼O1个月前
06311
高级变量运算:invalid decimal literal (<string>,line 1)-决策链社区论坛

高级变量运算:invalid decimal literal (,line 1)

报错原因:通常为计算符号写错,例如(1)没有**的写法,改为np.power() 解决方法:检查计算符号
空鱼O的头像-决策链社区论坛空鱼O28天前
05311
聚合表格:JAVA GATEWAY_EXITED] Java gateway process exited before sending its port numbe-决策链社区论坛

聚合表格:JAVA GATEWAY_EXITED] Java gateway process exited before sending its port numbe

报错原因:用错节点了,未分组目录内的节点都是还无法正常使用的节点解决方法:更换节点,选择行聚合目录的节点 
空鱼O的头像-决策链社区论坛空鱼O1个月前
0425
Found array with 0 sample(s) (shape=(0, 2)) while a minimum of 2 is required by RandomSurvivalForest.请检查表格变量类型是否符需要转换,变量值是否需要插补空值,变量名是否存在非法字符!-决策链社区论坛
Error in data.frame(list(treat = c(2L, 2L, 2L, 2L, 2L, 2L, 2L, 2L, 2L, :参数值意味着不同的行数: 444, 614-决策链社区论坛

Error in data.frame(list(treat = c(2L, 2L, 2L, 2L, 2L, 2L, 2L, 2L, 2L, :参数值意味着不同的行数: 444, 614

【报错原因】 数据端口需要连接非PSM节点的输出数据端口 【解决方法】 更改连线
里里里里卡42的头像-决策链社区论坛里里里里卡421个月前
06810
Error in axis(sindesmm, at=scaledm, labels = fatm,pos=y,cex.axs= cexaxs,:所有的位置值都是无限的。-决策链社区论坛

Error in axis(sindesmm, at=scaledm, labels = fatm,pos=y,cex.axs= cexaxs,:所有的位置值都是无限的。

【报错原因】 数据问题,计算出来包含inf或者na
里里里里卡42的头像-决策链社区论坛里里里里卡421个月前
04115
No Change Points Found.       Error in thresholds[(len - 100):len] :only 0's may be mixed with negative subscripts。-决策链社区论坛

No Change Points Found. Error in thresholds[(len – 100):len] :only 0’s may be mixed with negative subscripts。

【报错原因】 数据问题 【解决方法】 更换数据或变量
里里里里卡42的头像-决策链社区论坛里里里里卡421个月前
0459
数据连接: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的模式匹配
空鱼O的头像-决策链社区论坛空鱼O1个月前
0805
多条件过滤表格:'>' not supported between instances of str and int-决策链社区论坛

多条件过滤表格:’>’ not supported between instances of str and int

报错原因:自变量可能是数值类型,非数值类型无法使用'>','<','=','<='等逻辑字符判断大小解决方法:确认自变量是否为数值
空鱼O的头像-决策链社区论坛空鱼O1个月前
0369
递归消除法:worker initialization failed: package or namespace load failed for 'caret'.object 'recvData' is not exported by'namespace:parallel'-决策链社区论坛

递归消除法:worker initialization failed: package or namespace load failed for ‘caret’.object ‘recvData’ is not exported by’namespace:parallel’

报错原因:R环境缺失一个包caret解决方法:参考这篇文章安装caret,https://bbs.statsape.com/q-and-a/578.html
空鱼O的头像-决策链社区论坛空鱼O21天前
08414