SlideShare a Scribd company logo
1 of 1
Download to read offline
Recommender System Based on 
Modularity 
Maria A. A. Sibaldo1;2, Tiago B. A. de Carvalho1;2, 
Tsang Ing Ren1, George D. C. Cavalcanti1 
1Centro de Informática, UFPE, Recife, Brasil 
2Unidade Acadêmica de Garanhuns, UFRPE, Garanhuns, Brasil 
www.cin.ufpe.br/viisar 
{maas2, tbac, tir, gdcc}@cin.ufpe.br 
1. Introduction 
This work presents a solution for the RecSys Challenge 2014 by performing a clustering 
in a bipartite graph whose vertices are of two types: user and item, having the edges 
as the engagement given to a tweet. The Modularity metric was used to form the 
groups that contain users and movies. 
2. The Proposed Approach 
2.1 Bipartite Graph 
The generated bipartite graph is modeled on an adjacency matrix composed by all 
nodes of both classes: user and item, this results in a sparse graph shown in Figure 1. 
0 0.5 1 1.5 2 2.5 3 3.5 
x 104 
0 
0.5 
1 
1.5 
2 
2.5 
3 
3.5 
x 104 
non zeros = 15964 
Figure 1: Adjacency matrix formed by users (1-22079) and items (22080-35697). 
Figure 2 shows the power-law degree distribution of the one-mode item graph, then 
our bipartite graph can be considered a scale-free network (Birmele [2009]). 
0 1 2 3 4 5 6 7 8 9 
6 
4 
2 
0 
One−mode User Graph 
log(degree) 
log(frequency) 
0 1 2 3 4 5 6 7 8 
6 
4 
2 
0 
One−mode Item Graph 
log(degree) 
log(frequency) 
Figure 2: Degree distribution of the user and item one-mode graphs. 
2.2 Louvain Algorithm and Modularity 
The Louvain algorithm (Blondel et al. [2008]) is used for clustering the bipartite graph 
(see Figure 3) based on the Modularity metric (Newman and Girvan [2004]): 
Q = 
1 
2m 
X 
ij 
 
Aij  
kikj 
2m 
 
(ci; cj); (1) 
where Aij represents the weight in the edge that links i and j, 
P 
ij Aij is the sum of 
the weights of every edge in the graph, ki = 
P 
j Aij is the sum of the weigths that 
has endpoint in i, ci is the community to which the vertex i is assigned. The function 
(ci; cj) is 1 if ci = cj and 0 otherwise, and m = 1 
2 
P 
ij Aij. 
Figure 3: Clusters formed by the Louvain algorithm: G1 = U1; U2; I1; I2; I3 e G2 = 
U3; U4; I4; I5. 
2.3 Engagement estimation 
Let k be the vertex that represents the item and gk is the group label to which the 
item k belongs: 
 Vk is the set that contains every vertex that is in the same group as the k vertex: 
Vk = fvjgv = gkg; (2) 
Wk contains every weight bigger than zero of every edge linking a vertex that is 
part of the same group of k, V is the set of all vertices in the graph: 
Wk = fwabjwab  0; a 2 Vk; b 2 V g; (3) 
 ^ wku is the estimated weight for the edge linking the item k to any user u: 
^ wku = 
1 
jWkj 
X 
a2Vk;b2V 
wab; (4) 
wku 2 Wk, jWkj is the number of elements of Wk. 
Motivated by the NDCG@10 evaluation (Loiacono et al. [2014]), we redefined the 
recommendation to a rank function. Therefore, the number of engagement for each 
tweet is calculated according to Equation 5: 
engiu = ^ wiu + rateiu + 10  tweet_retweetediu; (5) 
where engiu is the estimated engagement for a tweet, rateiu is the rating given by the 
user u to the item i and tweet_retweetediu is a boolean value. The engiu value that are 
bigger than user_followers_count, are set to this attribute value. 
3. Experiments and Results 
All zero Set all the engagements of the test dataset to 0. 
Clusters For each tweet in the test dataset, we obtain the item k posted in the tweet 
and obtain the average ^ wiu, that was set as the engagement value of that tweet. 
Improved clusters Adding to ^ wiu the user rate value to that item and multiplying by 
10 the attribute tweet_retweeted. If the estimated engagement is bigger than the 
user_followers_count attribute, it is set to the value of the this attribute. 
Table 1: NDCG@10 evaluation value for the strategies 
Strategy Evaluation 
All zero 0.7494269049198918 
Clusters 0.7901253952498258 
Improved clusters 0.8279531044818939 
4. Conclusions 
 It is not necessary to transform the bipartite graph into one-mode graph; 
 Engagement estimation obtained using the Modularity metric; 
 This tecnique can be also used with the data in a time window. 
