Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

harmonydata

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
@harmonydata

Harmony

Harmonising mental health data with natural language processing

The Harmony Project logo

🌐 harmonydata.ac.ukHarmony | LinkedInHarmony | XHarmony | InstagramHarmony | FacebookHarmony | YouTube

PyPI packagePyPi downloadsforksdockerr

You can also joinour Discord server!

What does Harmony do?

  • Psychologists and social scientists often have to match items in different questionnaires, such as "I often feel anxious" and "Feeling nervous, anxious or afraid".
  • This is calledharmonisation.
  • Harmonisation is a time consuming and subjective process.
  • Going through long PDFs of questionnaires and putting the questions into Excel is no fun.
  • EnterHarmony, a tool that usesnatural language processing and generative AI models to help researchers harmonise questionnaire items, evenin different languages.

Quick start with the code

💁You can run the walkthrough Python notebook inGoogle Colab with a single click:Open In Colab

🇷You can also download an R markdown notebook to run in R Studio:Open In R Studio

🇷You can run the walkthrough R notebook in Google Colab with a single click:Open In Colab

The Harmony Project

Harmony is a tool using AI which allows you to compare items from questionnaires and identify similar content. You can try Harmony athttps://app.harmonydata.ac.uk and you can read our blog athttps://harmonydata.ac.uk/blog/.

The source code for Harmony is on Github athttps://github.com/harmonydata/harmony.

Here's a walkthrough video on how you can use Harmony online at harmonydata.ac.uk. Click to view:

Harmonising questionnaires

Looking for source code?

Harmony team internal

Information about Harmony's server setup and deployment isin the private repo harmony_deployment_ulster_private.

💚 Harmonising Mental Health Data

The Harmony project is a data harmonisation project that usesNatural Language Processing to help researchers make better use of existing data from different studies by supporting them with the harmonisation of various measures and items used in different studies.

‎😃💁Who worked on Harmony?

Harmony is a collaboration project betweenUlster University,University College London, theUniversidade Federal de Santa Maria, andFast Data Science. Harmony has been funded byWellcome as part of theWellcome Data Prize in Mental Health and byEconomic and Social Research Council (ESRC).

The core team at Harmony is made up of:

✉️Who to contact about Harmony?

You can contact us athttps://harmonydata.ac.uk/contact/.

📜How do I cite Harmony?

McElroy, E., Moltrecht, B., Ploubidis, G.B., Scopel Hoffman, M., Wood, T.A., Harmony [Computer software], Version 1.0, accessed athttps://app.harmonydata.ac.uk. Ulster University (2022)

🔢Does Harmony store my data?

If you upload a questionnaire or instrument, Harmony does not store or save it. You can read more on ourPrivacy Policy page.

⚙️How does Harmony work?

Harmony passes the text of each questionnaire item through a neural network called Sentence-BERT, in order to convert it into a vector. The similarity of two texts is then measured as the similarity between their vectors. Two identical texts have a similarity of 100% while two completely different texts have a similarity of 0%. You can read more in thistechnical blog post and you can evendownload and run Harmony’s source code.

🎯How reliable is Harmony?

Harmony was able to reconstruct the matches of the questionnaire harmonisation tool developed by McElroy et al in 2020 with the following AUC scores: childhood 81%, adulthood 77%. Harmony was able to match the questions of the English and Portuguese GAD-7 instruments with AUC 100%. You can read more inthis blog post.

🧮What do the numbers mean?

The numbers are the cosine similarity of document vectors. The cosine similarity of two vectors can range from -1 to 1 based on the angle between the two vectors being compared. We have converted these to percentages. We have also used a preprocessing stage to convert positive sentences to negative and vice-versa (e.g. I feel anxious -> I do not feel anxious). If the match between two sentences improves once this preprocessing has been applied, then the items are assigned a negative similarity.

📊 Does Harmony give p-values?

At this time Harmony does not give p-values. But you can interpret the percentage matches like correlation coefficients. In future we hope to provide more statistical data to Harmony’s users.

