Skip to main content
OpenTrials
Completed

NCT Number: NCT07227194

Machine Learning Assessment of Next-Day Migraine Likelihood

Development of a machine learning (ML) algorithm for assessment of next-day migraine likelihood, drawing on self-reported migraine-related information, and geographic location, collected via the Nerivio app- a mobile application used for migraine treatment by the Remote Electrical Neuromodulation (REN) wearable device.

Completed

Looking for future studies?

Notify Me

Key information

Age range

8 year and older

Sex eligibility

All sexes

Study type

Observational

Primary location

Theranica USA Inc

Bridgewater, New Jersey, 08807, United States

About this study

The analysis set includes patients with migraine who used Nerivio app for the reporting of migraine attacks and/or associated symptoms and/or migraine-related information.

Data collection is through the Nerivio app (Nerivio®). During app registration, patients consent to the collection of de-identified data for research purposes and provide demographic information. Participants can voluntarily report baseline characteristics such as treatment onset time relative to attack onset, headache pain, functional disability, and presence/absence of migraine-associated symptoms, as well as treatment outcomes 2-hours post-treatment. All data is stored on a HIPAA-compliant secure server.

The algorithm will be trained on user-level data. The dataset will be structured as a tabular matrix, where the columns represent risk-related features and the rows represent user-day observations. The feature set (X) serves as input variables, while the migraine occurrence label (Y) is the target outcome. The feature set (X) could be divided into four groups, according to the data source:

Demographic data - age and sex were self-reported via the app upon registration. The user's country is identified based on IP address.

Questionnaire data - features which are the patient's answers to either the daily diary questionnaire or a pre-treatment questionnaire. These include headache severity, functional disability, medication intake, aura, pain duration, and prodromal symptoms. Data on prodromal symptoms is collected via a multiple-choice question with 14 pre-defined answers.

Weather data - environmental features that are based on users' geographic location. These include barometric pressure, temperature, heat index, UV index, wind, humidity, and precipitation.

Calculated features - features that are calculated based on the aforementioned collected data. These include averages, frequencies, number of consecutive days, etc'.

Label (Y) Definition - The target variable (Y) will be defined using daily diary entries and pre-treatment questionnaires. The "next-day migraine" field served as the target outcome. A value of 1 (migraine day) will be assigned if a migraine was reported on the subsequent calendar day; a value of 0 (non-migraine day) will be assigned if no migraine was reported. Missing values were kept as null to capture potential information inherent in their non-random occurrence.

A day is classified as a migraine day (Y = 1) if both of the following conditions were met: A) Headache level was reported as mild, moderate, or severe in the diary or pre-treatment questionnaire. B) At least one additional migraine indicator was present: intake of migraine-related medication, or report of photophobia, phonophobia, nausea and/or vomiting, or aura in the diary or pre-treatment questionnaire.

The following standard ML outcome measures were used to evaluate model performance:

Precision- the percentage of migraine days correctly predicted, out of all predicted days.

Accuracy- the percentage of days correctly predicted (migraine and non-migraine), out of all the predicted days.

Sensitivity (also termed recall rate)- the percentage of migraine days correctly predicted, out of all the migraine days.

Specificity- the percentage of non-migraine days correctly predicted, out of all the non-migraine days.

Area Under the Curve (AUC)- the probability that the model ranks a migraine day higher than a non-migraine day, based on predicted risk scores (summarizing the model's ability to distinguish between migraine and non-migraine days across all classification thresholds).

F1 score- the balance between correctly predicted migraine days and avoiding wrongly-predicted migraine days, combining sensitivity and precision in one measure.

Who can participate

Healthy volunteers accepted: No

Only the study team can determine whether someone qualifies for participation.

Inclusion criteria

  • - Nerivio users age 8 and above.
  • - Filled at least 2 daily diaries/ pre-treatment reports via the Nerivio app during the same month.

Exclusion criteria

  • NA

Treatment and study plan

Primary outcomes

  1. Precision of the prediction model

    Time frame: 24 hours

    The percentage of migraine days correctly predicted, out of all predicted days.

Secondary outcomes

  1. Specificity of the prediction model

    Time frame: 24 hours

    The percentage of non-migraine days correctly predicted, out of all the non-migraine days

  2. Sensitivity of the prediction model

    Time frame: 24 hours

    The percentage of migraine days correctly predicted, out of all the migraine days.

  3. Accuracy of the prediction model

    Time frame: 24 hours

    The percentage of days correctly predicted (migraine and non-migraine), out of all the predicted days

  4. Area Under the Curve (AUC)

    Time frame: 24 hours

    The probability that the model ranks a migraine day higher than a non-migraine day, based on predicted risk scores (summarizing the model's ability to distinguish between migraine and non-migraine days across all classification thresholds).

  5. F1 score for the prediction model

    Time frame: 24 hours

    The balance between correctly predicted migraine days and avoiding wrongly-predicted migraine days, combining sensitivity and precision in one measure.

Sponsors and collaborators

Lead sponsor

Theranica

Industry

Collaborators

  • WCG IRB

Registry information

Official study title

Machine Learning Assessment Of Next-Day Migraine Likelihood Collected Via The Nerivio App

Important dates

Study start
2025
Primary completion
2025
Study completion
2025
First posted
Nov 12, 2025
Registry last updated
Nov 12, 2025

OpenTrials presents study information sourced from ClinicalTrials.gov. The official registry record should be consulted for the latest information.

View the official ClinicalTrials.gov record (opens in a new tab)

This listing is for discovery and informational purposes only. It is not medical advice, does not guarantee that a study is recruiting, and does not determine eligibility. Contact the study team and a qualified healthcare professional when considering participation.

Published trials that share one or more normalized conditions with this study.