References 
Etienne Birmele. A scale-free graph model based on bipartite graphs. Discrete Ap-plied 
Mathematics, 157(10):2267–2284, 2009. 
Vincent D. Blondel, Jean-Loup Guillaume, Renaud Lambiotte, and Etienne Lefebvre. 
Fast unfolding of community hierarchies in large networks. CoRR, abs/0803.0476, 
2008. 
Daniele Loiacono, Andreas Lommatzsch, and Roberto Turrin. Recsys challenge 2014: 
Learning to rank. 2014. 
M. E. J. Newman and M. Girvan. Finding and evaluating community structure in net-works. 
Physical Review E, 69(2):026113, February 2004. 
This work was partially supported by CIn/UFPE and Brazilian agencies: CNPq, CAPES and FACEPE.

More Related Content

Similar to Recommender System Based on Modularity

Gadljicsct955398
Gadljicsct955398Gadljicsct955398
Gadljicsct955398editorgadl
 
FORGERY (COPY-MOVE) DETECTION IN DIGITAL IMAGES USING BLOCK METHOD
FORGERY (COPY-MOVE) DETECTION IN DIGITAL IMAGES USING BLOCK METHODFORGERY (COPY-MOVE) DETECTION IN DIGITAL IMAGES USING BLOCK METHOD
FORGERY (COPY-MOVE) DETECTION IN DIGITAL IMAGES USING BLOCK METHODeditorijcres
 
Performance Comparison of K-means Codebook Optimization using different Clust...
Performance Comparison of K-means Codebook Optimization using different Clust...Performance Comparison of K-means Codebook Optimization using different Clust...
Performance Comparison of K-means Codebook Optimization using different Clust...IOSR Journals
 
Development of deep reinforcement learning for inverted pendulum
Development of deep reinforcement learning for inverted  pendulumDevelopment of deep reinforcement learning for inverted  pendulum
Development of deep reinforcement learning for inverted pendulumIJECEIAES
 
Adaptive lifting based image compression scheme using interactive artificial ...
Adaptive lifting based image compression scheme using interactive artificial ...Adaptive lifting based image compression scheme using interactive artificial ...
Adaptive lifting based image compression scheme using interactive artificial ...csandit
 
Robust Watermarking through Dual Band IWT and Chinese Remainder Theorem
Robust Watermarking through Dual Band IWT and Chinese Remainder TheoremRobust Watermarking through Dual Band IWT and Chinese Remainder Theorem
Robust Watermarking through Dual Band IWT and Chinese Remainder TheoremjournalBEEI
 
Machine Learning techniques for the Task Planning of the Ambulance Rescue Team
Machine Learning techniques for the Task Planning of the Ambulance Rescue TeamMachine Learning techniques for the Task Planning of the Ambulance Rescue Team
Machine Learning techniques for the Task Planning of the Ambulance Rescue TeamFrancesco Cucari
 
Ripple Algorithm to Evaluate the Importance of Network Nodes
Ripple Algorithm to Evaluate the Importance of Network NodesRipple Algorithm to Evaluate the Importance of Network Nodes
Ripple Algorithm to Evaluate the Importance of Network Nodesrahulmonikasharma
 
Scalable Static and Dynamic Community Detection Using Grappolo : NOTES
Scalable Static and Dynamic Community Detection Using Grappolo : NOTESScalable Static and Dynamic Community Detection Using Grappolo : NOTES
Scalable Static and Dynamic Community Detection Using Grappolo : NOTESSubhajit Sahu
 
