Since ML techniques are based on "conventional" statistics, it is important to dive deeper into the process of training 2 . The collected data is usually split into two parts -the so-called training and testing sets -allowing for a successfully trained algorithm to make predictions on data it has not seen before. This is a crucial step, as ML algorithms instantly identify the particularities of a specific dataset, which may largely shape the resulting prediction model. This phenomenon, called overfitting, results in inaccurate predictions of models when using new data, therefore hampering the model's generalizability. Therefore, a model's performance is assessed based on the "new" predictions made on the "clean" test data that the algorithm has not seen during training, as this provides an estimate of its potential applicability to new datasets.
value of a computationally-expensive technique like dynamic time warping (DTW).The third part of this thesis expands beyond mortality prediction and clustering, focusing on applying computer vision to develop a proof-of-concept algorithm to identify sepsis and acute illness. Through one of the first editorials ever published in The Lancet Digital Health, in chapter 8 we reflect on lessons learnt from a landmark prediction study in the ICU, and highlight the essential elements of research for the prediction long-term outcomes in critical care. In particular, gathering of correct data will require changes to data collection strategies and infrastructure, including closer collaboration between clinicians, researchers, data scientists, and national medical data registries. To explore the potential added value of alternative, new data sources in settings like the ICU or emergency room, in chapter 9 we trained a deep learning algorithm on a dataset of simulated and augmented facial photographs of healthy volunteers mimicking the "gestalt" (facial cues) of acutely ill patients. This algorithm was then validated in an external dataset of photographs of volunteers injected with lipopolysaccharide (LPS) to induce a controlled state of "acute illness".Finally, in chapter 10, the main findings of this thesis are outlined and discussed.