2/23/2009
Prototype!!!!
2/09/2009
Sankey Diagram
朝這兩個圖的概念結合起來應該是比較可行的方向!!(筆記)
12/22/2008
Google Distance
11/24/2008
The problem should always asked...
10/08/2008
Filtering
9/23/2008
改版demo
9/18/2008
result - for more tags
只有86個點,看起來還ok
100個點看起來也還可以接受
所以接下來要調整的目標應該是把部份tag再做clustering
目前有兩個方向:
一是直接對data作處理!這邊應該要往semantic來做:
A Framework of Filtering, Clustering and Dynamic Layout Graphs for Visualization
9/17/2008
Brief Summary of What I am goint to do
7/30/2008
MA Reading Memo 7/30
使用者不用明確說出他們的需求,就可以提供使用者所需的資訊
The Personalization Process
數學符號代表:
Assume
n Items, each can be described as a s dimensional vector, i(j) : { b(j,1), b(j,2), ..., b(j,s) }
m Users,each can be described as a t dimensional vector, u(k): {a(k,1), a(k,2),..., a(k,t) }
I(u,k) : 沒有被User u(k) rated過的item集合
I(r,k) : 已經被User u(k) rate 過的item集合
The goal is to suggest Item i(j) belongs to I(u,k) and would interest User u(k).
Step:
- Collect Data:
‧data 必須是attributable
‧web上收集的資料往往包含許多需要被去除的noise
‧在IBM的分析中,發現user往往會願意多填一些資料,來提高系統的準確性。 - Build user-centric data model : 有很多方法可以表示data model,ex. vector, ontology, aggregate usage profile, ...
- Evaluation: 常用converage, mean absolute error及ROC sensitvity。
- Deployment: 常見有scalability的issue,希望可以real-time產生recommendation。
- all steps need to be monitored
通常推荐的方式可以分成兩大類:
Prediction Task:預測其他未被user rate過的item的rate值
Selection Task: 選擇N個最相關且未被rate過的item給user
Individual Vs Collaborative
- Individual : 使用content-based filtering systems,用item的內容及user自己的rate來推荐。
優點:可以建構在client side,因此比較不會有privacy issue
缺點:完全based on使用者自己之前的推荐,不會有"意外"發現其他interest的可能,而且必須確保推荐過的item本身可以access到。 - Collaborative: collaborative(Social) filtering,不使用item的內容,而使用user及其neighborhood的rate來決定是否推荐一篇article
缺點:new item and new user rating problem
優點:參考individual的缺點XD
- Reactive:需要user提供feedback,例如:rate所推荐的東西是不是符合需求。
- Proactive: user的feedback並不是影響推荐item的主因,它用其他"學"到的information來做推荐,如amazon。
- Item Related Information: 包含item descriptions 及 product/ domain ontology,通常用來處理unstructured data與item 的關聯。ex. 用keyword來描述document.
- User Related Information: 包含rating record, past user behaviour,少部份會採用demographic data(不易收集,且較item-based及user behavior不精確。)
- Hybrid: 因為兩個各有優缺點,所以有些system兩種方式都同時採用。
Memory Based Vs. Model Based
- Memory Based(lazy learning): 在query 進來當下才generalize(online)
ex. 傳統CF及content based filtering
缺點:scalability
優點:可以反映user interest的變化 - Model Based(eager learning):在query進來之前已經建好model(offline)
ex. item-based CF
Client Side Vs Server Side
- Client side: 資料儲存在client端
缺點:只適用Individual model
優點:可以在不同web site access data(但也要先知道怎麼拿client side的資料才行啊!) - Server side: 資料儲存在server端
優點:適用 Individual model及Collaborative Model,而且拿自己存的資料比較容易
Data
- Explicit data: 因為是user自己提供的,有時user會考量到privacy issue而提供較不精確的資料。
- Implicit data: 比較容易觀察到positive的Info,但negative observation往往很有用
(ex. last.fm上次討論到的一首歌才聽了一下就換下一首歌,不過last.fm沒有紀錄下來)
Personalization Techniques
- Content-Based Filtering:依據content本身的關聯性及user過去rate的資料來決定rate
缺點:推荐的東西會非常類似過去的資料 - Traditional Collaborative Filtering :依據相似user(與user 推荐過的history 找出有相似rate的其他user)的rate來決定
- Model Based Techniques: 根據data先train出一個model,之後的query就會根據train出來的mdoel來決定rate。train的方式大概分成以下3種:
‧Item-based: 建出item的similarity table(根據user rating的結果決定item的相似度)
缺點:O(n^2) ,改善方法是用K組similar items取代n個items。K表示model size,K越大,coverage會越小。(→這邊有點不大直覺,推測可能的想法是:在K越大,表示各個item視為相似的狀況越小,因此越難利用similarity去predict,而導致coverage會變小)
優點:可以比user-based有更好的predict
‧Clustering Based:將user或item分群,根據所屬群組的data來predict rate
‧Association and Sequence Rule: 利用一系列的Associate rule來predict rate。
Sequence及Association的差異在於Sequence是有序的,而Association不考慮條件本身的order
‧Markov Train Model: 3-tuple
A: set of items, S: k-tuple item visited , T: Transition Probability Matrix
‧Graph Theoretic Approach:將rating data轉成directed Graph,node:Actor, edge: 對user的predictability。所以predict User U(k) 對item i 的rate,就是計算有predict Item i的user 們到U(k)的shortest path。 - Hybrid Techniques :combind some of the techniques.
Issues
(一些比較trivial的我就直接略過了)
The Cold Start and Latency Problem
- New user problem: 新進使用者沒有history資料
- Cold Start problem:在collaborative system initial時,所有的user都沒有history
- New item (Latency) problem: 新的item缺乏rating資料
解決方法是利用Hybrid來取得一些額外的information
Data Sparseness
Item的數量會稀釋了user history data 佔總量的百分比 造成難以尋找similar user
解決方法:Item partitioning (domain specific)、Item clustering、Gauge set of items(指定某些必須要rate的item) ,簡單的說就是使用替代資料(domain, cluster)取代item。
Scalability:
user及item的數量太大,而使得memory based system無法負荷
Privacy
Recommendation List Diversity:
研究顯示diversification有positive effect(accuracy不高也沒關係),所以該如何在diversity與accuracy之間取得平衡?
Adapting to User Context:
無法將user與系統的previous interactions視為context也無法explicitly measure context,
Using Domain Knowledge
Managing the Dynamics in User Interests
Robustness
Trust
User Satisfaction: ex.
- RFM: Recency- When was the last order? , Frequency - How many orders have they placed with us? Monetary Value - What is the value of their orders?
- life-time value
- recommendation uptake
- MAE: Mean Absolute Error
- ROC curve: Receiver operating characteristic →參看wiki的圖
- Precision: 被推荐出來的item對的機率
- Recall: 對的item被推荐出來的機率
Utility: ex. novelty
Explainability:
Robustness: prediction stability, power of an attack
Performance and Scalability: response time
7/29/2008
OntoVis
圖1:利用顏色呈現各node的群組關係(圖片為我之前做tag cloud的測試設計圖)而馬教授提出的以虛擬點呈現attribute的作法卻可以解決這個問題。對Ontovis(馬教授開發的系統)而言,attribute的value可以是一個"virtual node"。舉例而言,假定我們有4個組織的資訊,當我們想要看出有幾個組織位於希臘,那可以把"希臘"這個所在地的value設為一個virtual node,而得到圖2,從圖2可以看出來,4個組織都與Greece的node相連,可見這4個組織都位在Greece。
圖2: Greece與4個組織相連。這種作法同時結合了filtering,還可以同時清楚的了解屬性間的異同,例如同上面的例子,我想要知道在Greece中的組織,有哪些分別是屬於anti-globalization及Leftist,我可以分別將這兩個attribute及Greece加入virtual node中,然後透過edge的關聯找出我想要的資訊。(p.s.這個例子跟paper中提及的figure 1(c)有些微不同,paper中例子的目的是要找出相異的attribute,而這個例子則是要找出有A屬性的Node們,在B屬性的分佈狀況)
此外,在Social Network中,常常會有兩個node間有多條Path可達,為了方便分析,圖3將一些不相關的node filter掉,僅保留相關的node們的資訊

圖3 將多餘的info 移除前後比較
OntoVis另外一個特色是利用Node的大小表現"Connectivity",因為這也是Social network中很常用來判斷一個節點的importance。因為OntoVis的Layout採用FDL,然而FDL並未考慮到Node size,所以他有使用一些refinement來處理tag的overlapping
7/23/2008
MA Reading Memo 7/23
->證明user-generated tag比keyword 好用
目前在social network中 discover interests的方法:
(1) user-centric: 從user的relation上找到common的object,如:facebook
(2) object-centric: 從global的network中找到所有有common object,如:del.icio.us
在object-centric中,relation的關係可能很弱或不明顯
資料來源:del.icio.us,430萬筆tag,20萬個user,140萬筆URL(過濾掉非英語及非HTML file的object)
分析發現:
1. [figure 1]大部份的url只會被少數人bookmark,只有少部份的URL比較popular
2. [figure 2]大部份的user很不主動(一般人僅有少於30個的bookmark)
3. [figure 3]user會選擇的tag有高度集中性(i.e.有Popular Tag)
4. [figure 4, 5] Tag 在過濾掉一些noise(ex. idf 太高的值)之後,可以的cover大部份的keyword
5. [figure 6] tag數量雖然會隨著bookmark此URL數量的增加而增加,但過一定數字後就會趨向一個穩定的數字
6. [figure 7] tag 可以cover document的比率,40%的網頁內容可以被tag完全cover(顯示大部份user還是傾向於從文章中取出相關字來做tag)
7. ISID(Internet social interest discovery) clustering:
對所有Post,找出裡面含有同樣topic(tag set)的user set 跟url set
8. [figure 9,10] 分別用tag 及keyword 來跑ISID clustering後的結果發現,用數量比較少的tag仍然可以有接近keyword的效果,所以顯示用tag來代替keyword search應該是make sense的!
Some Questions Dicussed Today
1. for figure 1,2,3 : the definition of the x-axis and y-axis is confused.
2. the definition of support in this paper is wrong. correct definition list belowed(referenced: wiki)
Association rule learning (link on wiki)
ex. 去超市買東西時:買了{洋蔥,馬鈴薯}→也會買{牛肉}
基本名詞定義:
Definition: X => Y , where X,Y包含於I and X∩Y = Φ
(Assume I = collection of n items, D = collection of m transactions)
SUPP(X) = X/m ,在m次transaction中,出現X狀況的機率
Conf(X=>Y) = SUPP(X∪Y)/SUPP(X) : Confidence, 在 X發生時,發生X∪Y的機率
lift(X=>Y) = SUPP(X∪Y) / [SUPP(X) * SUPP(Y)]
Conv(X=>Y) = [1-SUPP(Y)]/ [1-Conf(X=>Y)]
7/20/2008
List
Vizster, UCINet, JUNG, GUESS, Prefuse, Pajek
Social Network Engine Comparison
http://en.wikipedia.org/wiki/Comparison_of_social_networking_software
Vizster
Vizster是一套專門用來呈現Social Network 的Visualization tool,其特色如下:
1. 用2D的Force Directed Layout 來表現Social Network,
2. 可以觀測egocentric的SN
3. 提供即時的群組分析(可以指定群組的大小),群組演算法 - Newman’s community identification algorithm
4. 提供搜尋功能,可以尋找特定Node或attribute
5. X-Ray Mode:呈現不同屬性的比較
6. Accessibilty:
(1) 標示出有相連的節點
(2) 找出任兩個節點相通的中繼點

Egocentric View
X- Ray Mode: 用節點的顏色呈現各節點同一屬性值的比較
Cluster - 自動分群,將同一群組以同色背景呈現
顯示任兩節點間的中繼點
Demo 影片:http://www.cs.berkeley.edu/~jheer/vizster/vizster.wmv
★My Comments
1. 一次只針對同一個attribute的比較
2. Cluster雖然可以動態的決定群組大小,但是一般user很難明確知道自己想要分的群組範圍,所
以必須把各個size都試過後才能決定
3. FDL沒有解決節點重疊的問題
4. 呈上,因為FDL位置的重疊 與 群組用底色呈現,導致有些節點在視覺上被誤判群組
5. 沒有解決 multi-group的問題
7/13/2008
Watching Your Work
http://www.typepad.com/t/trackback/2871784/31192558
總是覺得自己的時間不知道為什麼就不見了嗎?試試用這支script看看平常的自己到底都在幹什麼吧!我猜我自己的一定就是在日劇跟笨版間不見的~>.<~
P.S. 它是用python寫的唷
7/08/2008
Many eyes
7/02/2008
Memo of Social Network
7/01/2008
Brief Memo of MA Reading 07/02
- Exchange music info via bluetooth
- Instead of exchange music file, such as mp3, wma...
- BlutetunA exchange Only playlist, favorite song list
- "People may be glad to share those info to find someone near by to talk"
- "less Private Issue" - No ID info.
→ I think that making a face-to-face talk is more offened @"@