Development of stereo matching algorithm based on sum of absolute RGB color d...
Development of stereo matching algorithm based on sum of absolute RGB color d...Development of stereo matching algorithm based on sum of absolute RGB color d...
Development of stereo matching algorithm based on sum of absolute RGB color d...IJECEIAES
 
Normalization cross correlation value of
Normalization cross correlation value ofNormalization cross correlation value of
Normalization cross correlation value ofeSAT Publishing House
 
A novel rrw framework to resist accidental attacks
A novel rrw framework to resist accidental attacksA novel rrw framework to resist accidental attacks
A novel rrw framework to resist accidental attackseSAT Journals
 
Calculus_Early_Transcendentals,_second_Edition,_by_Sullivan_and.pdf
Calculus_Early_Transcendentals,_second_Edition,_by_Sullivan_and.pdfCalculus_Early_Transcendentals,_second_Edition,_by_Sullivan_and.pdf
Calculus_Early_Transcendentals,_second_Edition,_by_Sullivan_and.pdfCONSTRUCTION WORLD SOLUTION
 
FACE RECOGNITION USING DIFFERENT LOCAL FEATURES WITH DIFFERENT DISTANCE TECHN...
FACE RECOGNITION USING DIFFERENT LOCAL FEATURES WITH DIFFERENT DISTANCE TECHN...FACE RECOGNITION USING DIFFERENT LOCAL FEATURES WITH DIFFERENT DISTANCE TECHN...
FACE RECOGNITION USING DIFFERENT LOCAL FEATURES WITH DIFFERENT DISTANCE TECHN...IJCSEIT Journal
 
Proposed algorithm for image classification using regression-based pre-proces...
Proposed algorithm for image classification using regression-based pre-proces...Proposed algorithm for image classification using regression-based pre-proces...
Proposed algorithm for image classification using regression-based pre-proces...IJECEIAES
 
A Dependent Set Based Approach for Large Graph Analysis
A Dependent Set Based Approach for Large Graph AnalysisA Dependent Set Based Approach for Large Graph Analysis
A Dependent Set Based Approach for Large Graph AnalysisEditor IJCATR
 

Similar to Recommender System Based on Modularity (20)

Gadljicsct955398
Gadljicsct955398Gadljicsct955398
Gadljicsct955398
 
FORGERY (COPY-MOVE) DETECTION IN DIGITAL IMAGES USING BLOCK METHOD
FORGERY (COPY-MOVE) DETECTION IN DIGITAL IMAGES USING BLOCK METHODFORGERY (COPY-MOVE) DETECTION IN DIGITAL IMAGES USING BLOCK METHOD
FORGERY (COPY-MOVE) DETECTION IN DIGITAL IMAGES USING BLOCK METHOD
 
Performance Comparison of K-means Codebook Optimization using different Clust...
Performance Comparison of K-means Codebook Optimization using different Clust...Performance Comparison of K-means Codebook Optimization using different Clust...
Performance Comparison of K-means Codebook Optimization using different Clust...
 
A0360105
A0360105A0360105
A0360105
 
Development of deep reinforcement learning for inverted pendulum
Development of deep reinforcement learning for inverted  pendulumDevelopment of deep reinforcement learning for inverted  pendulum
Development of deep reinforcement learning for inverted pendulum
 
Oc2423022305
Oc2423022305Oc2423022305
Oc2423022305
 
Adaptive lifting based image compression scheme using interactive artificial ...
Adaptive lifting based image compression scheme using interactive artificial ...Adaptive lifting based image compression scheme using interactive artificial ...
Adaptive lifting based image compression scheme using interactive artificial ...
 
Robust Watermarking through Dual Band IWT and Chinese Remainder Theorem
Robust Watermarking through Dual Band IWT and Chinese Remainder TheoremRobust Watermarking through Dual Band IWT and Chinese Remainder Theorem
Robust Watermarking through Dual Band IWT and Chinese Remainder Theorem
 
Machine Learning techniques for the Task Planning of the Ambulance Rescue Team
Machine Learning techniques for the Task Planning of the Ambulance Rescue TeamMachine Learning techniques for the Task Planning of the Ambulance Rescue Team
Machine Learning techniques for the Task Planning of the Ambulance Rescue Team
 
