apriori-rails 0.2.4.0
Sign up to get free protection for your applications and to get access to all the features.
- data/History.txt +22 -0
- data/License.txt +20 -0
- data/Manifest.txt +121 -0
- data/README.txt +149 -0
- data/Rakefile +17 -0
- data/TODO.txt +60 -0
- data/attic/c_ext_test1/MyTest/MyTest.c +23 -0
- data/attic/c_ext_test1/MyTest/extconf.rb +11 -0
- data/attic/c_ext_test1/mytest.rb +10 -0
- data/attic/test.c +12 -0
- data/config/hoe.rb +88 -0
- data/config/requirements.rb +29 -0
- data/examples/01_simple_example.rb +39 -0
- data/examples/02_small_file_example.rb +17 -0
- data/examples/03_large_file_example.rb +22 -0
- data/examples/test_data/market_basket_basic_test.dat +9 -0
- data/ext/Apriori.c +149 -0
- data/ext/Makefile +149 -0
- data/ext/apriori/doc/apriori.html +1301 -0
- data/ext/apriori/doc/arem.gp +68 -0
- data/ext/apriori/doc/c_rev.gp +89 -0
- data/ext/apriori/doc/chi2.tex +156 -0
- data/ext/apriori/doc/copying +504 -0
- data/ext/apriori/doc/line.gif +0 -0
- data/ext/apriori/doc/uparrow.gif +0 -0
- data/ext/apriori/ex/flg2set +15 -0
- data/ext/apriori/ex/hdr2set +13 -0
- data/ext/apriori/ex/readme +71 -0
- data/ext/apriori/ex/row2set +7 -0
- data/ext/apriori/ex/rulesort +24 -0
- data/ext/apriori/ex/tab2set +9 -0
- data/ext/apriori/ex/test.app +2 -0
- data/ext/apriori/ex/test.rul +9 -0
- data/ext/apriori/ex/test1.rul +43 -0
- data/ext/apriori/ex/test1.tab +10 -0
- data/ext/apriori/ex/test2.tab +10 -0
- data/ext/apriori/ex/test3.tab +30 -0
- data/ext/apriori/ex/test4.tab +11 -0
- data/ext/apriori/ex/test5.tab +39 -0
- data/ext/apriori/ex/tid2set +23 -0
- data/ext/apriori/ex/xhdr2set +33 -0
- data/ext/apriori/src/apriori.c +750 -0
- data/ext/apriori/src/apriori.dsp +120 -0
- data/ext/apriori/src/apriori.dsw +29 -0
- data/ext/apriori/src/apriori.mak +99 -0
- data/ext/apriori/src/istree.c +1411 -0
- data/ext/apriori/src/istree.h +160 -0
- data/ext/apriori/src/makefile +105 -0
- data/ext/apriori/src/tract.c +870 -0
- data/ext/apriori/src/tract.h +261 -0
- data/ext/apriori_wrapper.c +757 -0
- data/ext/apriori_wrapper.h +10 -0
- data/ext/extconf.rb +32 -0
- data/ext/math/doc/copying +504 -0
- data/ext/math/src/chi2.c +151 -0
- data/ext/math/src/chi2.h +27 -0
- data/ext/math/src/choose.c +71 -0
- data/ext/math/src/choose.h +16 -0
- data/ext/math/src/gamma.c +446 -0
- data/ext/math/src/gamma.h +39 -0
- data/ext/math/src/intexp.c +35 -0
- data/ext/math/src/intexp.h +15 -0
- data/ext/math/src/makefile +164 -0
- data/ext/math/src/math.mak +48 -0
- data/ext/math/src/normal.c +387 -0
- data/ext/math/src/normal.h +44 -0
- data/ext/math/src/radfn.c +113 -0
- data/ext/math/src/radfn.h +34 -0
- data/ext/math/src/zeta.c +49 -0
- data/ext/math/src/zeta.h +15 -0
- data/ext/pre-clean.rb +8 -0
- data/ext/pre-setup.rb +9 -0
- data/ext/util/doc/copying +504 -0
- data/ext/util/src/listops.c +76 -0
- data/ext/util/src/listops.h +26 -0
- data/ext/util/src/makefile +103 -0
- data/ext/util/src/memsys.c +84 -0
- data/ext/util/src/memsys.h +42 -0
- data/ext/util/src/nstats.c +288 -0
- data/ext/util/src/nstats.h +69 -0
- data/ext/util/src/params.c +86 -0
- data/ext/util/src/params.h +19 -0
- data/ext/util/src/parse.c +133 -0
- data/ext/util/src/parse.h +81 -0
- data/ext/util/src/scan.c +767 -0
- data/ext/util/src/scan.h +111 -0
- data/ext/util/src/symtab.c +443 -0
- data/ext/util/src/symtab.h +121 -0
- data/ext/util/src/tabscan.c +279 -0
- data/ext/util/src/tabscan.h +99 -0
- data/ext/util/src/util.mak +91 -0
- data/ext/util/src/vecops.c +317 -0
- data/ext/util/src/vecops.h +42 -0
- data/lib/apriori.rb +133 -0
- data/lib/apriori/adapter.rb +13 -0
- data/lib/apriori/association_rule.rb +97 -0
- data/lib/apriori/version.rb +3 -0
- data/script/console +10 -0
- data/script/destroy +14 -0
- data/script/generate +14 -0
- data/script/txt2html +82 -0
- data/setup.rb +1585 -0
- data/tasks/apriori.rake +20 -0
- data/tasks/attic.rake +28 -0
- data/tasks/deployment.rake +34 -0
- data/tasks/environment.rake +7 -0
- data/tasks/install.rake +13 -0
- data/tasks/website.rake +17 -0
- data/test/apriori_test.rb +13 -0
- data/test/fixtures/market_basket_results_test.txt +5 -0
- data/test/fixtures/market_basket_string_test.txt +7 -0
- data/test/fixtures/results.txt +2 -0
- data/test/fixtures/sample.txt +7 -0
- data/test/test_helper.rb +5 -0
- data/test/unit/test_apriori.rb +68 -0
- data/test/unit/test_itemsets_and_parsing.rb +82 -0
- data/website/index.html +251 -0
- data/website/index.txt +154 -0
- data/website/javascripts/rounded_corners_lite.inc.js +285 -0
- data/website/stylesheets/screen.css +142 -0
- data/website/template.html.erb +49 -0
- metadata +267 -0
@@ -0,0 +1,49 @@
|
|
1
|
+
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
|
2
|
+
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
3
|
+
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
4
|
+
<head>
|
5
|
+
<link rel="stylesheet" href="stylesheets/screen.css" type="text/css" media="screen" />
|
6
|
+
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
7
|
+
<title>
|
8
|
+
<%= title %>
|
9
|
+
</title>
|
10
|
+
<script src="javascripts/rounded_corners_lite.inc.js" type="text/javascript"></script>
|
11
|
+
<style>
|
12
|
+
|
13
|
+
</style>
|
14
|
+
<script type="text/javascript">
|
15
|
+
window.onload = function() {
|
16
|
+
settings = {
|
17
|
+
tl: { radius: 10 },
|
18
|
+
tr: { radius: 10 },
|
19
|
+
bl: { radius: 10 },
|
20
|
+
br: { radius: 10 },
|
21
|
+
antiAlias: true,
|
22
|
+
autoPad: true,
|
23
|
+
validTags: ["div"]
|
24
|
+
}
|
25
|
+
var versionBox = new curvyCorners(settings, document.getElementById("version"));
|
26
|
+
versionBox.applyCornersToAll();
|
27
|
+
}
|
28
|
+
</script>
|
29
|
+
</head>
|
30
|
+
<body>
|
31
|
+
<div id="main">
|
32
|
+
|
33
|
+
<h1><%= title %></h1>
|
34
|
+
<div id="version" class="clickable" onclick='document.location = "<%= download %>"; return false'>
|
35
|
+
<p>Get Version</p>
|
36
|
+
<a href="<%= download %>" class="numbers"><%= version %></a>
|
37
|
+
<img src="images/2118201782_4e87521dc9_m.jpg" />
|
38
|
+
</div>
|
39
|
+
<%= body %>
|
40
|
+
<p class="coda">
|
41
|
+
<a href="nate@natemurray.com">Nate Murray</a>, <%= modified.pretty %><br>
|
42
|
+
Theme extended from <a href="http://rb2js.rubyforge.org/">Paul Battley</a>
|
43
|
+
</p>
|
44
|
+
</div>
|
45
|
+
|
46
|
+
<!-- insert site tracking codes here, like Google Urchin -->
|
47
|
+
|
48
|
+
</body>
|
49
|
+
</html>
|
metadata
ADDED
@@ -0,0 +1,267 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: apriori-rails
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
hash: 79
|
5
|
+
prerelease:
|
6
|
+
segments:
|
7
|
+
- 0
|
8
|
+
- 2
|
9
|
+
- 4
|
10
|
+
- 0
|
11
|
+
version: 0.2.4.0
|
12
|
+
platform: ruby
|
13
|
+
authors:
|
14
|
+
- Nate Murray
|
15
|
+
- Bernard Banta
|
16
|
+
autorequire:
|
17
|
+
bindir: bin
|
18
|
+
cert_chain: []
|
19
|
+
|
20
|
+
date: 2013-04-19 00:00:00 Z
|
21
|
+
dependencies:
|
22
|
+
- !ruby/object:Gem::Dependency
|
23
|
+
name: rake
|
24
|
+
prerelease: false
|
25
|
+
requirement: &id001 !ruby/object:Gem::Requirement
|
26
|
+
none: false
|
27
|
+
requirements:
|
28
|
+
- - ">="
|
29
|
+
- !ruby/object:Gem::Version
|
30
|
+
hash: 11
|
31
|
+
segments:
|
32
|
+
- 0
|
33
|
+
- 9
|
34
|
+
- 2
|
35
|
+
- 2
|
36
|
+
version: 0.9.2.2
|
37
|
+
type: :runtime
|
38
|
+
version_requirements: *id001
|
39
|
+
- !ruby/object:Gem::Dependency
|
40
|
+
name: newgem
|
41
|
+
prerelease: false
|
42
|
+
requirement: &id002 !ruby/object:Gem::Requirement
|
43
|
+
none: false
|
44
|
+
requirements:
|
45
|
+
- - ">="
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
hash: 5
|
48
|
+
segments:
|
49
|
+
- 1
|
50
|
+
- 5
|
51
|
+
- 3
|
52
|
+
version: 1.5.3
|
53
|
+
type: :runtime
|
54
|
+
version_requirements: *id002
|
55
|
+
- !ruby/object:Gem::Dependency
|
56
|
+
name: rubigen
|
57
|
+
prerelease: false
|
58
|
+
requirement: &id003 !ruby/object:Gem::Requirement
|
59
|
+
none: false
|
60
|
+
requirements:
|
61
|
+
- - ">="
|
62
|
+
- !ruby/object:Gem::Version
|
63
|
+
hash: 19
|
64
|
+
segments:
|
65
|
+
- 1
|
66
|
+
- 5
|
67
|
+
- 8
|
68
|
+
version: 1.5.8
|
69
|
+
type: :runtime
|
70
|
+
version_requirements: *id003
|
71
|
+
- !ruby/object:Gem::Dependency
|
72
|
+
name: hoe
|
73
|
+
prerelease: false
|
74
|
+
requirement: &id004 !ruby/object:Gem::Requirement
|
75
|
+
none: false
|
76
|
+
requirements:
|
77
|
+
- - ">="
|
78
|
+
- !ruby/object:Gem::Version
|
79
|
+
hash: 31
|
80
|
+
segments:
|
81
|
+
- 3
|
82
|
+
- 6
|
83
|
+
- 0
|
84
|
+
version: 3.6.0
|
85
|
+
type: :development
|
86
|
+
version_requirements: *id004
|
87
|
+
description: Ruby Apriori is a library to efficiently find item association rules within large sets of transactions. This gem currently works efficiently with ruby 1.8.7.
|
88
|
+
email:
|
89
|
+
- nate@natemurray.com
|
90
|
+
- banta.bernard@gmail
|
91
|
+
executables: []
|
92
|
+
|
93
|
+
extensions:
|
94
|
+
- Rakefile
|
95
|
+
extra_rdoc_files:
|
96
|
+
- History.txt
|
97
|
+
- License.txt
|
98
|
+
- Manifest.txt
|
99
|
+
- README.txt
|
100
|
+
- TODO.txt
|
101
|
+
- website/index.txt
|
102
|
+
- test/fixtures/market_basket_results_test.txt
|
103
|
+
- test/fixtures/market_basket_string_test.txt
|
104
|
+
- test/fixtures/results.txt
|
105
|
+
- test/fixtures/sample.txt
|
106
|
+
files:
|
107
|
+
- History.txt
|
108
|
+
- License.txt
|
109
|
+
- Manifest.txt
|
110
|
+
- README.txt
|
111
|
+
- Rakefile
|
112
|
+
- TODO.txt
|
113
|
+
- attic/c_ext_test1/MyTest/MyTest.c
|
114
|
+
- attic/c_ext_test1/MyTest/extconf.rb
|
115
|
+
- attic/c_ext_test1/mytest.rb
|
116
|
+
- attic/test.c
|
117
|
+
- config/hoe.rb
|
118
|
+
- config/requirements.rb
|
119
|
+
- examples/01_simple_example.rb
|
120
|
+
- examples/02_small_file_example.rb
|
121
|
+
- examples/03_large_file_example.rb
|
122
|
+
- examples/test_data/market_basket_basic_test.dat
|
123
|
+
- ext/Apriori.c
|
124
|
+
- ext/Makefile
|
125
|
+
- ext/apriori/doc/apriori.html
|
126
|
+
- ext/apriori/doc/arem.gp
|
127
|
+
- ext/apriori/doc/c_rev.gp
|
128
|
+
- ext/apriori/doc/chi2.tex
|
129
|
+
- ext/apriori/doc/copying
|
130
|
+
- ext/apriori/doc/line.gif
|
131
|
+
- ext/apriori/doc/uparrow.gif
|
132
|
+
- ext/apriori/ex/flg2set
|
133
|
+
- ext/apriori/ex/hdr2set
|
134
|
+
- ext/apriori/ex/readme
|
135
|
+
- ext/apriori/ex/row2set
|
136
|
+
- ext/apriori/ex/rulesort
|
137
|
+
- ext/apriori/ex/tab2set
|
138
|
+
- ext/apriori/ex/test.app
|
139
|
+
- ext/apriori/ex/test.rul
|
140
|
+
- ext/apriori/ex/test1.rul
|
141
|
+
- ext/apriori/ex/test1.tab
|
142
|
+
- ext/apriori/ex/test2.tab
|
143
|
+
- ext/apriori/ex/test3.tab
|
144
|
+
- ext/apriori/ex/test4.tab
|
145
|
+
- ext/apriori/ex/test5.tab
|
146
|
+
- ext/apriori/ex/tid2set
|
147
|
+
- ext/apriori/ex/xhdr2set
|
148
|
+
- ext/apriori/src/apriori.c
|
149
|
+
- ext/apriori/src/apriori.dsp
|
150
|
+
- ext/apriori/src/apriori.dsw
|
151
|
+
- ext/apriori/src/apriori.mak
|
152
|
+
- ext/apriori/src/istree.c
|
153
|
+
- ext/apriori/src/istree.h
|
154
|
+
- ext/apriori/src/makefile
|
155
|
+
- ext/apriori/src/tract.c
|
156
|
+
- ext/apriori/src/tract.h
|
157
|
+
- ext/apriori_wrapper.c
|
158
|
+
- ext/apriori_wrapper.h
|
159
|
+
- ext/extconf.rb
|
160
|
+
- ext/math/doc/copying
|
161
|
+
- ext/math/src/chi2.c
|
162
|
+
- ext/math/src/chi2.h
|
163
|
+
- ext/math/src/choose.c
|
164
|
+
- ext/math/src/choose.h
|
165
|
+
- ext/math/src/gamma.c
|
166
|
+
- ext/math/src/gamma.h
|
167
|
+
- ext/math/src/intexp.c
|
168
|
+
- ext/math/src/intexp.h
|
169
|
+
- ext/math/src/makefile
|
170
|
+
- ext/math/src/math.mak
|
171
|
+
- ext/math/src/normal.c
|
172
|
+
- ext/math/src/normal.h
|
173
|
+
- ext/math/src/radfn.c
|
174
|
+
- ext/math/src/radfn.h
|
175
|
+
- ext/math/src/zeta.c
|
176
|
+
- ext/math/src/zeta.h
|
177
|
+
- ext/pre-clean.rb
|
178
|
+
- ext/pre-setup.rb
|
179
|
+
- ext/util/doc/copying
|
180
|
+
- ext/util/src/listops.c
|
181
|
+
- ext/util/src/listops.h
|
182
|
+
- ext/util/src/makefile
|
183
|
+
- ext/util/src/memsys.c
|
184
|
+
- ext/util/src/memsys.h
|
185
|
+
- ext/util/src/nstats.c
|
186
|
+
- ext/util/src/nstats.h
|
187
|
+
- ext/util/src/params.c
|
188
|
+
- ext/util/src/params.h
|
189
|
+
- ext/util/src/parse.c
|
190
|
+
- ext/util/src/parse.h
|
191
|
+
- ext/util/src/scan.c
|
192
|
+
- ext/util/src/scan.h
|
193
|
+
- ext/util/src/symtab.c
|
194
|
+
- ext/util/src/symtab.h
|
195
|
+
- ext/util/src/tabscan.c
|
196
|
+
- ext/util/src/tabscan.h
|
197
|
+
- ext/util/src/util.mak
|
198
|
+
- ext/util/src/vecops.c
|
199
|
+
- ext/util/src/vecops.h
|
200
|
+
- lib/apriori.rb
|
201
|
+
- lib/apriori/adapter.rb
|
202
|
+
- lib/apriori/association_rule.rb
|
203
|
+
- lib/apriori/version.rb
|
204
|
+
- script/console
|
205
|
+
- script/destroy
|
206
|
+
- script/generate
|
207
|
+
- script/txt2html
|
208
|
+
- setup.rb
|
209
|
+
- tasks/apriori.rake
|
210
|
+
- tasks/attic.rake
|
211
|
+
- tasks/deployment.rake
|
212
|
+
- tasks/environment.rake
|
213
|
+
- tasks/website.rake
|
214
|
+
- tasks/install.rake
|
215
|
+
- test/apriori_test.rb
|
216
|
+
- test/fixtures/market_basket_results_test.txt
|
217
|
+
- test/fixtures/market_basket_string_test.txt
|
218
|
+
- test/fixtures/results.txt
|
219
|
+
- test/fixtures/sample.txt
|
220
|
+
- test/test_helper.rb
|
221
|
+
- test/unit/test_apriori.rb
|
222
|
+
- test/unit/test_itemsets_and_parsing.rb
|
223
|
+
- website/index.html
|
224
|
+
- website/index.txt
|
225
|
+
- website/javascripts/rounded_corners_lite.inc.js
|
226
|
+
- website/stylesheets/screen.css
|
227
|
+
- website/template.html.erb
|
228
|
+
homepage: http://apriori.rubyforge.org
|
229
|
+
licenses: []
|
230
|
+
|
231
|
+
post_install_message: ""
|
232
|
+
rdoc_options:
|
233
|
+
- --main
|
234
|
+
- README.txt
|
235
|
+
require_paths:
|
236
|
+
- lib
|
237
|
+
- ext
|
238
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
239
|
+
none: false
|
240
|
+
requirements:
|
241
|
+
- - ">="
|
242
|
+
- !ruby/object:Gem::Version
|
243
|
+
hash: 3
|
244
|
+
segments:
|
245
|
+
- 0
|
246
|
+
version: "0"
|
247
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
248
|
+
none: false
|
249
|
+
requirements:
|
250
|
+
- - ">="
|
251
|
+
- !ruby/object:Gem::Version
|
252
|
+
hash: 3
|
253
|
+
segments:
|
254
|
+
- 0
|
255
|
+
version: "0"
|
256
|
+
requirements: []
|
257
|
+
|
258
|
+
rubyforge_project: apriori
|
259
|
+
rubygems_version: 1.8.24
|
260
|
+
signing_key:
|
261
|
+
specification_version: 2
|
262
|
+
summary: Ruby Apriori is a library to efficiently find item association rules within large sets of transactions.
|
263
|
+
test_files:
|
264
|
+
- test/unit/test_apriori.rb
|
265
|
+
- test/unit/test_itemsets_and_parsing.rb
|
266
|
+
- test/test_helper.rb
|
267
|
+
has_rdoc: true
|