]> CyberLeo.Net >> Repos - SourceForge/phpwiki.git/blob - pgsrc/Help%2FRateItPlugin
Update PHP Doc
[SourceForge/phpwiki.git] / pgsrc / Help%2FRateItPlugin
1 Date: Fri,  7 Dec 2012 14:58:45 +0000
2 Mime-Version: 1.0 (Produced by PhpWiki 1.4.0)
3 Content-Type: application/x-phpwiki;
4   pagename=Help%2FRateItPlugin;
5   flags=PAGE_LOCKED;
6   charset=UTF-8
7 Content-Transfer-Encoding: binary
8
9 RateIt: A recommender system, based on [[http://www.movielens.org/|MovieLens]] and "suggest".
10
11 Store user ratings per pagename. The wikilens theme displays a navbar image bar
12 with some nice Javascript magic and this plugin shows various recommendations.
13
14 There should be two methods to store ratings:
15 * In a SQL database as in wikilens [[http://dickens.cs.umn.edu/dfrankow/wikilens]]
16
17 The most important fact: A page has more than one rating. There can
18 be (and will be!) many ratings per page (ratee): different raters
19 (users), in different dimensions. Are those stored per page
20 (ratee)? Then what if I wish to access the ratings per rater
21 (user)?
22
23 Wikilens plans several user-centered applications like:
24 * a) show my ratings
25 * b) show my buddies' ratings
26 * c) show how my ratings are like my buddies'
27 * d) show where I agree/disagree with my buddy
28 * e) show what this group of people agree/disagree on
29
30 If the ratings are stored in a real DB in a table, we can index the
31 ratings by rater and ratee, and be confident in
32 performance. Currently [[http://www.movielens.org/|MovieLens]] has 80,000 users, 7,000 items,
33 10,000,000 ratings. This is an average of 1400 ratings/page if each
34 page were rated equally. However, they're not: the most popular
35 things have tens of thousands of ratings (e.g., "Pulp Fiction" has
36 42,000 ratings). If ratings are stored per page, you would have to
37 save/read huge page metadata every time someone submits a
38 rating. Finally, the movie domain has an unusually small number of
39 items-- I'd expect a lot more in music, for example.
40
41 For a simple rating system one can also store the rating in the page
42 metadata (default).
43
44 Recommender Engines:
45 * Recommendation/Prediction is a special field of "Data Mining"
46 * For a list of (also free) software see http://www.the-data-mine.com/bin/view/Software/WebIndex
47 ** movielens: (Java Server) will be gpl'd in summer 2004 (weighted)
48 ** suggest: is free for non-commercial use, available as compiled library (non-weighted)
49 ** Autoclass: simple public domain C library
50 ** MLC++: C++ library http://www.sgi.com/tech/mlc/
51
52 == Usage ==
53
54 Note: The wikilens theme or any derivate must be enabled, to enable this plugin!
55
56 {{{
57         <<RateIt>> just the widget without text
58         <<RateIt show=top>> text plus widget below
59         <<RateIt show=ratings>> to show my ratings
60 TODO:   <<RateIt show=buddies>> to show my buddies
61         <<RateIt show=ratings dimension=1>>
62 TODO:   <<RateIt show=text>> just text, no widget, for dumps
63 }}}
64
65 == Arguments ==
66
67 {| class="bordered"
68 |-
69 ! Argument
70 ! Description
71 ! Default value
72 |-
73 | **pagename**
74 | The page to execute upon
75 | current pagename
76 |-
77 | **version**
78 |
79 | false
80 |-
81 | **version**
82 |
83 | false
84 |-
85 | **id**
86 |
87 | rateit
88 |-
89 | **imgPrefix**
90 | //(empty)// or BStar or Star
91 | //(empty)//
92 |-
93 | **dimension**
94 |
95 | false
96 |-
97 | **small**
98 |
99 | false
100 |-
101 | **show**
102 |
103 | false
104 |-
105 | **mode**
106 |
107 | false
108 |}
109
110 == Example ==
111
112 {{{
113 <<RateIt>>
114 }}}
115
116 == Author ==
117 * Dan Frankowski (wikilens author),
118 * [[Help:Reini Urban|Reini Urban]] (as plugin)
119
120 == See Also ==
121 * [[Help:UserRatingsPlugin]]
122
123 == To do ==
124 * finish mysuggest.c (external engine with data from mysql)
125
126 <noinclude>
127 ----
128 [[PhpWikiDocumentation]] [[CategoryWikiPlugin]]
129 </noinclude>