Re: hw7

作者: mercurial (多變)   2005-11-09 01:18:32
※ 引述《rafan (@_@"""")》之銘言:
: ※ 引述《mercurial (多變)》之銘言:
: : I use the same parameters...
: : what are experiment logs??
: I mean what are the objective values you get
: from both methods?
I run sonar data, and set c=1, r=1/60
my hw5 program got -121,
and there are many different values for alpha, such as 0, 1, 0.24...
however, hw5 doesn't consider the constraint, sum(yi*alpha_i)=0
my hw7 program got -193.
again, I entered into infinite loop, but I stoped
when the optimal value converges to a stable value.
however, all the alpha equal to 0 or 1
and sum(yi*alpha_i)=0
that means the alpha satisify all the constraints
I don't understand why adding one more
constraint gets better optimal value.
maybe my hw5 program is wrong.
but my result of hw5 is the same with the professor's.
I think I don't fully understand the whole procedure.
I just copied down what the professor wrote on board, and
implemented them to programs.
that's why I couldn't figure out why I got such results.
Is is because of bugs or because of
the different rules of these two methods?
I totally have no idea....

Links booklink

Contact Us: admin [ a t ] ucptt.com