SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 1905.11678 · 2019

EEG-based Emotional Video Classification via Learning Connectivity Structure

arXiv · PDF · Open in the Atlas

Code that ran

2 of 2 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, 0 violated it and 0 have no contract verdict; 2 failures of our instrument; 0 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/1905.11678.json · badge: /api/ran/1905.11678.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
ELEMKEP/bsc_lcs canonical (classifier label)
classifier basis: classifier_2025
2 ran · 0 no recorded run
FunctionStatusWhere it lives
divide_dataset Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
ELEMKEP/bsc_lcs/data/lmdb_generate.py
code served (permissive licence) · get_code("bf0bcc1f1f362d7c")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Sonnet 4.5, prompt python_fixture_v1) 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

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

# Parameters from the function:
# - signals: array with shape that allows [..., time_samples]
# - labels: array that can be stacked
# - dataset_type: string ('deap' or 'dreamer')
# - scheme: string ('time', 'time_nooverlap_w3', 'time_nooverlap_w2', or 'subject')

S_RATE = 128

# For 'time' scheme with default parameters:
# t1, t2, t3, t4, t5, t6 = (20, 25, 30, 50, 55, 60)
# So we need signals that go from 0 to 60 seconds = 60 * 128 = 7680 samples

# For 'subject' scheme with 'deap':
# Needs at least 32 subjects (indexed 0:24, 24:28, 28:32)

# Let's create signals for 'deap' with 'subject' scheme
# Shape: (num_subjects, num_channels, time_samples)
num_subjects = 32
num_channels = 5
time_samples = 60 * S_RATE  # 60 seconds worth of data

signals = np.random.randn(num_subjects, num_channels, time_samples)

# Labels shape should match subjects for subject scheme
# For the divide_signal function, labels get replicated, so can be simple
labels = np.random.randint(0, 2, size=(num_subjects, 2))

dataset_type = 'deap'
scheme = 'subject'

ARGS = {
    'signals': signals,
    'labels': labels,
    'dataset_type': dataset_type,
    'scheme': scheme
}
Setup block drafted by
a language model, Claude Sonnet 4.5, prompt python_fixture_v1
Imports
numpy — 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
divide_signal Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
ELEMKEP/bsc_lcs/data/lmdb_generate.py
code served (permissive licence) · get_code("4533e2bf80bb2c1f")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Sonnet 4.5, prompt python_fixture_v1) 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

# Create a small signal with shape (channels, time_samples)
# Using 2 channels and 1000 time samples
np.random.seed(0)
signals = np.random.randn(2, 1000)

# Create labels (could be a single value or array)
labels = np.array([1])

# Sampling rate in Hz
s_rate = 100

# Window size in seconds
window = 2

# Overlap in seconds
overlap = 1

# Axis along which to stack the divided signals
axis = 0

ARGS = {
    'signals': signals,
    'labels': labels,
    's_rate': s_rate,
    'window': window,
    'overlap': overlap,
    'axis': axis
}
Setup block drafted by
a language model, Claude Sonnet 4.5, prompt python_fixture_v1
Imports
numpy — 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

Also present in other papers' code

Of 2 samples lifted from this paper's linked repositories, 2 carry a function identity and 0 do not. Of the 2 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 2 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

Electroencephalography (EEG) is a useful way to implicitly monitor the users perceptual state during multimedia consumption. One of the primary challenges for the practical use of EEG-based monitoring is to achieve a satisfactory level of accuracy in EEG classification. Connectivity between different brain regions is an important property for the classification of EEG. However, how to define the connectivity structure for a given task is still an open problem, because there is no ground truth about how the connectivity structure should be in order to maximize the classification performance. In this paper, we propose an end-to-end neural network model for EEG-based emotional video classification, which can extract an appropriate multi-layer graph structure and signal features directly from a set of raw EEG signals and perform classification using them. Experimental results demonstrate that our method yields improved performance in comparison to the existing approaches where manually defined connectivity structures and signal features are used. Furthermore, we show that the graph structure extraction process is reliable in terms of consistency, and the learned graph structures make much sense in the viewpoint of emotional perception occurring in the brain.

For agents

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

get_harvested_code_for_paper("1905.11678")
get_code_for_paper("1905.11678")
have("1905.11678")

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

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

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

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

Connect an agent — have() is free.