View Single Post
Old 09-28-2015, 01:56 PM
zuodongz zuodongz is offline
Junior Member
Join Date: Sep 2015
Posts: 7
Default Re: Q13-15 rbf vsm eout=0?

Originally Posted by yaser View Post
Try 10,000 points for testing. Since you say that the error is zero no matter how many times you generated new 100 points, you may also want to check the seeding of the random number generator to make sure that each 100 points are really different from the previous set.

A zero out-of-sample error means that the target boundary was perfectly replicated, an illogical event when we train with only 100 points.
I think i still have problems with kernel vector machine, as I calculated alpha from quadratic programming , which is (N*1) matrix, Then I calculated b by using
[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

For test , i used


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.
Reply With Quote