Open weifuq opened 3 months ago
Can you show your riskscore based on RSF model?
Your OS.time is day unit?
yes
执行cal_AUC_ml_res函数的时候是不是要在list_train_vali_Data中加上分组信息?
No need. No such problems have been encountered.
all.auc.3y <- cal_AUC_ml_res(res.by.ML.Dev.Prog.Sig = res,train_data = mm[["Training_Dataset"]],
- inputmatrix.list = mm,mode = 'all',AUC_time = 3,
- auc_cal_method="KM") --- Data preprocessing --- [1] "Training_Dataset" [1] "Testing_Dataset1" [1] 2832.4 [1] "Testing_Dataset2" [1] 2022 [1] "Testing_Dataset3" [1] "RSF" Error in survdiff.fit(y, groups, strata.keep, rho) : There is only 1 group Error is why?
I have encountered the same problem, can you solve this problem?
No发自我的手机-------- 原始邮件 --------发件人: kongwh99 @.>日期: 2024年7月16日周二 下午1:41收件人: l-magnificence/Mime @.>抄送: weifuq @.>, Author @.>主 题: Re: [l-magnificence/Mime] cal_AUC_ml_res (Issue #22) image.png (view on web) I have encountered the same problem, can you solve this problem?
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you authored the thread.Message ID: @.***>
Sorry, currently I don't know how to solve it due to no happening in my system. Anyone knows?
I had the same problem,Can i calculate it like this?
time_roc_train <- timeROC(
T = train_risk$OS.time,
delta = train_risk$OS,
marker = train_risk$RS,
cause = 1,
weighting="marginal",
times = c(365, 1095, 1825),
ROC = TRUE,
iid = TRUE
)
Yes, you can calculate AUC yourself using the results output by ML.Dev.Prog.Sig. Like this:
risk.survivalROC <- survivalROC(
Stime = x$OS.time,
status = x$OS,
marker = x$RS,
predict.time = 365 * 1,
method = "KM"
)