10/08/2008

Filtering

隨著餵進去的資料越來越多
我發現force-directed的limitation已經出現了

丟了900個點,跑起來超級慢T.T
因為900個點畫出來也很亂,所以好的作法是node進來要先作簡單的filtering
把node的個數filter到適合畫面呈現的node數


不過現在對filtering還沒有想法,還是要乖乖再去survey一下!

9/29/2008

Perceptron Learning Rule

來記幾個本來不懂的地方。

1. For "linear splitable” data

2. why expand matrix ?
since the target function is:  g^t (X) = w^t (x) - θ^t 
to simplify the computing,  extend X = {-1, x_1, x_2, ... , X_d} and W = {θ, w_1, w_2, ..., w_d}, so X‧W = Σ_{i=1}^d {w_i * x_i }  - θ = w‧x - θ

3. update function?
the origin function is 
if X ε P , and W_{t-1} ‧X <= 0 , W_t = W_{t-1} + X
else if X ε N, and W_{t-1}‧X >0, W_t = W_{t-1} - X
else W_t = W_{t-1}

we can simplify the first two function by 
if y= 1 , and W_{t-1} ‧X <= 0 , W_t = W_{t-1} + X = W_{t-1} + y‧X
else if y = -1, and W_{t-1}‧X >0, W_t = W_{t-1} - X = W_{t-1} + y‧X
→ if (sign(W‧X) != y )  W_t = W_{t-1} + y‧X


User Study

補記一下上次去Hao meeting的重點,這次主要是投CHI的 經驗分享,尤其是在最後做user study的 時候,有不少寶貴的經驗可以讓我們參考。

1. User study is Expensive
 I think most problems dicussed are all around this. Since it is too expensive, we have to make sure everything is done before the study.  In another word,  there are something we should bare in mind before the test. 

(a) Never Debugging Via User Study. 
(b) Run an complete Test Before The User Study
(c) Carefully Choose The Participants.
(d) Clearly Define the Test Rule, and Make Sure All The Participants Understand.

2. Log
(a) Try to record any information in the study.
(b) Record them in a proper form. 

For logging, there are some related issue we've discussed in the meeting:
Server-based: be careful of the internet problem. 
Client-based: how to merge data from different client.


--
好像還有一些其他的,不過我有點忘記了T.T