neuroencoder

Embeddings for brain data

Send an EEG recording to the API. You get back one vector of 768 numbers for every 30 seconds.

The API is paused while we move to a new model. Get in touch: support@neuroencoder.com

One night of sleep

Each dot is 30 seconds of EEG from one night of sleep. Dots are close when their vectors are close.

Night SC4001 from the Sleep-EDF database, from 30 minutes before sleep onset to 30 minutes after the last sleep window (841 windows, 7 hours). The API computed the vectors and UMAP reduced them to two dimensions. Colours show the stage a human scorer gave each window. The API returns only the vectors. Data from PhysioNet Sleep-EDF under the ODC-By 1.0 licence.

Try it

POST /v1/embeddings
curl https://api.neuroencoder.com/v1/embeddings \
  -H "Authorization: Bearer $NEUROENCODER_API_KEY" \
  -F file=@sleep-edf-sc4001-10min.edf
{
  "model": "neuroencoder-eeg",
  ...
  "data": [
    {"index": 0, "t_start": 0.0,
     "embedding": [-0.0277, 0.0050, ...]},
    {"index": 1, "t_start": 30.0,
     "embedding": [-0.0256, 0.0072, ...]},
    ...
  ],
  "usage": {"seconds_of_eeg": 600.0,
            "windows": 20}
}