Giter VIP home page Giter VIP logo

Comments (3)

SMorettini avatar SMorettini commented on May 30, 2024

In the training why did you choose that it be be for each patient apart I mean why didn't you collect the spectrograms for all patients and use it as input for CNN.

Because each patient has his characteristic so it's necessary a specific model for each patient.

How could I know the number of the training data used?

I'm not understanding the question, could you explain it better?

from cnns-on-chb-mit.

Afef00 avatar Afef00 commented on May 30, 2024

I mean the number of training samples(X-train) used as inputs to the CNN model. If I want to load these samples as well as Y-train how can I do that?
Thank You!

from cnns-on-chb-mit.

SMorettini avatar SMorettini commented on May 30, 2024

I mean the number of training samples(X-train) used as inputs to the CNN model

I don't know the actual number of training samples but it's possible to recover them from the following table.

table

For example patient 1 has 14.49 hours of interictal data. Each sample contain 30 seconds of data so 14.49 hours = 53340 seconds / 30seconds=1778 samples for interictal data. The preictal are almost the same number so in total for patient 1 almost 3500 sampled where used.
The training set was 75% of the total set of samples so I used almost 2625 samples for training.

If I want to load these samples as well as Y-train how can I do that?

You have to create the spectograms, here more information are provided.

from cnns-on-chb-mit.

Related Issues (14)

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.