medizininformatik-initiative / Projectathon6-miracum1

5 stars 4 forks source link

Script exits with error object 'res_gamboostNB' not found #26

Closed schmidtchristi closed 1 year ago

schmidtchristi commented 1 year ago

Hello, the script gets exit with the following Error:

| 2023-04-06T20:25:43.904494125Z Aggregating results

step2-projectathon6-miracum1-step2-1  | 2023-04-06T20:25:43.904538059Z Selecting tuning parameters
step2-projectathon6-miracum1-step2-1  | 2023-04-06T20:25:43.908486032Z Fitting C = 0.0156 on full training set
step2-projectathon6-miracum1-step2-1  | 2023-04-06T20:25:44.352595598Z [1] "fitting SVR based on chosen hyperparameter"
step2-projectathon6-miracum1-step2-1  | 2023-04-06T20:26:00.318737917Z Time difference of 3.097104 hours
step2-projectathon6-miracum1-step2-1  | 2023-04-06T20:26:00.319018293Z [1] "Modeling with fixed window as TRUE is done"
step2-projectathon6-miracum1-step2-1  | 2023-04-06T20:26:00.319317261Z Warning message:
step2-projectathon6-miracum1-step2-1  | 2023-04-06T20:26:00.319357367Z In randomForest.default(x, y, mtry = param$mtry, ...) :
step2-projectathon6-miracum1-step2-1  | 2023-04-06T20:26:00.319375887Z   The response has five or fewer unique values.  Are you sure you want to do regression?
step2-projectathon6-miracum1-step2-1  | 2023-04-06T20:26:00.860297011Z [1] "fitting models for total_count"
step2-projectathon6-miracum1-step2-1  | 2023-04-06T20:26:01.840663605Z [1] "Fitting Gamboost for total_count"
step2-projectathon6-miracum1-step2-1  | 2023-04-06T20:27:44.878771932Z [1] "Fitting Gamboost Poisson for total_count"
step2-projectathon6-miracum1-step2-1  | 2023-04-06T20:29:15.309573810Z [1] "Fitting MARS earth for total_count"
step2-projectathon6-miracum1-step2-1  | 2023-04-06T20:29:16.140146873Z [1] "Fitting Random forest for total_count"
step2-projectathon6-miracum1-step2-1  | 2023-04-06T20:29:18.184488134Z Error in rbind(res_gamboostNB, res_gamboostPO, res_earth1, res_rf) : 
step2-projectathon6-miracum1-step2-1  | 2023-04-06T20:29:18.184582508Z   object 'res_gamboostNB' not found
step2-projectathon6-miracum1-step2-1  | 2023-04-06T20:29:18.184614999Z Calls: source -> withVisible -> eval -> eval -> rbind
step2-projectathon6-miracum1-step2-1  | 2023-04-06T20:29:18.190446091Z Execution halted
step2-projectathon6-miracum1-step2-1 exited with code 1

Can you reproduce this and suggest a solution? Best regards, Christian

NandhiniS08 commented 1 year ago

Can you please check in the results folder if gamboostNB_total_count_site_name.rda is generated?

schmidtchristi commented 1 year ago

Thank you for the answer. No, the file is not generated.

NandhiniS08 commented 1 year ago

Thanks for your reply.

NandhiniS08 commented 1 year ago

Had a debug session on 14.04.2023. Identified the issue and pushed a new image for projectathon6-miracum1-step2-gottingen-debug . to run the 6_modeling3_gamboost.R.