Coder Social home page Coder Social logo

Comments (3)

baroquerock avatar baroquerock commented on July 25, 2024

Have you tried to look inside of labels variable (labels.keys())? It should contain the key 'SC4001E0' provided that you are using the data directory of this repo.

from sleep-stages-scoring.

Stevewsw avatar Stevewsw commented on July 25, 2024

Got it, it is the difference between linux and windows, you know that ( /, \, balabala...)


Another issue hits me, how can i understand this remark in your 'sleep_stages.ipynb' file at MODEL AND SOME REMARKS part as below:

As an input I used single channel 30s EEG epochs. However, I also explored the approach used in [3, 2016]. In order to preserve transitional information (probability of a stage to come after another), the target epoch was augmented with 1-3 previous epochs.

Considering the temporal information ? (but you have used anther filter to extract it.)
Or something I have not considered ; (Maybe another part-LSTM is used to learn the temporal info.)

Thanks for your replying.
If my issue botherd you, do not hesitate to let me know please.

from sleep-stages-scoring.

baroquerock avatar baroquerock commented on July 25, 2024

An excerpt from the referenced paper:

'As shown in Table 2 the scoring of a particular epoch can depend on the characteristics of the preceding or succeeding epochs, for the sleep stage pairs N1-N2, N1-R, and N2-R. Therefore, we chose the input data to our CNN to be the signal of the current epoch to be classified together with the signals of the preceding two and succeeding two epochs, as a single, continuous signal,
starting from the earliest epoch, with the current epoch in the middle. At the sampling rate of 100 Hz this gives an input size of 15,000 timepoints.'

The input to the base network is a single 30s epoch (for example, R stage). The network processes it independently. However, this does not take into account transitional information between different kinds of epochs. That's why it might be useful to augment the target epoch with some number of preceding and succeeding epochs.

Let me know if it is clear.

from sleep-stages-scoring.

Related Issues (2)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.