Ripple Algorithm to Evaluate the Importance of Network Nodes
Ripple Algorithm to Evaluate the Importance of Network NodesRipple Algorithm to Evaluate the Importance of Network Nodes
Ripple Algorithm to Evaluate the Importance of Network Nodes
 
Scalable Static and Dynamic Community Detection Using Grappolo : NOTES
Scalable Static and Dynamic Community Detection Using Grappolo : NOTESScalable Static and Dynamic Community Detection Using Grappolo : NOTES
Scalable Static and Dynamic Community Detection Using Grappolo : NOTES
 
Development of stereo matching algorithm based on sum of absolute RGB color d...
Development of stereo matching algorithm based on sum of absolute RGB color d...Development of stereo matching algorithm based on sum of absolute RGB color d...
Development of stereo matching algorithm based on sum of absolute RGB color d...
 
Normalization cross correlation value of
Normalization cross correlation value ofNormalization cross correlation value of
Normalization cross correlation value of
 
Final Report
Final ReportFinal Report
Final Report
 
A novel rrw framework to resist accidental attacks
A novel rrw framework to resist accidental attacksA novel rrw framework to resist accidental attacks
A novel rrw framework to resist accidental attacks
 
Calculus_Early_Transcendentals,_second_Edition,_by_Sullivan_and.pdf
Calculus_Early_Transcendentals,_second_Edition,_by_Sullivan_and.pdfCalculus_Early_Transcendentals,_second_Edition,_by_Sullivan_and.pdf
Calculus_Early_Transcendentals,_second_Edition,_by_Sullivan_and.pdf
 
FACE RECOGNITION USING DIFFERENT LOCAL FEATURES WITH DIFFERENT DISTANCE TECHN...
FACE RECOGNITION USING DIFFERENT LOCAL FEATURES WITH DIFFERENT DISTANCE TECHN...FACE RECOGNITION USING DIFFERENT LOCAL FEATURES WITH DIFFERENT DISTANCE TECHN...
FACE RECOGNITION USING DIFFERENT LOCAL FEATURES WITH DIFFERENT DISTANCE TECHN...
 
Proposed algorithm for image classification using regression-based pre-proces...
Proposed algorithm for image classification using regression-based pre-proces...Proposed algorithm for image classification using regression-based pre-proces...
Proposed algorithm for image classification using regression-based pre-proces...
 
A Dependent Set Based Approach for Large Graph Analysis
A Dependent Set Based Approach for Large Graph AnalysisA Dependent Set Based Approach for Large Graph Analysis
A Dependent Set Based Approach for Large Graph Analysis
 
Ijetr011837
Ijetr011837Ijetr011837
Ijetr011837
 

Recently uploaded

Call Girls In Shivaji Nagar ☎ 7737669865 🥵 Book Your One night Stand
Call Girls In Shivaji Nagar ☎ 7737669865 🥵 Book Your One night StandCall Girls In Shivaji Nagar ☎ 7737669865 🥵 Book Your One night Stand
Call Girls In Shivaji Nagar ☎ 7737669865 🥵 Book Your One night Standamitlee9823
 
➥🔝 7737669865 🔝▻ Sambalpur Call-girls in Women Seeking Men 🔝Sambalpur🔝 Esc...
➥🔝 7737669865 🔝▻ Sambalpur Call-girls in Women Seeking Men  🔝Sambalpur🔝   Esc...➥🔝 7737669865 🔝▻ Sambalpur Call-girls in Women Seeking Men  🔝Sambalpur🔝   Esc...
➥🔝 7737669865 🔝▻ Sambalpur Call-girls in Women Seeking Men 🔝Sambalpur🔝 Esc...amitlee9823
 
Junnasandra Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore...
Junnasandra Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore...Junnasandra Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore...
Junnasandra Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore...amitlee9823
 
Call Girls In Attibele ☎ 7737669865 🥵 Book Your One night Stand
Call Girls In Attibele ☎ 7737669865 🥵 Book Your One night StandCall Girls In Attibele ☎ 7737669865 🥵 Book Your One night Stand
Call Girls In Attibele ☎ 7737669865 🥵 Book Your One night Standamitlee9823
 
