The objective of the Predictor Variable Time Series Classification service (VarCls) is to allow medical practitioners to make predictions about a future health status of PMSS (Parkinson’s Disease, Multiple Sclerosis and Stroke) patients, given a history of tracked predictor variables.
The health status of the patient is determined as:
The predictor variables are obtained based on a long term (year long) observation of the patient, during which data is collected from two main sources:
The target variables (health status estimates) are obtained by performing standardized clinical evaluations at specific milestones (e.g. every 3 or 6 months - depending on pilot study).
The input to the VarCls service is a set of time series, where each time series pertains to one predictor variable. The values of the predictor variables are obtained from the following ALAMEDA toolkits:
The exact set of PRO results and toolkit extracted metrics is specific to each monitored disease (PD, MS and Stroke).
The inputs are provided to the VarCls service as a CSV file, whereby each row contains the values of predictor variables, as well as information about the timestamp of the measurement and the patientID to which the measurement belongs.
The service invocation also requires the specification of an AI model name to use in the prediction (see Section on AI Models).
The output of the VarCls service is a CSV file containing one or more target variables together with the probability distribution for each target variable value.
Several AI models underlie the VarCls service. Each AI model is specific to the target variable of a particular neurological disease (PD, MS or Stroke).
The VarCls service operates with input time series whose variable values are numerical (e.g. number of steps performed during a day, number of hours slept, average walking speed throughout a day), categorical (e.g. estimated mood state) or ordinal (e.g. Likert-scale response on a questionnaire) in nature.
As such, the employed AI models fall under two main categories:
TThe VarCls service is implemented as a dockerized web-service containing three principle sub-services:
To run the service locally the following installation pre-requisites are necessary
Building VarCls Image
After installing the pre-requisits proceed with building the image underlying the VarCls Server and Celery worker containers:
Starting VarCls Server
To start the service locally navigate to the top directory in which you cloned the repository and run docker compose up. Add the the -d option if you wish to start the services in daemon mode.
Using the VarCls service
Once deployed the VarCls service will listen for HTTP connections on port 8080.
IMPORTANT NOTE
There are four steps to the interaction with the service: