From d64e6abd5a4c19cdbd42d0a6e53b1536d5feda6f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mart=C3=ADn=20Esparza-Iaizzo?= <96518571+martinesparza@users.noreply.github.com> Date: Thu, 2 Jun 2022 15:00:07 +0100 Subject: [PATCH 1/2] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 0072c39..c4ef9fc 100644 --- a/README.md +++ b/README.md @@ -5,7 +5,7 @@ # EEG_classification Description of the approach : https://towardsdatascience.com/sleep-stage-classification-from-single-channel-eeg-using-convolutional-neural-networks-5c710d92d38e - +Testing 101 Sleep Stage Classification from Single Channel EEG using Convolutional Neural Networks From d0ded531186403ae4537c834eb3bdfbec71db5b0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mart=C3=ADn=20Esparza-Iaizzo?= <96518571+martinesparza@users.noreply.github.com> Date: Thu, 2 Jun 2022 15:08:28 +0100 Subject: [PATCH 2/2] Update utils.py --- code/utils.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/code/utils.py b/code/utils.py index 1501203..2e4e79c 100644 --- a/code/utils.py +++ b/code/utils.py @@ -1,7 +1,7 @@ import h5py import numpy as np import random - +# WINDOW_SIZE = 100 def rescale_array(X): @@ -41,4 +41,4 @@ def gen(dict_files, aug=False): def chunker(seq, size=WINDOW_SIZE): - return (seq[pos:pos + size] for pos in range(0, len(seq), size)) \ No newline at end of file + return (seq[pos:pos + size] for pos in range(0, len(seq), size))