常见问题 第2页
这里汇总了用户在使用统计猿网页版和桌面版软件时遇到的常见问题与处理方法。
RuntimeBinderException
Cannot implicitly convert type 'Python.Runtime.PyObject' to 'string[]'-决策链社区论坛

RuntimeBinderException Cannot implicitly convert type ‘Python.Runtime.PyObject’ to ‘string[]’

报错原因:xlsx文件存在无法识别的编码类型解决方法:把xlsx文件转成csv导入
空鱼O的头像-决策链社区论坛空鱼O34天前
07013
数据分析描述统计:Error in `[,data.frame`(WD,,i):◆◆◆◆◆◆◆◆-决策链社区论坛

数据分析描述统计:Error in `[,data.frame`(WD,,i):◆◆◆◆◆◆◆◆

报错原因:选择的变量名存在非法字符解决方法:(1)分析前连接标准化变量名(2)参考这篇文章检查目标变量名是否存在非法字符:https://bbs.statsape.com/q-and-a/506.html
空鱼O的头像-决策链社区论坛空鱼O35天前
0666
NullReferenceException
Object reference not set to an instance of an object-决策链社区论坛

NullReferenceException Object reference not set to an instance of an object

报错原因:工程崩溃,原因未知解决方法:参考https://bbs.statsape.com/q-and-a/1493.html 
空鱼O的头像-决策链社区论坛空鱼O36天前
04715
生存分析多模型ROC图:Error in data.frame(x=pre_score,y=status values$qx_status, time = status_values$qx time): �����������: 2266,2265-决策链社区论坛

生存分析多模型ROC图:Error in data.frame(x=pre_score,y=status values$qx_status, time = status_values$qx time): �����������: 2266,2265