Aspirational Block Program Block Syaldey District - Almora
Aspirational Block Program Block Syaldey District - AlmoraAspirational Block Program Block Syaldey District - Almora
Aspirational Block Program Block Syaldey District - AlmoraGovindSinghDasila
 
Thane Call Girls 7091864438 Call Girls in Thane Escort service book now -
Thane Call Girls 7091864438 Call Girls in Thane Escort service book now -Thane Call Girls 7091864438 Call Girls in Thane Escort service book now -
Thane Call Girls 7091864438 Call Girls in Thane Escort service book now -Pooja Nehwal
 
Chintamani Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore ...
Chintamani Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore ...Chintamani Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore ...
Chintamani Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore ...amitlee9823
 
Discover Why Less is More in B2B Research
Discover Why Less is More in B2B ResearchDiscover Why Less is More in B2B Research
Discover Why Less is More in B2B Researchmichael115558
 
Call Girls Bannerghatta Road Just Call 👗 7737669865 👗 Top Class Call Girl Ser...
Call Girls Bannerghatta Road Just Call 👗 7737669865 👗 Top Class Call Girl Ser...Call Girls Bannerghatta Road Just Call 👗 7737669865 👗 Top Class Call Girl Ser...
Call Girls Bannerghatta Road Just Call 👗 7737669865 👗 Top Class Call Girl Ser...amitlee9823
 
Call Girls Hsr Layout Just Call 👗 7737669865 👗 Top Class Call Girl Service Ba...
Call Girls Hsr Layout Just Call 👗 7737669865 👗 Top Class Call Girl Service Ba...Call Girls Hsr Layout Just Call 👗 7737669865 👗 Top Class Call Girl Service Ba...
Call Girls Hsr Layout Just Call 👗 7737669865 👗 Top Class Call Girl Service Ba...amitlee9823
 
5CL-ADBA,5cladba, Chinese supplier, safety is guaranteed
5CL-ADBA,5cladba, Chinese supplier, safety is guaranteed5CL-ADBA,5cladba, Chinese supplier, safety is guaranteed
5CL-ADBA,5cladba, Chinese supplier, safety is guaranteedamy56318795
 
SAC 25 Final National, Regional & Local Angel Group Investing Insights 2024 0...
SAC 25 Final National, Regional & Local Angel Group Investing Insights 2024 0...SAC 25 Final National, Regional & Local Angel Group Investing Insights 2024 0...
SAC 25 Final National, Regional & Local Angel Group Investing Insights 2024 0...Elaine Werffeli
 
Call Girls Begur Just Call 👗 7737669865 👗 Top Class Call Girl Service Bangalore
Call Girls Begur Just Call 👗 7737669865 👗 Top Class Call Girl Service BangaloreCall Girls Begur Just Call 👗 7737669865 👗 Top Class Call Girl Service Bangalore
Call Girls Begur Just Call 👗 7737669865 👗 Top Class Call Girl Service Bangaloreamitlee9823
 
Call Girls Indiranagar Just Call 👗 9155563397 👗 Top Class Call Girl Service B...
Call Girls Indiranagar Just Call 👗 9155563397 👗 Top Class Call Girl Service B...Call Girls Indiranagar Just Call 👗 9155563397 👗 Top Class Call Girl Service B...
Call Girls Indiranagar Just Call 👗 9155563397 👗 Top Class Call Girl Service B...only4webmaster01
 
Just Call Vip call girls Bellary Escorts ☎️9352988975 Two shot with one girl ...
Just Call Vip call girls Bellary Escorts ☎️9352988975 Two shot with one girl ...Just Call Vip call girls Bellary Escorts ☎️9352988975 Two shot with one girl ...
Just Call Vip call girls Bellary Escorts ☎️9352988975 Two shot with one girl ...gajnagarg
 
DATA SUMMIT 24 Building Real-Time Pipelines With FLaNK
DATA SUMMIT 24  Building Real-Time Pipelines With FLaNKDATA SUMMIT 24  Building Real-Time Pipelines With FLaNK
DATA SUMMIT 24 Building Real-Time Pipelines With FLaNKTimothy Spann
 
