Giter Club home page Giter Club logo

gru-d's Issues

Can this model support arbitrary batch size?

I find that you use a default batch_size = 1 when you initialize data loader. But when I assign other value to batch_size, it will raise an error which shows that dimension mismatch. I wonder should I reset parameters' shape, if I want to use arbitrary batch_size?

Some thoughts

  1. In your code, it seems that you are just using 0 for missing value.
  2. The decay equation seems not correct

AUC at 0.5304

When running the code with only three modifications:

  1. Download Outcomes-a.txt from https://physionet.org/content/challenge-2012/1.0.0/ since the file is not in input/.
  2. Removing the # from #np.save('./input/inputs', inputs), so the code can save and load inputs.
  3. Adding allow_pickle=True to all np.load().

The value of AUC obtained is around 0.5304 instead of 0.8431. Any of these changes or perhaps a different version of a module could be the reason for this lower result? What is the setup to run this code and obtained the correct result?

Results don't match the paper

Solved. Because os.listdir() doesn't read files in order, which makes features and labels mismatch.
Just change "for filename in os.listdir(inputpath):" to this:
filenames = os.listdir(inputpath)
filenames.sort(key=lambda x: int(x[:-4]))
for filename in filenames:

Calculation of mean

Aren't you calculating mean over the whole dataset? When you should be doing it over only train?

.

.

PhysioNet data

I hope you can introduce the data processing part of PhysioNet in detail, how it is feed into the network, thank you very much!!!

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.