报错原因:通常为数据端口(蓝色)的连线和模型端口(灰色)的链线顺序不一致解决方法:检查两种端口的连线顺序是否一致
单因素亚组GLM回归:Error in purrr:map(var subgroups, ~TableSubgroupGLM(formula, var subqroup = .
Caused by error in `TableSubqroupGLM()`:
! Please input correct subqroup variable-决策链社区论坛

单因素亚组GLM回归:Error in purrr:map(var subgroups, ~TableSubgroupGLM(formula, var subqroup = . Caused by error in `TableSubqroupGLM()`: ! Please input correct subqroup variable

报错原因:模型拟合结果返回为空,改亚组变量无法拟合解决方法:(1)检查亚组变量是否平衡,避免比例极端的情况(2)更换亚组变量
空鱼O的头像-决策链社区论坛空鱼O37天前
0569
面板数据效应模型:Error in `.rowNamesDF<-`(x, value = value) : ���������ظ���'row.names'-决策链社区论坛

面板数据效应模型:Error in `.rowNamesDF<-`(x, value = value) : ���������ظ���'row.names'

错误原因:样本id和时间的配对存在重复,例如下图,同一个id,但时间为236.7833的样本有重复  解决方法:先去除样本id和时间配对重复的样本
空鱼O的头像-决策链社区论坛空鱼O39天前
04610
导入Excel数据:Value must be either numerical or a string containing a wildcard-决策链社区论坛

导入Excel数据:Value must be either numerical or a string containing a wildcard

报错原因:Excel文件中的某些单元格存在节点无法识别的数据解决方法:将excel文件转为csv文件读取 
空鱼O的头像-决策链社区论坛空鱼O40天前
04615
限制性立方样条:Error in data.frame(.... check.names = FALSE) :◆◆◆◆◆◆◆◆◆ 7, 200-决策链社区论坛

限制性立方样条:Error in data.frame(…. check.names = FALSE) :◆◆◆◆◆◆◆◆◆ 7, 200

报错原因:通常为预测变量过于离散,无法对因变量即模型的y进行拟合解决方法:(1)更换预测变量(2)将预测变量平滑(各种转换) 
空鱼O的头像-决策链社区论坛空鱼O40天前
0546
XGBoost:Invalid classes inferred from unique values of `y. Expected: [0 1], got [1 2]。-决策链社区论坛

XGBoost:Invalid classes inferred from unique values of `y. Expected: [0 1], got [1 2]。

报错原因:目标变量的值应该为0,1解决方法:检查目标变量的值,确保目标变量的值为0,1
空鱼O的头像-决策链社区论坛空鱼O42天前
08511
检查发现以下错误,请检查节点:[3.导入TSV数据 Plus]'ClassType-决策链社区论坛

检查发现以下错误,请检查节点:[3.导入TSV数据 Plus]’ClassType

报错原因:未知,多见于工程崩溃解决方法:(1)重开软件(2)重拖节点(3)重建工程,导出工程文件,用导出的工程文件重建,参考:https://bbs.statsape.com/q-and-a/1343.html
空鱼O的头像-决策链社区论坛空鱼O45天前
07413
标签编码转换:cannot insert gender recode, already exists-决策链社区论坛

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

报错原因:表格已经包含了待生成的变量名,本例中gender_recode这个变量名已经存在了解决方案:检查表格变量名,去除就得变量
空鱼O的头像-决策链社区论坛空鱼O48天前
0565
采样方法:local variable 'except_col_names' referenced before assignment-决策链社区论坛

采样方法:local variable ‘except_col_names’ referenced before assignment

报错原因:采样方法选择Smote采样的时候,可能没有选择采样特征变量解决方法:确认采样特征变量是否选择变量 
空鱼O的头像-决策链社区论坛空鱼O1个月前
06113
Lasso回归-生存状态:Error in coxnet(xd, is.sparse, ix, jx, y, weights, offset, alpha, nobs, :NA/NaN/Inf in foreign function call (arg 4)-决策链社区论坛

Lasso回归-生存状态:Error in coxnet(xd, is.sparse, ix, jx, y, weights, offset, alpha, nobs, :NA/NaN/Inf in foreign function call (arg 4)

错误原因: 输入的变量组合导致Lasso模型拟合失败 解决方法: (1)Lasso回归的输入数据必须是数值,排除非法变量,例如含有字符串的变量 (2)如果不存在非法变量,则尝试换变量组合,或者修改...
空鱼O的头像-决策链社区论坛空鱼O1个月前
01489
SHAP:PermutationExplainer object has no attribute 'expected value'-决策链社区论坛

SHAP:PermutationExplainer object has no attribute ‘expected value’

报错原因:如果是在生存机器学习模型的shap分析中发声的错误,应该是节点版本没有更新解决方法:将软件卸载重新安装
空鱼O的头像-决策链社区论坛空鱼O1个月前
05812
Error: lexical error: inside a string,

Error: lexical error: inside a string,”‘ occurs before a character whic it may not

错误原因: 未知 解决方法: 重启计算机或者新建工程
空鱼O的头像-决策链社区论坛空鱼O1个月前
04610
Error in if (series_types_datafarme$type[series_types_datafarme$var ==  : 
  argument is of length zero-决策链社区论坛

Error in if (series_types_datafarme$type[series_types_datafarme$var == : argument is of length zero

如图,错误非常常见 报错原因:变量名有非法字符,没有其他的原因(所有的节点都有可能会报这个错误) 常见类型: (1)变量名有空格:Var 1,Var 2 (2)变量名有奇怪字符:Var*1,Var$1,var%1...
空鱼O的头像-决策链社区论坛空鱼O1个月前
01.1W+1002
Can not deserialize WorkFlowDictionary-决策链社区论坛

Can not deserialize WorkFlowDictionary

错误原因:画布崩溃,原因未知,较为罕见解决方法:(1)保存工程后导入工程文件,重建画布(2)新建画布,逐个节点手动重建工程
空鱼O的头像-决策链社区论坛空鱼O1个月前
013216
朴素贝叶斯:Negative values in data passed to MultinomialNB-决策链社区论坛

朴素贝叶斯:Negative values in data passed to MultinomialNB

报错原因:训练集的特征变量中存在负数,这对于贝叶斯的MultinomialNB的方法是不允许的解决方法:去除训练集特征变量中的负数
空鱼O的头像-决策链社区论坛空鱼O1个月前
06812
Invalid argument: Unable to create new file for writing (it does not exist already). Do you have permission to write here, is there space on the disk and does the path exist?-决策链社区论坛

Invalid argument: Unable to create new file for writing (it does not exist already). Do you have permission to write here, is there space on the disk and does the path exist?

报错原因:数据文件路径没有识别(1)文件名存在奇怪的字符,例如中文名,希腊文,或者其他符号(2)文件被其他程序占用解决方法:(1)检查报错信息提示的那个文件是否存在磁盘中,文件名是否...
空鱼O的头像-决策链社区论坛空鱼O1个月前
08813
选择变量:['subject_id', 'stay_id'] not in index-决策链社区论坛

选择变量:[‘subject_id’, ‘stay_id’] not in index

报错原因:选择的变量在上游的节点输出的数据中没有,本例子中上游节点输出数据中没有subject_id,stay_id这两个变量解决方法:检查上游输出数据表,或者重新选择本节点的变量
空鱼O的头像-决策链社区论坛空鱼O1个月前
0586
数据任务器SE:Error. Task 'classification' has missing values in column(s) 'Surgery,_duration', but learner 'classiflog regnot support this-决策链社区论坛

数据任务器SE:Error. Task ‘classification’ has missing values in column(s) ‘Surgery,_duration’, but learner ‘classiflog regnot support this

报错原因:输入的特征变量存在缺失值解决方法:对存在缺失值的特征变量提前插补
空鱼O的头像-决策链社区论坛空鱼O1个月前
06611
正类问题:Assertion on 'positive' failed-决策链社区论坛

正类问题:Assertion on ‘positive’ failed

机器学习SE模块的正类参数涉及到的模块包括 数据任务器SE,机器学习绘图SE,机器学习多模型绘图SE。设置正类的原因是,对于二分类模型,确定目标变量的正类,这些影响混淆矩阵相关的指标和ROC/A...
Divine的头像-决策链社区论坛Divine1个月前
07611
Error in as.POSlXct.numeric(ret):'origin'h◆◆◆ø◆-决策链社区论坛

Error in as.POSlXct.numeric(ret):’origin’h◆◆◆ø◆

报错原因:ieu数据库的服务器不稳定,可能是偶然无法请求,也可能是长期无法请求解决方法:(1)更新Token后,使用相同的参数反复重新运行(2)以上方法无法解决,则建议使用MR分析的本地计算方...
空鱼O的头像-决策链社区论坛空鱼O1个月前
04811
This happened PipeOp colapply's $train()-决策链社区论坛

This happened PipeOp colapply’s $train()

Error in .__Task__col_roles(self = self, private = private, super = super, : Assertion on 'names of col_roles' failed: Names must be a permutation of set {'feature','target','name'...
Divine的头像-决策链社区论坛Divine1个月前
06114
多条件过滤表格:Can only use .str accessor with string values!-决策链社区论坛

多条件过滤表格:Can only use .str accessor with string values!

报错原因:表格中的字符串变量被python识别为其他类型,通常发生于True/False的识别,在python中这种变量通常判定为Bool型解决方法:按照以下的方式设置条件 
空鱼O的头像-决策链社区论坛空鱼O1个月前
0696
No Intersectional Instrumental Variables Found.-决策链社区论坛

No Intersectional Instrumental Variables Found.

【报错原因】 暴露和结局数据集没有交集 【解决方法】 (1)更换数据 (2)参考这篇文章https://bbs.statsape.com/tips/504.html
里里里里卡42的头像-决策链社区论坛里里里里卡421个月前
01245
数据分析描述统计:Error in`[.data.frame`(WD,,i):◆◆◆◆w◆◆◆◆◆-决策链社区论坛

数据分析描述统计:Error in`[.data.frame`(WD,,i):◆◆◆◆w◆◆◆◆◆

报错原因:通常为选中的变量名存在非法字符,参考https://bbs.statsape.com/q-and-a/506.html解决方法:参考https://bbs.statsape.com/q-and-a/506.html 
空鱼O的头像-决策链社区论坛空鱼O1个月前
0779
插补空值:Length mismatch: Expected axis has 74 elements, new values have 75 elements-决策链社区论坛

插补空值:Length mismatch: Expected axis has 74 elements, new values have 75 elements

报错原因: (1)数据表中存在全部样本都为空值的变量 (2)如果以上的情况没有,则所选的变量中,某些样本全部都为空值,导致该样本被丢弃 解决方法: (1)先使用选择变量节点剔除样本全部都...
空鱼O的头像-决策链社区论坛空鱼O1个月前
08214
限制性立方样条:Error: The number of knots must be strictly between 3 and 7.-决策链社区论坛

限制性立方样条:Error: The number of knots must be strictly between 3 and 7.

报错原因“预测变量RCS节点数应该为3-7个之间的任意整数
空鱼O的头像-决策链社区论坛空鱼O1个月前
08611
Mimic:
异常类型:PostgresExceptidm
异常消息:42712: WITH 查询名

Mimic: 异常类型:PostgresExceptidm 异常消息:42712: WITH 查询名”carvedilol phosphate”被指定多次

报错原因:提取的药物信息中存在相同的英文名解决方法:对于相同的药物英文名,应该修改英文简称,注意前后缀不要出现空格等非法符号 
空鱼O的头像-决策链社区论坛空鱼O1个月前
08714