空鱼O-决策链社区论坛
数据分箱:unsupperted operand type(s) for -:'str' and 'str'-决策链社区论坛

数据分箱:unsupperted operand type(s) for -:’str’ and ‘str’

报错原因:目标的分箱变量不是连续型,只有连续型变量才能(才需要)分箱
计算时间间隔:time data

计算时间间隔:time data “2020-10-20” doesn’t match format “%Y-%m-%d %H:%M:%S”, at position 4. You might want to try:

错误原因:日期格式不匹配,如下图所示,待计算的两个日期变量的值,存在格式为Year-Month-Day H:M:S的行,则计算时间间隔的时候,必须选择Year-Month-Day H:M:S的格式解决方法:如下图所示,修...
COX多模型ROC曲线评估:Error in timeROc:timeROCT=status values$gx time, delta = status values$gx status, : lengths of vector T, delta and marker have to be equal.-决策链社区论坛
分类预测:model dataset compatibility.cpp:81: Atposition 3 should be feature with name APACHE2 (found BZD)-决策链社区论坛

分类预测:model dataset compatibility.cpp:81: Atposition 3 should be feature with name APACHE2 (found BZD)

报错原因:输入的模型特征顺序不对,此处第三个特征应该为APACHE2,但发现第三个为BZD解决方法:修正特征的顺序,应该与模型训练的顺序一致
聚类热图:only defined on a data frame with all numeric-alike variables-决策链社区论坛

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

报错原因:选择分析的变量中存在个别非数值变量解决方法:删除这些非数值的变量
Error: lexical error: inside a string,

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

错误原因: 未知 解决方法: 重启计算机或者新建工程
11天前
04110
Unterminated string. Expected delimiter:

Unterminated string. Expected delimiter: “. Path ‘GlobalDataFrameStructure.SeriesStructures

报错原因:画布工程崩溃,需重建工程解决方法:(1)点击开始-导出工程-保存工程文件(sasln文件)随后关闭软件后重新打开,点击导入刚才保存的工程文件(2)如果以上方法不可行,则新开一个画...
多条件过滤表格:Can only use .str accessor with string values!-决策链社区论坛

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

报错原因:表格中的字符串变量被python识别为其他类型,通常发生于True/False的识别,在python中这种变量通常判定为Bool型解决方法:按照以下的方式设置条件 
在回归分析中,如何修改分类变量的参照/参考/ref因子-决策链社区论坛

在回归分析中,如何修改分类变量的参照/参考/ref因子

