Gnutella Forums  

Go Back   Gnutella Forums > Current Gnutella Client Forums > Phex (Cross-platform) > Development & Coding > Development Open Discussion
Register FAQ The Twelve Commandments Members List Calendar Arcade Find the Best VPN Today's Posts

Development Open Discussion Anything else about the Phex development


Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old December 19th, 2008
Novicius
 
Join Date: December 19th, 2008
Posts: 1
s.rossano is flying high
Default Add a recommender engine to Phex

Dear all,

starting from the analysis of the spontaneous affinities between Gnutella users, I and some colleagues at University of Turin implemented a distributed recommender engine for p2p file sharing networks that is as simple as promising in terms of prediction accuracy. Talking with Arne, we are thinking about the possibility to integrate such scheme in Phex since it provides an interesting and very useful content filtering scheme. At the beginning of our research we implemented the algorithm in Phex but the code is not longer compatible with the current version. However, we completely redesigned the application during the last few months for another Gnutella client. The code is written in Java and it is very modular, so I think that the core engine could be reused in Phex without particular modifications. Of course, both the old Phex module and the current engine is distributed under an open source license, so I can share the source code. Moreover, I and Andre' Panisson, a Ph.D. student that developed the last version, could actively participate in the development and integration phases. We need to spread the module to a broader community in order to collect feedbacks from users and then setting up a significant evaluation.

Let me know if this sounds good for you.

For more details you can read this paper (also this) or visit the web site of our project.

Rossano
Reply With Quote
  #2 (permalink)  
Old December 28th, 2008
arne_bab's Avatar
Draketo, small dragon.
 
Join Date: May 31st, 2002
Location: Heidelberg, Germany
Posts: 1,881
arne_bab is a great assister to others; your light through the dark tunnel
Default

Here's a link to the SVN repository: SourceForge.net Repository - [dehinter] Index of /

You can get the code via

Code:
svn co https://dehinter.svn.sourceforge.net/svnroot/dehinter dehinter

Do you have documentation, which interfaces get accessed by the GUI (apart from sourcecode documentation)?
__________________

-> put this banner into your own signature! <-
--
Erst im Spiel lebt der Mensch.
Nur ludantaj homoj vivas.
GnuFU.net - Gnutella For Users
Draketo.de - Shortstories, Poems, Music and strange Ideas.
Reply With Quote
  #3 (permalink)  
Old January 5th, 2009
Novicius
 
Join Date: January 5th, 2009
Posts: 3
panisson is flying high
Default

In the SVN repository, the core implementation of the recommender system is in the folder /components/xhinter. This code has no dependencies in other libraries related to the client or the interface.

The client specific core implementation is available in the folder \core\com\limegroup\gnutella\recommendation. This code has dependencies with the core client, and it uses core components as SearchServices, FileManager and ConnectionManager. These components are used internally with dependency injection, and I think that if there is in Phex components that have the same funcionality, the components can be replaced with the Phex implementations. You can take a look in the RecommendationService interface and RecommendationServiceImpl. This code has dependencies only with the core components, and no dependencies with the interface.

The interface implementation is available in the folder \gui\com\limegroup\gnutella\gui\recommender, and uses the core components. This part should be completely reimplemented. The main class is RecommendationMediator, which references the core components.

The documentation should be improved, and I'm currently working on this.
Reply With Quote
  #4 (permalink)  
Old January 9th, 2009
arne_bab's Avatar
Draketo, small dragon.
 
Join Date: May 31st, 2002
Location: Heidelberg, Germany
Posts: 1,881
arne_bab is a great assister to others; your light through the dark tunnel
Default

I can't really comment on the feasability, so we need to wait for input from gregor_k.

Would you be willing to maintain the plugin in Phex to keep it up to date as soon as there is a working implementation?
__________________

-> put this banner into your own signature! <-
--
Erst im Spiel lebt der Mensch.
Nur ludantaj homoj vivas.
GnuFU.net - Gnutella For Users
Draketo.de - Shortstories, Poems, Music and strange Ideas.
Reply With Quote
  #5 (permalink)  
Old January 19th, 2009
Novicius
 
Join Date: January 5th, 2009
Posts: 3
panisson is flying high
Default

arne_bab, it is our interest to maintain it up to date, as it will provide feedbacks from users to our algorithm implementation. I'm returning today from a little vacation, and will be available to help and discussions.
Reply With Quote
  #6 (permalink)  
Old January 21st, 2009
Novicius
 
Join Date: January 5th, 2009
Posts: 3
panisson is flying high
Default

Hi Arne,
I started woking on the source code, and an intial patch is attached with a core (not working) implementation to Phex, to be applied to trunk. The recommender core is ready, we need just to adapt it to the Phex API. After it, we can start implementing the interface.
There are some doubts about the Phex API that you could help. There's another place (chat, instant messenger) we can talk about it?
Attached Files
File Type: txt Phex_recommendation_patch.txt (81.6 KB, 365 views)
Reply With Quote
  #7 (permalink)  
Old January 21st, 2009
arne_bab's Avatar
Draketo, small dragon.
 
Join Date: May 31st, 2002
Location: Heidelberg, Germany
Posts: 1,881
arne_bab is a great assister to others; your light through the dark tunnel
Default

That sounds great!

You can often find gregor_k in IRC at #phex on freenode.net - that should be the easiest way to get more speedy communication.
__________________

-> put this banner into your own signature! <-
--
Erst im Spiel lebt der Mensch.
Nur ludantaj homoj vivas.
GnuFU.net - Gnutella For Users
Draketo.de - Shortstories, Poems, Music and strange Ideas.
Reply With Quote
  #8 (permalink)  
Old January 21st, 2009
Phex Developer
 
Join Date: May 9th, 2001
Location: Stuttgart, Germany
Posts: 988
GregorK is flying high
Default

You should be able to find me in IRC between 19:00 and 22:00 UTC during this week.
__________________
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -7. The time now is 02:05 PM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
SEO by vBSEO 3.6.0 ©2011, Crawlability, Inc.

Copyright © 2020 Gnutella Forums.
All Rights Reserved.