Re: hw7
看板 Cs_slt2005
時間
2005-11-09 01:18:32
留言
※ 引述《rafan (@[email protected]"""")》之銘言:
: ※ 引述《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....
--
※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 220.135.188.92
※ 編輯: mercurial 來自: 220.135.188.92 (11/09 01:19)
更多討論
標題 | 作者 | 日期 | 留言數量 |
---|---|---|---|
hw7 | mercurial | 2005-11-05T13:24:56 | 0 |
Re: hw7 | rafan | 2005-11-07T19:32:40 | 0 |
Re: hw7 | mercurial | 2005-11-07T22:19:49 | 0 |
Re: hw7 | rafan | 2005-11-08T15:09:09 | 0 |
>> Re: hw7 | mercurial | 2005-11-09T01:18:32 | 0 |
Re: hw7 | rafan | 2005-11-09T11:57:02 | 0 |
Re: hw7 | mercurial | 2005-11-09T14:00:12 | 0 |
Re: hw7 | ChihJen | 2005-11-10T08:11:05 | 0 |