在大多数回归分析,如线性回归,逻辑回归等分析中,分类变量往往需要指定一个参照因子(ref)进行分析,例如性别Gender的元素包含male和female,在通常情况下female往往会被作为ref处理,如果想...
36天前
01317
限制性立方样条:Error in quantile.default(WD[, var predictl, plotRcs::knot(num point pred)).(unordered)factors are not allowed-决策链社区论坛

限制性立方样条:Error in quantile.default(WD[, var predictl, plotRcs::knot(num point pred)).(unordered)factors are not allowed

报错原因:分类型变量不能用于做RCS预测变量解决方法:选择连续型变量做RCS预测变量
机器学习多横型绘图SE:Error in loadNamespace(x) : ◆◆◆◆◆`yardstick'◆◆◆◆◆-决策链社区论坛

机器学习多横型绘图SE:Error in loadNamespace(x) : ◆◆◆◆◆`yardstick’◆◆◆◆◆

报错原因:环境导入失败解决方法:(1)软件保存工程后关闭重开(2)如果重开软件无效,则重启计算机 
检查发现以下错误,请检查节点:[3.导入TSV数据 Plus]'ClassType-决策链社区论坛

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

报错原因:未知,多见于工程崩溃解决方法:(1)重开软件(2)重拖节点(3)重建工程,导出工程文件,用导出的工程文件重建,参考:https://bbs.statsape.com/q-and-a/1343.html
4天前
04313
转换多变量标签编码:invalid syntax (<string><string>, line 1)</string>-决策链社区论坛

转换多变量标签编码:invalid syntax (<string>, line 1)

报错原因: (1)通常为条件未指定变量(逻辑符号或者运算符号前面缺少变量),此处应该为x1<=20 and x1>=3 如下图在*号前面没有变量,没有x1**x2的写法,必须是x1*x2*x3这种
转换多变量标签编码:cannot assign to subscript here, Maybe you meant '==' instead of '='? (<string>, line 1)-决策链社区论坛

转换多变量标签编码:cannot assign to subscript here, Maybe you meant ‘==’ instead of ‘=’? (, line 1)

报错原因:命令的符号写错了,不是写“=”,是写“==”解决方法:把=换成==    
多条件过滤表格:invalid character’‘'(U+2018)(<string>,line 1)-决策链社区论坛

多条件过滤表格:invalid character’‘'(U+2018)(,line 1)

报错原因:使用的连接符号'>'为中文符号,中文符号是非法的解决方法:将连接符号修改为英文符号
限制性立方样条:Error in which(sapply(var rsc, function(x)x== var predict))argument to 'which' is not logical-决策链社区论坛
如何去除变量存在NA或者inf的样本-决策链社区论坛

如何去除变量存在NA或者inf的样本

变量中的NA或者inf是无法参与计算的,通常需要在执行统计分析前将这些样本删除。 去除NA样本的方法: (1)筛选行空值的节点 (2)多条件过滤表格,使用notnull()的方法 删除inf样本 (1)筛选i...
SHAP:Model type not yet supported by TreeExplainer: <class 'sklearn.neighbors._classification.KNeighborsClassifier-决策链社区论坛
Error in validate_param_range(pm$get para value(

Error in validate_param_range(pm$get para value(“maxdepth”),maxdepth”,lues is required! for theNote, for automatic parameter tuning, a reasonable range of vmaxdepth parameter, input 200,300

报错原因:通常为参数的范围设置错误,一般是选择了自动调参但却没有设置正确的参数范围解决方法:例如Maxdepth的参数,应该设置为200,300表示从200到300之间逐个参数去遍历
Error in as.POSlXct.numeric(ret):'origin'h◆◆◆ø◆-决策链社区论坛

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

报错原因:ieu数据库的服务器不稳定,可能是偶然无法请求,也可能是长期无法请求解决方法:(1)更新Token后,使用相同的参数反复重新运行(2)以上方法无法解决,则建议使用MR分析的本地计算方...
Lapack routine dgesv: system is exactly singular: U[1,1]= 0-决策链社区论坛

Lapack routine dgesv: system is exactly singular: U[1,1]= 0

错误原因: 算法在计算过程中产生了奇异矩阵,导致无法计算,是参数,变量组合导致算法无法成功执行,可能的原因很多,例如变量间存在共线性很高的变量,样本量不足、用了分布类型非法的变量等...
1个月前
01176
敏感性分析-NHANES数据库挖掘讲解-决策链社区论坛

敏感性分析-NHANES数据库挖掘讲解

【敏感性分析-冲击高分SCI】https://www.bilibili.com/video/BV1vUkMYhE8c?vd_source=816a05b7ef4ffb2e6c1d7318a736bced
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
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
12小时前
05711
转换多变量标签编码:invalid syntax. Perhaps you forgot a comma? (<string>, line 1)-决策链社区论坛

转换多变量标签编码:invalid syntax. Perhaps you forgot a comma? (, line 1)

报错原因:通常为逻辑连接符未加空格,此处应该写为x1<=20 and x2>=3   
分类预测:‘DecisionTreeRegressor' object has no attribute 'predict proba'-决策链社区论坛

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

错误原因:回归模型不能使用分类预测解决方法:把分类预测节点改成回归预测节点
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)以上方法无效的情况下,重...
转换多变量标签编码:invalid character '>'(U+FF1E)(<string>, line 1)-决策链社区论坛

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

报错原因:不能使用中文(全角)的逻辑连接符号,如中文的<,>,=等符号解决方法:把中文(全角)符号修改成英文(半角)符号
筛选样本:根据输入的列名没有找到匹配的规范变量名-决策链社区论坛

筛选样本:根据输入的列名没有找到匹配的规范变量名

报错原因:筛选样本选在的变量名在上游节点输出的数据中找不到。该错误常常发生在修改现呈的工程,没有根据上游的输出变量去重新修改下游节点的变量参数解决方法:把报错节点的变量参数重新设置...
1个月前
0799
转换多变量标签编码: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连接