Git Product home page Git Product logo

Comments (3)

garethjns avatar garethjns commented on May 30, 2024

Hi Thomas,

This error is a bit different from importing errors I've had before so I'm not immediately sure what's causing it. Is your data directory set up as per the pictures in the readme? With the new test set as a subfolder named "New"?

You don't need to copy anything from the original folder into the "New" folder, just extract the new test set (ie. the second test set released on Kaggle - do you have a copy of this?) into there. The new training set is created in there by train.m which also creates the "Singles*.mat" files which just list the training data that's not part of a whole hour.

Also, please could you let me know which version of MATLAB are you running?

Thanks.

from kaggle-eeg.

ThomasDang93 avatar ThomasDang93 commented on May 30, 2024

My directory is EEG Data/New/test_1_New. So that should align with the screenshot from the readme. However I do not have the second test set released on kaggle. I can't access that second test set because the competition hosts removed all the data. Does this mean that I am out of luck?

The version of Matlab that I am running is 2017a. I just noticed that you ran yours in 2016b, so I am not sure if that could be a potential problem. Should I just download 2016b just to be safe?

from kaggle-eeg.

garethjns avatar garethjns commented on May 30, 2024

I don't think the second set is still available for download, but you could try asking the admins if it would be possible to get hold of a copy.

It should still be possible to work with the test set you already have though, as long as the folder struture is the same as the readme. Just put the test set you have in the test_x_new folders (as you've already done), then comment out the lines in train.m that run the copyTestLeakToTrain.m function. This function only needs to be run once to prepare the training set, then training should run (even if it crashes trying to set up the test set).

Hopefully, after that the predict script will run ok as well with the manually set up test set - the filenames are a bit different between the new and old sets, but if I remember correctly this shouldn't matter. I'll check this sometime this week.

Regarding the version of MATLAB, version 2016b onwards should work, but I haven't tested 2017a myself yet.

from kaggle-eeg.

Related Issues (18)

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.