I need some advice for my feature engineering. Suppose I have 90 days follow-up data. on 12 patients and I have the vital status of the patients at the end of these 90 days (deceased=1, alive=0)

biology2<-rnorm (12,100,20)

Patients were seen at irregular rhythms where they benefited from clinical and biological examinations. I would like to make a model of mortality prediction. What kind of transformations will be adapted to the numerical variables for my case, and which take into account the evolutivity of the data, knowing that the data are not periodic. For the moment I am thinking of calculating the slopes for the numerical variables. What other transformation could I do that takes into account the evolutivity of the variables? The variable "stage", is an ordinal variable and in principle the higher the stage, the more critical the state of the patient is, and the more likely he is to die, Would it be a good idea to do the One-Hot-Encoding? Or should I do Ordinal Encoding? And in the latter case is it a good idea to leave the variable with its 1,2, 3,4? (knowing that there is no interval property)

What type of encoding could I do that takes into account the evolutivity of the binary variables (sign1 and sign2)? For example patient 1 has 1,then 0, then 0 for sign 2 Would it be a good idea to make a slope here as well?

  • $\begingroup$ Trying to use data science to model mortality prediction with complex models and just 12 patients is a bad idea. $\endgroup$ – Valentas Jan 21 at 20:43

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.