-
Notifications
You must be signed in to change notification settings - Fork 27
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
matlab function issue #2
Comments
Hi,
The code is correct. Please see the attached for the formula of CSP.
Thanks.
From: Qianqian Zhan ***@***.***>
Sent: Monday, July 12, 2021 1:49 PM
To: drwuHUST/TLBCI ***@***.***>
Cc: Dongrui Wu ***@***.***>; Comment ***@***.***>
Subject: Re: [drwuHUST/TLBCI] matlab function issue (#2)
Hello, Line 23 of the CSPFeature function corresponds to the CSP extraction feature, which should be the eigenvalue and eigenvector of the sum of the two average covariances. What you have calculated here is the inverse matrix of the first type of average covariance multiplied by the eigenvalue and eigenvector of the second type of average covariance. Is this wrong?
<https://user-images.githubusercontent.com/84821239/125237117-c099f400-e317-11eb-9934-02f7ae72d2a8.png>
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub <#2 (comment)> , or unsubscribe <https://github.com/notifications/unsubscribe-auth/AMDEPS4UGTRPQ47UOLQ2ZADTXJ63LANCNFSM4WE6QKSQ> . <https://github.com/notifications/beacon/AMDEPSZ65BW2FXWWQXXC2E3TXJ63LA5CNFSM4WE6QKS2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOGRKRDOQ.gif>
|
This is the function in weighted libsvm https://www.csie.ntu.edu.tw/~cjlin/libsvmtools/#weights_for_data_instances instead of the traditional libsvm. The code says: %% Uncomment the following if libsvm-weight is not in your path Maybe I should make it clearer. Sorry for that. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
There seems to be an error in "wAR" function. The parameter 'W' is superfluous in "svmtrain" and will cause error reporting. Only after deleting the 'W' can the program run.
The text was updated successfully, but these errors were encountered: