Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add cross-validation code to example notebook #1

Open
wielandbrendel opened this issue Nov 10, 2014 · 0 comments
Open

Add cross-validation code to example notebook #1

wielandbrendel opened this issue Nov 10, 2014 · 0 comments
Assignees

Comments

@wielandbrendel
Copy link
Collaborator

No description provided.

@wielandbrendel wielandbrendel self-assigned this Nov 10, 2014
eejd added a commit to eejd/dPCA that referenced this issue Apr 6, 2018
The demo code failed to run on MATLAB 2015b with all toolboxes. The following error was produced:
-----
run('MATLAB/dpca_test.m')
Elapsed time is 0.309149 seconds.
Iteration machenslab#1 out of 2.......................... [2 s]
Iteration machenslab#2 out of 2.......................... [2 s]
Repetition # 1 out of 5... [0 s]
Repetition # 2 out of 5... [0 s]
Repetition # 3 out of 5... [0 s]
Repetition # 4 out of 5... [0 s]
Repetition # 5 out of 5... [0 s]
Error using string
string is obsolete and will be discontinued. Use char instead.

Error in dpca_classificationPlot (line 86)
        string(1:size(accuracy,1)),...

Error in dpca_test (line 251)
dpca_classificationPlot(accuracy, [], [], [], decodingClasses)

Error in run (line 96)
evalin('caller', [script ';']);
-----

But I believe the intended goal was to make a character array of numbers (e.g. '1 2 3'), so I have substituted with num2str
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant