MMIS2 – Recommendation Visualization April 19th, 2016 KTI/TU Graz, Know-Center
Recommender Systems + uRank
Multimedia Information Systems 2
Cecilia di Sciascio cdisciascio@know-center.at KTI, TU Graz April 19th, 2016
Recommender Systems + uRank Multimedia Information Systems 2 - - PowerPoint PPT Presentation
Recommender Systems + uRank Multimedia Information Systems 2 Cecilia di Sciascio cdisciascio@know-center.at KTI, TU Graz April 19 th , 2016 MMIS2 Recommendation Visualization April 19th, 2016 KTI/TU Graz, Know-Center Recommender
MMIS2 – Recommendation Visualization April 19th, 2016 KTI/TU Graz, Know-Center
Multimedia Information Systems 2
Cecilia di Sciascio cdisciascio@know-center.at KTI, TU Graz April 19th, 2016
MMIS2 – Recommendation Visualisation April 19th, 2016 KTI/TU Graz, Know-Center
2
MMIS2 – Recommendation Visualisation April 19th, 2016 KTI/TU Graz, Know-Center
Swearingen and Sinha (2001). “Beyond Algorithms: An HCI Perspective on Recommender Systems”.
3
MMIS2 – Recommendation Visualisation April 19th, 2016 KTI/TU Graz, Know-Center
4
MMIS2 – Recommendation Visualisation April 19th, 2016 KTI/TU Graz, Know-Center
5
MMIS2 – Recommendation Visualisation April 19th, 2016 KTI/TU Graz, Know-Center
6
MMIS2 – Recommendation Visualisation April 19th, 2016 KTI/TU Graz, Know-Center
7
MMIS2 – Recommendation Visualisation April 19th, 2016 KTI/TU Graz, Know-Center
8
MMIS2 – Recommendation Visualisation April 19th, 2016 KTI/TU Graz, Know-Center
9
What do users expect?
MMIS2 – Recommendation Visualisation April 19th, 2016 KTI/TU Graz, Know-Center
10
Gretarsson et al. SmallWorlds: Visualizing Social Recommendations.
MMIS2 – Recommendation Visualisation April 19th, 2016 KTI/TU Graz, Know-Center
11
Devendorf, O’Donovan, Höllerer TopicLens: An Interactive Recommender System
based on Topical and Social Connections.
MMIS2 – Recommendation Visualisation April 19th, 2016 KTI/TU Graz, Know-Center
12
Bostandjiev, O’Donovan, Hollerer. LinkedVis: Exploring Social and Semantic Career Recommendations.
MMIS2 – Recommendation Visualisation April 19th, 2016 KTI/TU Graz, Know-Center
13
MMIS2 – Recommendation Visualisation April 19th, 2016 KTI/TU Graz, Know-Center
14
MMIS2 – Recommendation Visualisation April 19th, 2016 KTI/TU Graz, Know-Center
15
MMIS2 – Recommendation Visualisation April 19th, 2016 KTI/TU Graz, Know-Center
16
Controllability Transparency
MMIS2 – Recommendation Visualisation April 19th, 2016 KTI/TU Graz, Know-Center
Web-based tool for document collection exploration
17
MMIS2 – Recommendation Visualisation April 19th, 2016 KTI/TU Graz, Know-Center
18
Tag Box
Collection Keywords Overview
MMIS2 – Recommendation Visualisation April 19th, 2016 KTI/TU Graz, Know-Center
19
Tag Box
Collection Keywords Overview
List + Ranking View
Ranked list + document similarity & term contribution
MMIS2 – Recommendation Visualisation April 19th, 2016 KTI/TU Graz, Know-Center
20
Tag Box
Collection Keywords Overview
List + Ranking View
Ranked list + document similarity & term contribution
Query Box
MMIS2 – Recommendation Visualisation April 19th, 2016 KTI/TU Graz, Know-Center
21
Detailed view of document metadata + snippet
MMIS2 – Recommendation Visualisation April 19th, 2016 KTI/TU Graz, Know-Center
22
Collection Keywords
Tokenization POS Tagging
“women”
Singularizatio n & Lower- casing Stemming TF-IDF
“women” is a noun “women” “woman” “woman” “woman” “woman” = 3.5 in di
gender: 5.2 wage: 2.1 woman: 3.5 gap: 1.8
Document Vectors
MMIS2 – Recommendation Visualisation April 19th, 2016 KTI/TU Graz, Know-Center
23
Score for term t in document d Rank by
Overall score of document d
MMIS2 – Recommendation Visualisation April 19th, 2016 KTI/TU Graz, Know-Center
24
Urank VisCanvas DocViewer ContentList TagBox TagCloud ranking … Urank-Loader RankingModel RankingArray KeywordExtractor
MMIS2 – Recommendation Visualisation April 19th, 2016 KTI/TU Graz, Know-Center
25
Urank VisCanvas DocViewer ContentList TagBox TagCloud ranking … Urank-Loader RankingModel RankingArray KeywordExtractor
entry point instance
MMIS2 – Recommendation Visualisation April 19th, 2016 KTI/TU Graz, Know-Center
26
Urank VisCanvas DocViewer ContentList TagBox TagCloud ranking … Urank-Loader RankingModel RankingArray KeywordExtractor
Core
MMIS2 – Recommendation Visualisation April 19th, 2016 KTI/TU Graz, Know-Center
27
Urank VisCanvas DocViewer ContentList TagBox TagCloud ranking … Urank-Loader RankingModel RankingArray KeywordExtractor
Model
MMIS2 – Recommendation Visualisation April 19th, 2016 KTI/TU Graz, Know-Center
28
Urank VisCanvas DocViewer ContentList TagBox TagCloud ranking … Urank-Loader RankingModel RankingArray KeywordExtractor
Blocks
MMIS2 – Recommendation Visualisation April 19th, 2016 KTI/TU Graz, Know-Center
29
Urank VisCanvas DocViewer ContentList TagBox TagCloud ranking your vis?? Urank-Loader RankingModel RankingArray KeywordExtractor
Views
MMIS2 – Recommendation Visualisation April 19th, 2016 KTI/TU Graz, Know-Center
30
UrankController VisCanvas DocViewer ContentList TagBox TagCloud ranking your vis? Urank RankingModel RankingArray KeywordExtractor
Vis
MMIS2 – Recommendation Visualisation April 19th, 2016 KTI/TU Graz, Know-Center
Libraries
31
MMIS2 – Recommendation Visualisation April 19th, 2016 KTI/TU Graz, Know-Center
32
In urank.js (controller)
var options = { contentList: { root: s.contentListRoot,
}, ... contentList = new ContentList(options.contentList); Block options specify DOM selector for root element and callback functions contentList object initialization
MMIS2 – Recommendation Visualisation April 19th, 2016 KTI/TU Graz, Know-Center
33
In contentList.js
function ContentList(arguments) { s = $.extend({ root: '',
}, arguments); } ... $(li).data('id', id) .on({ click: function(event){s.onItemClicked.call(this, li.data('id')); }, ... Constructor Events are bound to event handlers in “s” Object “s” extends default settings with options passed by urank.js
MMIS2 – Recommendation Visualisation April 19th, 2016 KTI/TU Graz, Know-Center
34
In contentList.js
ContentList.prototype = { build: _build, reset: _reset, update: _update, hover: _hover, unhover: _unhover, selectListItem: _selectListItem, deselectAllListItems: _deselectAllListItems, highlightListItems: _highlightListItems, clearAllFavicons: _clearAllFavicons, toggleFavicon: _toggleFavicon, toggleWatchListItem: _toggleWatchListItem, clearEffects: _clearEffects, ... };
Controller (urank.js) can call any block method in its prototype
MMIS2 – Recommendation Visualisation April 19th, 2016 KTI/TU Graz, Know-Center
35
Back in urank.js EVTHANDLER.onItemClicked : function(documentId) { … contentList.selectListItem(documentId); … };
This is the method passed as callback for list item click event. The method for selecting a list item is actually invoked inside the callback function
MMIS2 – Recommendation Visualisation April 19th, 2016 KTI/TU Graz, Know-Center
36
How to use it
Create the DOM elements that will be containers for the 4 blocks (except Docviewer).
TagBox RankingView ContentList
QueryBox
MMIS2 – Recommendation Visualisation April 19th, 2016 KTI/TU Graz, Know-Center
How to use it
Include in html header…
<script type="text/javascript" src="libs/jquery-1.10.2.js"></script> <script type="text/javascript" src="scripts/urank/dependencies/modernizr.js"></script> <script type="text/javascript" src="scripts/urank/urank-loader.js"></script>
37
MMIS2 – Recommendation Visualisation April 19th, 2016 KTI/TU Graz, Know-Center
How to use it
In your code, call the UrankLoader function passing 2 arguments:
var init = function(urank){ _this.urank = urank; … };
UrankLoader(init, urankOptions);
38
MMIS2 – Recommendation Visualisation April 19th, 2016 KTI/TU Graz, Know-Center
How to use it
Pass DOM selectors for block containers (except DocViewer).
var urankOptions = { tagCloudRoot: '#tag_cloud', tagBoxRoot: '#tag_box', contentListRoot: '#content_list', visCanvasRoot: '#vis_canvas' };
39
MMIS2 – Recommendation Visualisation April 19th, 2016 KTI/TU Graz, Know-Center
How to use it
Some initialization settings (defaultInitOptions in urank.js): Callbacks to be executed after homonymous methods
40
MMIS2 – Recommendation Visualisation April 19th, 2016 KTI/TU Graz, Know-Center
How to use it https://github.com/cecidisi/uRank See README Fork/Clone and create your own branch
41
MMIS2 – Recommendation Visualisation April 19th, 2016 KTI/TU Graz, Know-Center
42
MMIS2 – Recommendation Visualisation April 19th, 2016 KTI/TU Graz, Know-Center
1. New tag cloud view: new layout, show query previews, e.g. how many articles contain a keyword (see modles/tagcloud/tagCloudDefault.js)
43
MMIS2 – Recommendation Visualisation April 19th, 2016 KTI/TU Graz, Know-Center
visualisations (see modules/viscanvas/ranking.js)
44
MMIS2 – Recommendation Visualisation April 19th, 2016 KTI/TU Graz, Know-Center
45
Score for term t in document d
Overall score of document d
MMIS2 – Recommendation Visualisation April 19th, 2016 KTI/TU Graz, Know-Center
46