Just Call Vip call girls roorkee Escorts ☎️9352988975 Two shot with one girl ...
Just Call Vip call girls roorkee Escorts ☎️9352988975 Two shot with one girl ...Just Call Vip call girls roorkee Escorts ☎️9352988975 Two shot with one girl ...
Just Call Vip call girls roorkee Escorts ☎️9352988975 Two shot with one girl ...gajnagarg
 
➥🔝 7737669865 🔝▻ Ongole Call-girls in Women Seeking Men 🔝Ongole🔝 Escorts S...
➥🔝 7737669865 🔝▻ Ongole Call-girls in Women Seeking Men  🔝Ongole🔝   Escorts S...➥🔝 7737669865 🔝▻ Ongole Call-girls in Women Seeking Men  🔝Ongole🔝   Escorts S...
➥🔝 7737669865 🔝▻ Ongole Call-girls in Women Seeking Men 🔝Ongole🔝 Escorts S...amitlee9823
 

Recently uploaded (20)

Call Girls In Shivaji Nagar ☎ 7737669865 🥵 Book Your One night Stand
Call Girls In Shivaji Nagar ☎ 7737669865 🥵 Book Your One night StandCall Girls In Shivaji Nagar ☎ 7737669865 🥵 Book Your One night Stand
Call Girls In Shivaji Nagar ☎ 7737669865 🥵 Book Your One night Stand
 
➥🔝 7737669865 🔝▻ Sambalpur Call-girls in Women Seeking Men 🔝Sambalpur🔝 Esc...
➥🔝 7737669865 🔝▻ Sambalpur Call-girls in Women Seeking Men  🔝Sambalpur🔝   Esc...➥🔝 7737669865 🔝▻ Sambalpur Call-girls in Women Seeking Men  🔝Sambalpur🔝   Esc...
➥🔝 7737669865 🔝▻ Sambalpur Call-girls in Women Seeking Men 🔝Sambalpur🔝 Esc...
 
Junnasandra Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore...
Junnasandra Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore...Junnasandra Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore...
Junnasandra Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore...
 
Call Girls In Attibele ☎ 7737669865 🥵 Book Your One night Stand
Call Girls In Attibele ☎ 7737669865 🥵 Book Your One night StandCall Girls In Attibele ☎ 7737669865 🥵 Book Your One night Stand
Call Girls In Attibele ☎ 7737669865 🥵 Book Your One night Stand
 
Aspirational Block Program Block Syaldey District - Almora
Aspirational Block Program Block Syaldey District - AlmoraAspirational Block Program Block Syaldey District - Almora
Aspirational Block Program Block Syaldey District - Almora
 
Thane Call Girls 7091864438 Call Girls in Thane Escort service book now -
Thane Call Girls 7091864438 Call Girls in Thane Escort service book now -Thane Call Girls 7091864438 Call Girls in Thane Escort service book now -
Thane Call Girls 7091864438 Call Girls in Thane Escort service book now -
 
Chintamani Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore ...
Chintamani Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore ...Chintamani Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore ...
Chintamani Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore ...
 
Discover Why Less is More in B2B Research
Discover Why Less is More in B2B ResearchDiscover Why Less is More in B2B Research
Discover Why Less is More in B2B Research
 
Predicting Loan Approval: A Data Science Project
Predicting Loan Approval: A Data Science ProjectPredicting Loan Approval: A Data Science Project
Predicting Loan Approval: A Data Science Project
 
Call Girls Bannerghatta Road Just Call 👗 7737669865 👗 Top Class Call Girl Ser...
Call Girls Bannerghatta Road Just Call 👗 7737669865 👗 Top Class Call Girl Ser...Call Girls Bannerghatta Road Just Call 👗 7737669865 👗 Top Class Call Girl Ser...
Call Girls Bannerghatta Road Just Call 👗 7737669865 👗 Top Class Call Girl Ser...
 
Call Girls Hsr Layout Just Call 👗 7737669865 👗 Top Class Call Girl Service Ba...
Call Girls Hsr Layout Just Call 👗 7737669865 👗 Top Class Call Girl Service Ba...Call Girls Hsr Layout Just Call 👗 7737669865 👗 Top Class Call Girl Service Ba...
Call Girls Hsr Layout Just Call 👗 7737669865 👗 Top Class Call Girl Service Ba...
 
