OHDSI Home | Forums | Wiki | Github

Question about adding a custom algorithm to Patient level prediction library

hi all
i am trying to add a new algorithm that i will import from scikit learn to patient level prediction
i am using the guidelines of this document

and also i investigated the python code inside the PatientLevelPrediction/python/ directory since essentially is the same in spirit
however i have some problems.In particular my question is the following : the predict.R file should be located somewhere special in the R environment?
also my bare hands approach was till now to rephrase a python module from the aforementioned library and put my algoritthm of interest,is this a good strategy?

thank you in advance
yannis

t