PatientLevelPrediction icon indicating copy to clipboard operation
PatientLevelPrediction copied to clipboard

predictPlp() hanging and not running

Open malihamashkoor123 opened this issue 2 years ago • 2 comments

Hi, I am trying to use predictPlp() to create predictions on a test cohort on PLP v5.0.5. However the run is hanging and the predictions are never generated. Could you identify what is causing this issue?

MicrosoftTeams-image (11)

malihamashkoor123 avatar Sep 27 '22 12:09 malihamashkoor123

Hard to figure out with the current log but possibly a do.call with an incorrect function. What type of model were you using to make the prediction (e.g., logistic regression, GBM, random forest)? I'm about to release a new PLP (the current version in the develop branch) - once that is release, it would be best to use that since it contains bug fixes and more functionality.

jreps avatar Sep 28 '22 15:09 jreps

Hi Jenna, I am using the logistic regression model, and I will update the current package to the PLP v6.0.

malihamashkoor123 avatar Oct 04 '22 09:10 malihamashkoor123

Did updating get rid of the issue?

jreps avatar Nov 17 '22 13:11 jreps

Hi Jenna,

I was loading the PLP data object incorrectly. I am now using getPlpData() to load the PLP data object and it's working now.

malihamashkoor123 avatar Dec 29 '22 15:12 malihamashkoor123