🧑 Who developed the Python code of Harmony?

📜 How do I cite Harmony?

You can cite ourvalidation paper:

McElroy, Wood, Bond, Mulvenna, Shevlin, Ploubidis, Scopel Hoffmann, Moltrecht,Using natural language processing to facilitate the harmonisation of mental health questionnaires: a validation study using real-world data. BMC Psychiatry 24, 530 (2024),https://doi.org/10.1186/s12888-024-05954-2

A BibTeX entry for LaTeX users is

{{< rawhtml >}}

@article{mcelroy2024using,  title={Using natural language processing to facilitate the harmonisation of mental health questionnaires: a validation study using real-world data},  author={McElroy, Eoin and Wood, Thomas and Bond, Raymond and Mulvenna, Maurice and Shevlin, Mark and Ploubidis, George B and Hoffmann, Mauricio Scopel and Moltrecht, Bettina},  journal={BMC psychiatry},  volume={24},  number={1},  pages={530},  year={2024},  publisher={Springer}}

{{< /rawhtml >}}

Popular repositoriesLoading

  1. harmonyharmonyPublic

    The Harmony Python library: a research tool for psychologists to harmonise data and questionnaire items. Open source.

    Jupyter Notebook 26 38

  2. hackathonhackathonPublic

    3 4

  3. harmony_rharmony_rPublic

    R library for Harmony. R package - open source tool using AI for psychology and mental health. Actively recruiting contributors.

    HTML 2 3

  4. harmony_originalharmony_originalPublic

    The Harmony project

    Jupyter Notebook 1 1

  5. harmonyapiharmonyapiPublic

    This is the source code for the Harmony project REST API

    Python 1 9

  6. harmony_examplesharmony_examplesPublic

    Example Jupyter notebook and R scripts using Harmony in real research problems

    HTML 1 2

Repositories

Loading
Type
Select type
Language
Select language
Sort
Select order
Showing 10 of 21 repositories
  • harmonydata.github.io Public

    Blog for NLP data harmonisation project Harmony, open source solution using Python for psychologists

    harmonydata/harmonydata.github.io’s past year of commit activity
    HTML0 1 0 0 UpdatedMar 21, 2025
  • app Public

    Harmony front end

    harmonydata/app’s past year of commit activity
    JavaScript0MIT 6 6(1 issue needs help) 4 UpdatedMar 13, 2025
  • harmonydata/harmony-browser-extension’s past year of commit activity
    JavaScript0MIT0 0 0 UpdatedMar 13, 2025
  • harmony_r Public

    R library for Harmony. R package - open source tool using AI for psychology and mental health. Actively recruiting contributors.

    harmonydata/harmony_r’s past year of commit activity
    HTML 2 3 2(1 issue needs help) 0 UpdatedMar 13, 2025
  • harmony Public

    The Harmony Python library: a research tool for psychologists to harmonise data and questionnaire items. Open source.

    harmonydata/harmony’s past year of commit activity
    Jupyter Notebook 26MIT 38 21(4 issues need help) 3 UpdatedMar 13, 2025
  • experiments Public

    Experiments with Harmony

    harmonydata/experiments’s past year of commit activity
    Jupyter Notebook0MIT0 0 0 UpdatedMar 11, 2025
  • harmonyapi Public

    This is the source code for the Harmony project REST API

    harmonydata/harmonyapi’s past year of commit activity
    Python 1 9 4 0 UpdatedMar 11, 2025
  • brand Public
    harmonydata/brand’s past year of commit activity
    Python0 1 0 0 UpdatedMar 7, 2025
  • matching Public
    harmonydata/matching’s past year of commit activity
    HTML0MIT0 0 0 UpdatedFeb 24, 2025
  • harmonydata/harmony_discovery’s past year of commit activity
    0MIT0 0 0 UpdatedFeb 9, 2025

People

This organization has no public members. You must be a member to see who’s a part of this organization.

Top languages

Loading…

Most used topics

Loading…


[8]ページ先頭

©2009-2025 Movatter.jp