Comments (4)
Hi Yasmin,
I'm afraid my memory of the Kaggle data is a bit hazy. I think a second test set was provided along with a list of leaks in the old test set that could be moved into the training set. This is what the copyTestLeakToTrain.m script does. I think you might be able to skip this step, and manually create the directory structure (as in the readme) but just using the original data.
The trainedModelsCompactTest.mat should be produced by train.m if you can get it to run with the data you have.
from kaggle-eeg.
@garethjns Thanks for your input in this issue ,I have solved the trainedmodelscompacttest.mat now.
*For issue 2 ) I tried this is then have and error
Unable to read file singles1.mat , which is i believe is output from copytestleaktotrain.mat , It will be helpful if you give me advice on how to obtain this file without using copytestleaktrain.mat
*Also the New folder now will have files named pat1test_1_0.mat for example they wont be _new will this create a problem ?
from kaggle-eeg.
If I remember correctly, the singles_n.mat files have a list of files for each subject where the file is an independent 10 minutes of recording, rather than a 10 min segment of a consecutive 60 min recording (spread over 6 files). I think all of these will have originally been in the test set (which were all supposed to be independent 10 minute segments), before the leak was discovered. This would make sense if the singles.mat files are created by copyTestLeakToTrain.m.
I think if you just have the original set it might be worth trying to modify the method that loads the training files. This has logic to load the group 10 min segments of the 60 min groups, and logic to load the single files, and mark them as single so they aren't concatenated together.
This method is here:
Kaggle-EEG/@featuresObject/featuresObject.m
Line 441 in c8883b1
I've found copies of the singles.mat files, but I don't have access to MATLAB so can't check their contents at the moment. I've pushed them to the root of the reop on this branch https://github.com/garethjns/Kaggle-EEG/tree/singles_files, but you may not need them. Actually, another be worth trying is to use them but leave them empty (as there are no single files in your training set). That might mean you wouldn't need to modify the method that loads the files.
from kaggle-eeg.
Thanks to @garethjns , i managed to do it by editing copytestleaktotrain to have singles.mat file according to new data description on ecosystem website .
from kaggle-eeg.
Related Issues (18)
- train.m error HOT 3
- Question on interpretation of output results HOT 5
- Original Kaggle data HOT 1
- Features Object_checkFiles
- Run Time HOT 3
- Solution File HOT 5
- Training and Testing HOT 5
- Training and Testing
- Generating figures for Feature comparison HOT 1
- Private AUC is different HOT 1
- Feature information not saved in seizureModels
- Model feature names
- Training two SVMs instead of SVM and RBT HOT 1
- Redundant import methods in featuresObject
- Data-sub path setting is set in featuresObject
- Temporary change to data sub paths HOT 1
- Predict.m error HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from kaggle-eeg.