5CL-ADBA,5cladba, Chinese supplier, safety is guaranteed
5CL-ADBA,5cladba, Chinese supplier, safety is guaranteed5CL-ADBA,5cladba, Chinese supplier, safety is guaranteed
5CL-ADBA,5cladba, Chinese supplier, safety is guaranteed
 
SAC 25 Final National, Regional & Local Angel Group Investing Insights 2024 0...
SAC 25 Final National, Regional & Local Angel Group Investing Insights 2024 0...SAC 25 Final National, Regional & Local Angel Group Investing Insights 2024 0...
SAC 25 Final National, Regional & Local Angel Group Investing Insights 2024 0...
 
Call Girls Begur Just Call 👗 7737669865 👗 Top Class Call Girl Service Bangalore
Call Girls Begur Just Call 👗 7737669865 👗 Top Class Call Girl Service BangaloreCall Girls Begur Just Call 👗 7737669865 👗 Top Class Call Girl Service Bangalore
Call Girls Begur Just Call 👗 7737669865 👗 Top Class Call Girl Service Bangalore
 
Call Girls Indiranagar Just Call 👗 9155563397 👗 Top Class Call Girl Service B...
Call Girls Indiranagar Just Call 👗 9155563397 👗 Top Class Call Girl Service B...Call Girls Indiranagar Just Call 👗 9155563397 👗 Top Class Call Girl Service B...
Call Girls Indiranagar Just Call 👗 9155563397 👗 Top Class Call Girl Service B...
 
Just Call Vip call girls Bellary Escorts ☎️9352988975 Two shot with one girl ...
Just Call Vip call girls Bellary Escorts ☎️9352988975 Two shot with one girl ...Just Call Vip call girls Bellary Escorts ☎️9352988975 Two shot with one girl ...
Just Call Vip call girls Bellary Escorts ☎️9352988975 Two shot with one girl ...
 
