![]() |
Q13-15 rbf vsm eout=0?
Q13-15 EOUT from rbf support vector machine is always 0.and this machine can never be beaten by k mean rbf .... what is the mistake i probably made?
|
Re: Q13-15 rbf vsm eout=0?
Quote:
Sorry for the troubles i made... and thanks for your quick reply The Eout I achieved from RBF kernel vector support machine is always 0. Is correct ? you gave excellent lectures! What book would you recommend for further studying on machine learning , or machine learning in financial field? |
Re: Q13-15 rbf vsm eout=0?
Quote:
![]() Quote:
|
Re: Q13-15 rbf vsm eout=0?
Quote:
The training data and testing data are totally separate. I used 100 training data to train this rbf vector support machine ,and randomly generate 100 new points for testing. (no matter how many times i randomly generate 100 points , Eout is always 0) |
Re: Q13-15 rbf vsm eout=0?
Quote:
A zero out-of-sample error means that the target boundary was perfectly replicated, an illogical event when we train with only 100 points. |
Re: Q13-15 rbf vsm eout=0?
Quote:
|
Re: Q13-15 rbf vsm eout=0?
Quote:
MATLAB CODE %%%% [maxval, maxind] = max(alpha); b=1/y(maxind)- kernel_x(maxind,:)*(alpha.*y); %%%% and i was unable to get w , then Ein was measured by %%% pred=sign(kernel_x*alpha.*y+b); Ein_svm=numel(find(pred~=y)); For test , i used pred=sign(test_kernel_x*alpha.*y+b); Eout_svm=numel(find(pred~=y_test)). as if the number of test data points are not consistent with number of training data points. test_kernel_x*alpha.*y is unable to be calculated , as dimensions do not match....... I think there is some confusion about my understanding to kernel vector machine. isn't w unachievable? Thanks professor. |
Re: Q13-15 rbf vsm eout=0?
correction *b=1/y(maxind)- kernel_x(maxind,)*(alpha.*y);
:shock::shock::shock: |
All times are GMT -7. The time now is 11:48 AM. |
Powered by vBulletin® Version 3.8.3
Copyright ©2000 - 2021, Jelsoft Enterprises Ltd.
The contents of this forum are to be used ONLY by readers of the Learning From Data book by Yaser S. Abu-Mostafa, Malik Magdon-Ismail, and Hsuan-Tien Lin, and participants in the Learning From Data MOOC by Yaser S. Abu-Mostafa. No part of these contents is to be communicated or made accessible to ANY other person or entity.