SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2105.10398 · 2021

Semi-supervised Learning for Identifying the Likelihood of Agitation in People with Dementia

arXiv · PDF · Open in the Atlas

Code that ran

12 of 20 samples (functions and classes) lifted from this paper's linked repositories executed on a synthesized input in Syntology's jail (0 of them constructed an object rather than computing a result; 0 honoured the contract we drafted, 1 violated it and 9 have no contract verdict; 2 failures of our instrument; 8 no recorded run), measured 2026-11-23; repository links from the Papers with Code archive attributed under CC BY-SA, no affiliation; bodies inline only under a permissive licence as GitHub detects it. Not a reproduction of the paper's results.

"Ran" means the function executed on a synthesized input and returned a value. It is not a reproduction of the paper's results. This record, dated, as JSON: /api/ran/2105.10398.json · badge: /api/ran/2105.10398.svg

Each repository's role is a label: a classifier's output recorded on the link, or, where no role is recorded, what the Papers with Code archive marked. The line under it names its basis. Neither says who wrote the code.

RepositoryRoleRan
RoonakR/Agitation_detection canonical (classifier label)
classifier basis: census
12 ran · 8 no recorded run
FunctionStatusWhere it lives
VB_iteration Ran
ran on a synthesized input
RoonakR/Agitation_detection/model/VB_iteration.py
code served (permissive licence) · get_code("89b6a6bccf5ff7ce")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned tuple. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import numpy as np
import scipy.special as ss

# Set random seed for reproducibility
np.random.seed(0)

# Define dimensions
N = 2  # number of data points
J = 4  # number of true classes
L = 3  # number of classes used by volunteers
W = 5  # number of volunteers

# X: N x W volunteer answers, -1 encodes missing answer
# Values should be in range [0, L-1] or -1 for missing
X = np.array([
    [0, 1, 2, -1, 0],
    [1, 0, 1, 2, -1]
], dtype=np.int32)

# nn_output: N x J logits (not softmax)
nn_output = np.random.randn(N, J).astype(np.float64)

# alpha0_volunteers: J x L x W - prior Dirichlet parameters
alpha0_volunteers = np.ones((J, L, W), dtype=np.float64) * 0.5

# alpha_volunteers: J x L x W - current posterior Dirichlet parameters
# Initialize with alpha0 plus some small random values
alpha_volunteers = alpha0_volunteers + np.random.rand(J, L, W) * 0.1

ARGS = {
    "X": X,
    "nn_output": nn_output,
    "alpha_volunteers": alpha_volunteers,
    "alpha0_volunteers": alpha0_volunteers,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy, scipy — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type tuple — a tuple output has no array shape of its own; none is stated
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
classifier_model Ran
ran on a synthesized input
RoonakR/Agitation_detection/model/model.py
code served (permissive licence) · get_code("c381c65fc9f7b1c5")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned Functional. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

ARGS = {
    'input_shape': (10,),
    'n_class': 3,
    'hidden_nodes': 128,
    'L2': 0.01,
    'batch_norm': True,
    'lstm': False
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
keras — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type Functional — a Functional output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a Functional output the recorded ndim 0 and dtype family float describe that coercion, not the output, and are not stated
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
conv_block Ran
ran on a synthesized input
RoonakR/Agitation_detection/model/model.py
code served (permissive licence) · get_code("533809aab30a27fd")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned KerasTensor. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import numpy as np
from keras.layers import Dense, Input, Conv1D, Dropout, Flatten, Reshape, MaxPooling1D, AveragePooling1D, BatchNormalization, LSTM, InputLayer, Activation

# Create input layer with shape (batch_size, timesteps, channels)
input_layer = Input(shape=(10, 4))

ARGS = {
    'input_layer': input_layer,
    'filter_size': 32,
    'kernel_size': 3,
    'stride': 1,
    'dropout': True,
    'dropout_rate': 0.5,
    'batch_norm': True,
    'activation': 'relu',
    'padding': 'same'
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
keras, numpy — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type KerasTensor — a KerasTensor output has no array shape of its own; none is stated
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
decision Ran
ran, violated the contract we drafted
RoonakR/Agitation_detection/utils/evaluation.py
code served (permissive licence) · get_code("1f2d5e72e43e95f4")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned ndarray, ndim 1, dtype family int, shape (2,) as a later run recorded it. The image it ran in was not recorded. If your copy returns the same type, ndim and shape on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import numpy as np

# The function takes y_pred (a 2D array where it indexes [:, 1]) and thresh (a float)
# y_pred needs to be a 2D numpy array with at least 2 columns
# We'll create a small batch of 2 samples with 2 probability columns (binary classification)

y_pred = np.array([
    [0.3, 0.7],
    [0.6, 0.4]
], dtype=np.float32)

ARGS = {
    "y_pred": y_pred,
    "thresh": 0.5
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type ndarray, ndim 1, dtype family int, shape (2,) — shape (2,) as a later run recorded it
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
decoder_2Dmodel Ran
ran on a synthesized input
RoonakR/Agitation_detection/model/autoencoder.py
code served (permissive licence) · get_code("4ac211e6180c5c1e")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned KerasTensor. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import numpy as np
from tensorflow import keras
from tensorflow.keras.layers import Input
from tensorflow.keras import Model

# Create a small input tensor for dense1
# The function expects dense1 to be an output from a previous layer
# We need to create an input and pass it through to get a valid layer output

input_layer = Input(shape=(16,))  # Small input dimension
dense_input = keras.layers.Dense(64)(input_layer)

# Now dense_input is a valid layer output that can be passed to decoder_2Dmodel

ARGS = {
    'dense1': dense_input,
    'dr': 0.2,
    'kr_size': 3,
    'act': 'sigmoid',
    'n_filter': 3
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
keras, numpy, tensorflow — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type KerasTensor — a KerasTensor output has no array shape of its own; none is stated
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
encoder_2Dmodel Ran
ran on a synthesized input
RoonakR/Agitation_detection/model/autoencoder.py
code served (permissive licence) · get_code("1b8ed41a886c5836")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned KerasTensor. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import tensorflow as tf
from tensorflow import keras
from keras.layers import Dense, Input, Conv2D, Dropout, Flatten, MaxPooling2D, AveragePooling2D

# Create a small input tensor for 2D convolution
# Shape: (batch_size, height, width, channels)
batch_size = 2
height = 4
width = 3
channels = 1

input_tensor = keras.Input(shape=(height, width, channels))

ARGS = {
    'input_layer': input_tensor,
    'n_features': 16,
    'dr': 0.2,
    'pooling': 'max',
    'kr_size': 3
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
keras, tensorflow — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type KerasTensor — a KerasTensor output has no array shape of its own; none is stated
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
expected_log_Dirichlet_parameters Ran
ran on a synthesized input
RoonakR/Agitation_detection/model/VB_iteration.py
code served (permissive licence) · get_code("1fac761b680ff861")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned ndarray, ndim 1, dtype family float, shape (4,) as a later run recorded it. The image it ran in was not recorded. If your copy returns the same type, ndim and shape on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import scipy.special as ss
import numpy as np

# Test case 1: 1D array (vector)
param_1d = np.array([1.0, 2.0, 3.0, 4.0])

# Test case 2: 2D array (matrix)
param_2d = np.array([[1.0, 2.0, 3.0, 4.0],
                      [2.0, 3.0, 4.0, 5.0]])

# Test case 3: 3D array
param_3d = np.array([[[1.0, 2.0, 3.0, 4.0],
                       [2.0, 3.0, 4.0, 5.0]],
                      [[1.5, 2.5, 3.5, 4.5],
                       [2.5, 3.5, 4.5, 5.5]]])

ARGS = {
    "param": param_1d
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy, scipy — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type ndarray, ndim 1, dtype family float, shape (4,) — shape (4,) as a later run recorded it
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
false_acceptance_rate Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
RoonakR/Agitation_detection/utils/evaluation.py
code served (permissive licence) · get_code("6a5f79712ef8db27")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned float64, ndim 0, dtype family float; no output shape is stated. The image it ran in was not recorded. If your copy returns the same type and ndim on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import numpy as np

# y_true should be a 1D numpy array of binary labels (0.0 or 1.0)
y_true = np.array([0.0, 1.0, 0.0, 0.0, 1.0, 1.0])

# y_pred should be a 2D numpy array where each row has 2 columns (probabilities for class 0 and class 1)
# The function uses y_pred[:, 1] to get the probability of class 1
y_pred = np.array([
    [0.9, 0.1],
    [0.2, 0.8],
    [0.8, 0.2],
    [0.7, 0.3],
    [0.3, 0.7],
    [0.4, 0.6]
])

thresh = 0.5

ARGS = {
    "y_true": y_true,
    "y_pred": y_pred,
    "thresh": thresh
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type float64, ndim 0, dtype family float — no output shape is stated: observe_signature.py recorded float ndim 0, which disagrees with the fixture run
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
false_rejection_rate Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
RoonakR/Agitation_detection/utils/evaluation.py
code served (permissive licence) · get_code("95522c47da5e2916")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned float64, ndim 0, dtype family float; no output shape is stated. The image it ran in was not recorded. If your copy returns the same type and ndim on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import numpy as np

# Construct arguments for false_rejection_rate function
# The function expects:
# - y_true: array of true labels (0 or 1)
# - y_pred: array of shape (n_samples, 2) with predicted probabilities
# - thresh: threshold for decision (default 0.5)

# Create small test data
np.random.seed(0)

# y_true: binary labels
y_true = np.array([1.0, 0.0, 1.0, 1.0, 0.0, 1.0])

# y_pred: shape (6, 2) - predicted probabilities for class 0 and class 1
# Each row should sum to approximately 1 (or at least values should be in [0, 1])
y_pred = np.array([
    [0.2, 0.8],  # predicts class 1 with high confidence
    [0.9, 0.1],  # predicts class 0 with high confidence
    [0.3, 0.7],  # predicts class 1 with high confidence
    [0.4, 0.6],  # predicts class 1 with moderate confidence
    [0.8, 0.2],  # predicts class 0 with high confidence
    [0.45, 0.55] # predicts class 1 with low confidence
])

thresh = 0.5

ARGS = {
    "y_true": y_true,
    "y_pred": y_pred,
    "thresh": thresh
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type float64, ndim 0, dtype family float — no output shape is stated: observe_signature.py recorded float ndim 0, which disagrees with the fixture run
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
fit_volunteer_calssifiers Ran
ran on a synthesized input
RoonakR/Agitation_detection/model/BCNNet.py
code served (permissive licence) · get_code("c2bbbec3b6b4f0e1")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned list, ndim 1, dtype family float; no output shape is stated. The image it ran in was not recorded. If your copy returns the same type and ndim on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch
import torch.nn as nn
import numpy as np

torch.manual_seed(0)

class SimpleClassifier(nn.Module):
    def __init__(self, input_dim=4, output_dim=2):
        super().__init__()
        self.linear = nn.Linear(input_dim, output_dim)
    
    def forward(self, x):
        return self.linear(x)
    
    def fit(self, x_train, y_train):
        # Mock fit method that returns self
        # This allows the function to call model.fit() and reassign
        return self

# Create small training data
x_train = torch.randn(2, 4)  # batch_size=2, features=4
y_train = torch.randint(0, 2, (2,))  # batch_size=2, binary labels

# Create multiple classifier models
models = [
    SimpleClassifier(input_dim=4, output_dim=2),
    SimpleClassifier(input_dim=4, output_dim=2),
    SimpleClassifier(input_dim=4, output_dim=2)
]

ARGS = {
    "models": models,
    "x_train": x_train,
    "y_train": y_train
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy, torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type list, ndim 1, dtype family float — a list output has no array shape of its own; none is stated
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
logB_from_Dirichlet_parameters Ran
ran on a synthesized input
RoonakR/Agitation_detection/model/VB_iteration.py
code served (permissive licence) · get_code("48d3a53c42ccbb24")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned float64, ndim 0, dtype family float; no output shape is stated. The image it ran in was not recorded. If your copy returns the same type and ndim on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import scipy.special as ss
import numpy as np

# The function takes alpha as a parameter
# alpha should be an array-like that works with np.sum and ss.gammaln
# Based on the function body, alpha needs to support:
# - ss.gammaln(alpha) - element-wise log gamma
# - np.sum(alpha) - summing all elements
# - np.sum(ss.gammaln(alpha)) - summing log gammas

# Create a small Dirichlet parameter vector
# Dirichlet parameters are typically positive floats
alpha = np.array([0.5, 1.0, 1.5, 2.0])

ARGS = {
    "alpha": alpha
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy, scipy — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type float64, ndim 0, dtype family float — no output shape is stated: observe_signature.py recorded float ndim 0, which disagrees with the fixture run
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
make_volunteer_classifiers Ran
ran on a synthesized input
RoonakR/Agitation_detection/model/BCNNet.py
code served (permissive licence) · get_code("81aa79d60de61c43")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned list, ndim 1, dtype family float; no output shape is stated. The image it ran in was not recorded. If your copy returns the same type and ndim on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

from sklearn.ensemble import RandomForestClassifier
from sklearn.svm import SVC
from sklearn.gaussian_process import GaussianProcessClassifier
from sklearn.neighbors import KNeighborsClassifier
from sklearn.naive_bayes import GaussianNB

classifier_types = {'rf': RandomForestClassifier(), 'nb': GaussianNB(), 'svm': SVC(probability=True), 'gp': GaussianProcessClassifier(), 'knn': KNeighborsClassifier()}

def make_volunteer_classifiers(n_volunteers=4, type_list=['nb', 'rf', 'svm', 'gp'], params=None):
    models = []
    if params:
        for typ, param in zip(type_list, params):
            models.append(classifier_types[typ].set_params(**param))
    else:
        for typ in type_list:
            models.append(classifier_types[typ])
    return models


ARGS = {
    'n_volunteers': 4,
    'type_list': ['nb', 'rf', 'svm', 'knn'],
    'params': [
        {'var_smoothing': 1e-8},
        {'n_estimators': 10, 'max_depth': 5},
        {'C': 1.0, 'kernel': 'rbf'},
        {'n_neighbors': 3}
    ]
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
sklearn — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type list, ndim 1, dtype family float — a list output has no array shape of its own; none is stated
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
ResNet_model Not yet run
unverified (harvested, no recorded run)
RoonakR/Agitation_detection/model/baseline_models.py
code served (permissive licence) · get_code("41cb531f2794f484")
How it ran

no invocation recorded.

deepBiLSTM Not yet run
unverified (harvested, no recorded run)
RoonakR/Agitation_detection/model/baseline_models.py
code served (permissive licence) · get_code("b506618b0462e8d9")
How it ran

no invocation recorded.

deepLSTM Not yet run
unverified (harvested, no recorded run)
RoonakR/Agitation_detection/model/baseline_models.py
code served (permissive licence) · get_code("7cb5e83275d6b922")
How it ran

no invocation recorded.

extract_features Not yet run
unverified (harvested, no recorded run)
RoonakR/Agitation_detection/utils/utils.py
code served (permissive licence) · get_code("59473117e43536ff")
How it ran

no invocation recorded.

generate_volunteer_labels Not yet run
unverified (harvested, no recorded run)
RoonakR/Agitation_detection/model/BCNNet.py
code served (permissive licence) · get_code("11720413314ae2bb")
How it ran

no invocation recorded.

get_2Dmodel Not yet run
unverified (harvested, no recorded run)
RoonakR/Agitation_detection/model/autoencoder.py
code served (permissive licence) · get_code("fd9ce5dac2ee0a15")
How it ran

no invocation recorded.

make_selfsupervised_dataset Not yet run
unverified (harvested, no recorded run)
RoonakR/Agitation_detection/utils/utils.py
code served (permissive licence) · get_code("5d6de5854bb10a37")
How it ran

no invocation recorded.

self_supervised_model Not yet run
unverified (harvested, no recorded run)
RoonakR/Agitation_detection/model/model.py
code served (permissive licence) · get_code("2b52c069dea03e5e")
How it ran

no invocation recorded.

Also present in other papers' code

Of 20 samples lifted from this paper's linked repositories, 20 carry a function identity and 0 do not. Of the 20 distinct functions with an identity, 0 are also present in other papers whose code we hold (0 with at least one paper dated earlier, 0 the same month, 0 later) and 20 are only here among the 52,977 papers whose code Syntology holds (as of 2026-09-26).

Only here means: among the 52,977 papers whose code Syntology holds (51,887 with lifted samples, 1,090 through their assemblies only), as of 2026-09-26, no other paper's lifted samples or current assembly bricks contain an identical function body after normalisation.

Presence, not direction: an identical function body in two papers' repositories does not say who wrote it, which came from which, or that either paper's method rests on it. Matching is exact after normalisation, so a renamed or edited function is not matched. Dates are when papers appeared, not when code was written. Only .py files the harvester lifted are covered; notebooks are not read. A new-style arXiv id YYMM.NNNN dates a paper to the month 20YY-MM; otherwise Paper.year dates it to the year; otherwise it is undated. Dates are when the paper appeared, not when the code was written. Read 2026-11-23.

Repositories linked to this paper

Some links come from the archived Papers with Code dataset (CC BY-SA 4.0): attribution and licence.

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.

For agents

The same record, over MCP at https://syntology.ai/mcp:

get_harvested_code_for_paper("2105.10398")
get_code_for_paper("2105.10398")
have("2105.10398")

The run record, dated, one paper per request, free:

curl https://syntology.ai/api/ran/2105.10398.json

A badge for a README (the split and the date, never a ratio):

[![Syntology run record](https://syntology.ai/api/ran/2105.10398.svg)](https://syntology.ai/paper/2105.10398)

Connect an agent — have() is free.