Re: hw7

看板CS_SLT2005作者 (@_@"""")時間20年前 (2005/11/09 11:52), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串6/8 (看更多)
I think there must be something wrong in your program... I got obj value -123.272410 on sonar_scale by hw7, and -123.272410 by Dr. Lin's program for hw5. I think you should think about the whole procedure again. :) ※ 引述《mercurial (多變)》之銘言: : 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: 140.112.90.75
文章代碼(AID): #13SN9tbY (CS_SLT2005)
討論串 (同標題文章)
本文引述了以下文章的的內容:
以下文章回應了本文
完整討論串 (本文為第 6 之 8 篇):
20年前, 11/09
20年前, 11/08
20年前, 11/07
20年前, 11/05
文章代碼(AID): #13SN9tbY (CS_SLT2005)