{"about":{"site":"https://codewithpapers.app","non_affiliation":"Code with Papers and Syntology are not affiliated with, endorsed by, or sponsored by Papers with Code, Meta, or the pwc-archive mirror.","licence":"CC BY-SA 4.0","licence_url":"https://creativecommons.org/licenses/by-sa/4.0/legalcode","attribution":"https://codewithpapers.app/attribution","modified":"archive material modified by Syntology; see the attribution page"},"url":"/paper/semi-supervised-learning-for-identifying-the","title":"Semi-supervised Learning for Identifying the Likelihood of Agitation in People with Dementia","arxiv_id":"2105.10398","date":"2021-05-14","proceeding":null,"authors":["Roonak Rezvani","Samaneh Kouchaki","Ramin Nilforooshan","David J. Sharp","Payam Barnaghi"],"abstract":"Interpreting the environmental, behavioural and psychological data from in-home sensory observations and measurements can provide valuable insights into the health and well-being of individuals. Presents of neuropsychiatric and psychological symptoms in people with dementia have a significant impact on their well-being and disease prognosis. Agitation in people with dementia can be due to many reasons such as pain or discomfort, medical reasons such as side effects of a medicine, communication problems and environment. This paper discusses a model for analysing the risk of agitation in people with dementia and how in-home monitoring data can support them. We proposed a semi-supervised model which combines a self-supervised learning model and a Bayesian ensemble classification. We train and test the proposed model on a dataset from a clinical study. The dataset was collected from sensors deployed in 96 homes of patients with dementia. The proposed model outperforms the state-of-the-art models in recall and f1-score values by 20%. The model also indicates better generalisability compared to the baseline models.","url_abs":"https://arxiv.org/abs/2105.10398v1","url_pdf":"https://arxiv.org/pdf/2105.10398v1.pdf","source":{"archive":"pwc-archive (Hugging Face), CC BY-SA 4.0","snapshot":"2025-07-28","licence_url":"https://creativecommons.org/licenses/by-sa/4.0/legalcode","row_kind":"abstracts"},"code_links":[{"paper_slug":"semi-supervised-learning-for-identifying-the","repo_url":"https://github.com/RoonakR/Agitation_detection","is_official":1,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"none","reach":{"status":"ok","spdx":"MIT"}}],"tasks":[{"task_slug":"prognosis","task_name":"Prognosis"},{"task_slug":"self-supervised-learning","task_name":"Self-Supervised Learning"}],"methods":[],"datasets_introduced":[],"methods_introduced":[],"results":[],"syntology":{"atlas_url":"https://app.syntology.ai/?focus=2105.10398","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"2105.10398"}},"developers":"https://syntology.ai/developers","read_at":"2026-09-24T18:15:14+00:00","read_at_is":"when the build read Syntology's graph, not when any sample ran","claim":"Per-sample execution status on synthesized fixtures; not a correctness claim about the paper. Samples come from repositories linked to the paper, official or community; repo_kind says which.","repos":[{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/RoonakR/Agitation_detection","reach":{"status":"ok","spdx":"MIT"}}],"summary":{"unverified":20},"by_repo_kind":{"official":{"samples":20,"ran":0,"repositories":1}},"repo_kind_vocabulary":{"official":"The archive marks this repository official for the paper","named_in_paper":"The archive records that the paper mentions this repository; it is not marked official","listed":"In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper","found_in_text":"Syntology found this repository in the paper's own text; whether it is the authors' implementation is not asserted","community":"Not in the archive's code links for this paper; a community repository Syntology harvested"},"n_pointer_only_for_licence":0,"samples":[{"code_sha256_prefix":"41cb531f2794f484","entry":"ResNet_model","repo":"RoonakR/Agitation_detection","repo_kind":"official","path":"model/baseline_models.py","file_url":"https://github.com/RoonakR/Agitation_detection/blob/HEAD/model/baseline_models.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"41cb531f2794f484"}},{"code_sha256_prefix":"89b6a6bccf5ff7ce","entry":"VB_iteration","repo":"RoonakR/Agitation_detection","repo_kind":"official","path":"model/VB_iteration.py","file_url":"https://github.com/RoonakR/Agitation_detection/blob/HEAD/model/VB_iteration.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"89b6a6bccf5ff7ce"}},{"code_sha256_prefix":"c381c65fc9f7b1c5","entry":"classifier_model","repo":"RoonakR/Agitation_detection","repo_kind":"official","path":"model/model.py","file_url":"https://github.com/RoonakR/Agitation_detection/blob/HEAD/model/model.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"c381c65fc9f7b1c5"}},{"code_sha256_prefix":"533809aab30a27fd","entry":"conv_block","repo":"RoonakR/Agitation_detection","repo_kind":"official","path":"model/model.py","file_url":"https://github.com/RoonakR/Agitation_detection/blob/HEAD/model/model.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"533809aab30a27fd"}},{"code_sha256_prefix":"1f2d5e72e43e95f4","entry":"decision","repo":"RoonakR/Agitation_detection","repo_kind":"official","path":"utils/evaluation.py","file_url":"https://github.com/RoonakR/Agitation_detection/blob/HEAD/utils/evaluation.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"1f2d5e72e43e95f4"}},{"code_sha256_prefix":"4ac211e6180c5c1e","entry":"decoder_2Dmodel","repo":"RoonakR/Agitation_detection","repo_kind":"official","path":"model/autoencoder.py","file_url":"https://github.com/RoonakR/Agitation_detection/blob/HEAD/model/autoencoder.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"4ac211e6180c5c1e"}},{"code_sha256_prefix":"b506618b0462e8d9","entry":"deepBiLSTM","repo":"RoonakR/Agitation_detection","repo_kind":"official","path":"model/baseline_models.py","file_url":"https://github.com/RoonakR/Agitation_detection/blob/HEAD/model/baseline_models.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"b506618b0462e8d9"}},{"code_sha256_prefix":"7cb5e83275d6b922","entry":"deepLSTM","repo":"RoonakR/Agitation_detection","repo_kind":"official","path":"model/baseline_models.py","file_url":"https://github.com/RoonakR/Agitation_detection/blob/HEAD/model/baseline_models.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"7cb5e83275d6b922"}},{"code_sha256_prefix":"1b8ed41a886c5836","entry":"encoder_2Dmodel","repo":"RoonakR/Agitation_detection","repo_kind":"official","path":"model/autoencoder.py","file_url":"https://github.com/RoonakR/Agitation_detection/blob/HEAD/model/autoencoder.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"1b8ed41a886c5836"}},{"code_sha256_prefix":"1fac761b680ff861","entry":"expected_log_Dirichlet_parameters","repo":"RoonakR/Agitation_detection","repo_kind":"official","path":"model/VB_iteration.py","file_url":"https://github.com/RoonakR/Agitation_detection/blob/HEAD/model/VB_iteration.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"1fac761b680ff861"}},{"code_sha256_prefix":"59473117e43536ff","entry":"extract_features","repo":"RoonakR/Agitation_detection","repo_kind":"official","path":"utils/utils.py","file_url":"https://github.com/RoonakR/Agitation_detection/blob/HEAD/utils/utils.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"59473117e43536ff"}},{"code_sha256_prefix":"6a5f79712ef8db27","entry":"false_acceptance_rate","repo":"RoonakR/Agitation_detection","repo_kind":"official","path":"utils/evaluation.py","file_url":"https://github.com/RoonakR/Agitation_detection/blob/HEAD/utils/evaluation.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"6a5f79712ef8db27"}},{"code_sha256_prefix":"95522c47da5e2916","entry":"false_rejection_rate","repo":"RoonakR/Agitation_detection","repo_kind":"official","path":"utils/evaluation.py","file_url":"https://github.com/RoonakR/Agitation_detection/blob/HEAD/utils/evaluation.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"95522c47da5e2916"}},{"code_sha256_prefix":"c2bbbec3b6b4f0e1","entry":"fit_volunteer_calssifiers","repo":"RoonakR/Agitation_detection","repo_kind":"official","path":"model/BCNNet.py","file_url":"https://github.com/RoonakR/Agitation_detection/blob/HEAD/model/BCNNet.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"c2bbbec3b6b4f0e1"}},{"code_sha256_prefix":"11720413314ae2bb","entry":"generate_volunteer_labels","repo":"RoonakR/Agitation_detection","repo_kind":"official","path":"model/BCNNet.py","file_url":"https://github.com/RoonakR/Agitation_detection/blob/HEAD/model/BCNNet.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"11720413314ae2bb"}},{"code_sha256_prefix":"fd9ce5dac2ee0a15","entry":"get_2Dmodel","repo":"RoonakR/Agitation_detection","repo_kind":"official","path":"model/autoencoder.py","file_url":"https://github.com/RoonakR/Agitation_detection/blob/HEAD/model/autoencoder.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"fd9ce5dac2ee0a15"}},{"code_sha256_prefix":"48d3a53c42ccbb24","entry":"logB_from_Dirichlet_parameters","repo":"RoonakR/Agitation_detection","repo_kind":"official","path":"model/VB_iteration.py","file_url":"https://github.com/RoonakR/Agitation_detection/blob/HEAD/model/VB_iteration.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"48d3a53c42ccbb24"}},{"code_sha256_prefix":"5d6de5854bb10a37","entry":"make_selfsupervised_dataset","repo":"RoonakR/Agitation_detection","repo_kind":"official","path":"utils/utils.py","file_url":"https://github.com/RoonakR/Agitation_detection/blob/HEAD/utils/utils.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"5d6de5854bb10a37"}},{"code_sha256_prefix":"81aa79d60de61c43","entry":"make_volunteer_classifiers","repo":"RoonakR/Agitation_detection","repo_kind":"official","path":"model/BCNNet.py","file_url":"https://github.com/RoonakR/Agitation_detection/blob/HEAD/model/BCNNet.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"81aa79d60de61c43"}},{"code_sha256_prefix":"2b52c069dea03e5e","entry":"self_supervised_model","repo":"RoonakR/Agitation_detection","repo_kind":"official","path":"model/model.py","file_url":"https://github.com/RoonakR/Agitation_detection/blob/HEAD/model/model.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"2b52c069dea03e5e"}}]},"arxiv_metadata":null,"syntology_extracted_results":null}