CHEAP Call Girls in Rabindra Nagar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
CHEAP Call Girls in Rabindra Nagar  (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICECHEAP Call Girls in Rabindra Nagar  (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
CHEAP Call Girls in Rabindra Nagar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
 
DATA SUMMIT 24 Building Real-Time Pipelines With FLaNK
DATA SUMMIT 24  Building Real-Time Pipelines With FLaNKDATA SUMMIT 24  Building Real-Time Pipelines With FLaNK
DATA SUMMIT 24 Building Real-Time Pipelines With FLaNK
 
Just Call Vip call girls roorkee Escorts ☎️9352988975 Two shot with one girl ...
Just Call Vip call girls roorkee Escorts ☎️9352988975 Two shot with one girl ...Just Call Vip call girls roorkee Escorts ☎️9352988975 Two shot with one girl ...
Just Call Vip call girls roorkee Escorts ☎️9352988975 Two shot with one girl ...
 
➥🔝 7737669865 🔝▻ Ongole Call-girls in Women Seeking Men 🔝Ongole🔝 Escorts S...
➥🔝 7737669865 🔝▻ Ongole Call-girls in Women Seeking Men  🔝Ongole🔝   Escorts S...➥🔝 7737669865 🔝▻ Ongole Call-girls in Women Seeking Men  🔝Ongole🔝   Escorts S...
➥🔝 7737669865 🔝▻ Ongole Call-girls in Women Seeking Men 🔝Ongole🔝 Escorts S...
 

Recommender System Based on Modularity

  • 1. Recommender System Based on Modularity Maria A. A. Sibaldo1;2, Tiago B. A. de Carvalho1;2, Tsang Ing Ren1, George D. C. Cavalcanti1 1Centro de Informática, UFPE, Recife, Brasil 2Unidade Acadêmica de Garanhuns, UFRPE, Garanhuns, Brasil www.cin.ufpe.br/viisar {maas2, tbac, tir, gdcc}@cin.ufpe.br 1. Introduction This work presents a solution for the RecSys Challenge 2014 by performing a clustering in a bipartite graph whose vertices are of two types: user and item, having the edges as the engagement given to a tweet. The Modularity metric was used to form the groups that contain users and movies. 2. The Proposed Approach 2.1 Bipartite Graph The generated bipartite graph is modeled on an adjacency matrix composed by all nodes of both classes: user and item, this results in a sparse graph shown in Figure 1. 0 0.5 1 1.5 2 2.5 3 3.5 x 104 0 0.5 1 1.5 2 2.5 3 3.5 x 104 non zeros = 15964 Figure 1: Adjacency matrix formed by users (1-22079) and items (22080-35697). Figure 2 shows the power-law degree distribution of the one-mode item graph, then our bipartite graph can be considered a scale-free network (Birmele [2009]). 0 1 2 3 4 5 6 7 8 9 6 4 2 0 One−mode User Graph log(degree) log(frequency) 0 1 2 3 4 5 6 7 8 6 4 2 0 One−mode Item Graph log(degree) log(frequency) Figure 2: Degree distribution of the user and item one-mode graphs. 2.2 Louvain Algorithm and Modularity The Louvain algorithm (Blondel et al. [2008]) is used for clustering the bipartite graph (see Figure 3) based on the Modularity metric (Newman and Girvan [2004]): Q = 1 2m X ij Aij kikj 2m (ci; cj); (1) where Aij represents the weight in the edge that links i and j, P ij Aij is the sum of the weights of every edge in the graph, ki = P j Aij is the sum of the weigths that has endpoint in i, ci is the community to which the vertex i is assigned. The function (ci; cj) is 1 if ci = cj and 0 otherwise, and m = 1 2 P ij Aij. Figure 3: Clusters formed by the Louvain algorithm: G1 = U1; U2; I1; I2; I3 e G2 = U3; U4; I4; I5. 2.3 Engagement estimation Let k be the vertex that represents the item and gk is the group label to which the item k belongs: Vk is the set that contains every vertex that is in the same group as the k vertex: Vk = fvjgv = gkg; (2) Wk contains every weight bigger than zero of every edge linking a vertex that is part of the same group of k, V is the set of all vertices in the graph: Wk = fwabjwab 0; a 2 Vk; b 2 V g; (3) ^ wku is the estimated weight for the edge linking the item k to any user u: ^ wku = 1 jWkj X a2Vk;b2V wab; (4) wku 2 Wk, jWkj is the number of elements of Wk. Motivated by the NDCG@10 evaluation (Loiacono et al. [2014]), we redefined the recommendation to a rank function. Therefore, the number of engagement for each tweet is calculated according to Equation 5: engiu = ^ wiu + rateiu + 10 tweet_retweetediu; (5) where engiu is the estimated engagement for a tweet, rateiu is the rating given by the user u to the item i and tweet_retweetediu is a boolean value. The engiu value that are bigger than user_followers_count, are set to this attribute value. 3. Experiments and Results All zero Set all the engagements of the test dataset to 0. Clusters For each tweet in the test dataset, we obtain the item k posted in the tweet and obtain the average ^ wiu, that was set as the engagement value of that tweet. Improved clusters Adding to ^ wiu the user rate value to that item and multiplying by 10 the attribute tweet_retweeted. If the estimated engagement is bigger than the user_followers_count attribute, it is set to the value of the this attribute. Table 1: NDCG@10 evaluation value for the strategies Strategy Evaluation All zero 0.7494269049198918 Clusters 0.7901253952498258 Improved clusters 0.8279531044818939 4. Conclusions It is not necessary to transform the bipartite graph into one-mode graph; Engagement estimation obtained using the Modularity metric; This tecnique can be also used with the data in a time window. References Etienne Birmele. A scale-free graph model based on bipartite graphs. Discrete Ap-plied Mathematics, 157(10):2267–2284, 2009. Vincent D. Blondel, Jean-Loup Guillaume, Renaud Lambiotte, and Etienne Lefebvre. Fast unfolding of community hierarchies in large networks. CoRR, abs/0803.0476, 2008. Daniele Loiacono, Andreas Lommatzsch, and Roberto Turrin. Recsys challenge 2014: Learning to rank. 2014. M. E. J. Newman and M. Girvan. Finding and evaluating community structure in net-works. Physical Review E, 69(2):026113, February 2004. This work was partially supported by CIn/UFPE and Brazilian agencies: CNPq, CAPES and FACEPE.