fBayes 0.2.2 → 0.3.0
Sign up to get free protection for your applications and to get access to all the features.
- data/.DS_Store +0 -0
- data/README.rdoc +6 -3
- data/VERSION +1 -1
- data/fBayes.gemspec +17 -2
- data/lib/.DS_Store +0 -0
- data/lib/data/.DS_Store +0 -0
- data/lib/data/internalTurnk/.DS_Store +0 -0
- data/lib/data/internalTurnk/classifier.rb +55 -0
- data/lib/data/internalTurnk/csv_to_data.rb +10 -0
- data/lib/data/internalTurnk/data/Beverages +366 -0
- data/lib/data/internalTurnk/data/Cereal +46 -0
- data/lib/data/internalTurnk/data/Dairy +69 -0
- data/lib/data/internalTurnk/data/Fast-foods +29 -0
- data/lib/data/internalTurnk/data/Fat, +53 -0
- data/lib/data/internalTurnk/data/Fruits +47 -0
- data/lib/data/internalTurnk/data/Grains +85 -0
- data/lib/data/internalTurnk/data/Meat +132 -0
- data/lib/data/internalTurnk/data/Unknown +127 -0
- data/lib/data/internalTurnk/data/Vegetables +310 -0
- data/lib/data/internalTurnk/results.csv +1703 -0
- data/lib/data/sr24/.DS_Store +0 -0
- data/lib/data/sr24/classifier.rb +35 -15
- data/lib/data/sr24/csv_to_muchidata.rb +8 -0
- data/lib/data/sr24/data/baby-foods +192 -192
- data/lib/data/sr24/data/baked-products +350 -350
- data/lib/data/sr24/data/beef-products +137 -131
- data/lib/data/sr24/data/beverages +182 -177
- data/lib/data/sr24/data/breakfast-cereals +304 -304
- data/lib/data/sr24/data/cereal-grains-and-pasta +101 -101
- data/lib/data/sr24/data/dairy-and-egg-products +178 -178
- data/lib/data/sr24/data/ethnic-foods +97 -97
- data/lib/data/sr24/data/fast-foods +208 -190
- data/lib/data/sr24/data/fats-and-oils +146 -146
- data/lib/data/sr24/data/finfish-and-shellfish-products +123 -123
- data/lib/data/sr24/data/fruits-and-fruit-juices +198 -198
- data/lib/data/sr24/data/lamb +73 -73
- data/lib/data/sr24/data/legumes-and-legume-products +231 -231
- data/lib/data/sr24/data/meals +48 -48
- data/lib/data/sr24/data/nut-and-seed-products +104 -104
- data/lib/data/sr24/data/pork-products +37 -37
- data/lib/data/sr24/data/poultry-products +134 -134
- data/lib/data/sr24/data/restaurant-foods +45 -45
- data/lib/data/sr24/data/sausages-and-luncheon-meats +140 -140
- data/lib/data/sr24/data/snacks +108 -108
- data/lib/data/sr24/data/soups +420 -420
- data/lib/data/sr24/data/spices-and-herbs +29 -29
- data/lib/data/sr24/data/sweets +225 -225
- data/lib/data/sr24/data/vegetables-and-vegetable-products +331 -321
- data/lib/fBayes.rb +6 -2
- data/lib/global_classifier.rb +2 -0
- data/spec/accuracy_spec.rb +141 -0
- metadata +18 -3
data/lib/data/sr24/data/lamb
CHANGED
@@ -85,32 +85,32 @@ Lamb New Zealand imported frozen
|
|
85
85
|
Lamb New Zealand imported frozen
|
86
86
|
Lamb New Zealand imported frozen
|
87
87
|
Lamb New Zealand imported frozen
|
88
|
-
Veal composite of trimmed retail cuts separable lean and fat raw
|
89
|
-
Veal composite of trimmed retail cuts separable lean and fat cooked
|
90
|
-
Veal composite of trimmed retail cuts separable lean only raw
|
91
|
-
Veal composite of trimmed retail cuts separable lean only cooked
|
92
|
-
Veal composite of trimmed retail cuts separable fat raw
|
93
|
-
Veal composite of trimmed retail cuts separable fat cooked
|
94
|
-
Veal leg (top round) separable lean and fat raw
|
88
|
+
Veal composite of trimmed retail cuts separable lean and fat raw VEAL
|
89
|
+
Veal composite of trimmed retail cuts separable lean and fat cooked VEAL
|
90
|
+
Veal composite of trimmed retail cuts separable lean only raw VEAL
|
91
|
+
Veal composite of trimmed retail cuts separable lean only cooked VEAL
|
92
|
+
Veal composite of trimmed retail cuts separable fat raw VEAL
|
93
|
+
Veal composite of trimmed retail cuts separable fat cooked VEAL
|
94
|
+
Veal leg (top round) separable lean and fat raw VEAL
|
95
95
|
Veal leg (top round) separable lean and fat cooked
|
96
96
|
Veal leg (top round) separable lean and fat cooked
|
97
97
|
Veal leg (top round) separable lean and fat cooked
|
98
98
|
Veal leg (top round) separable lean and fat cooked
|
99
|
-
Veal leg (top round) separable lean only raw
|
99
|
+
Veal leg (top round) separable lean only raw VEAL
|
100
100
|
Veal leg (top round) separable lean only cooked
|
101
101
|
Veal leg (top round) separable lean only cooked
|
102
102
|
Veal leg (top round) separable lean only cooked
|
103
103
|
Veal leg (top round) separable lean only cooked
|
104
|
-
Veal loin separable lean and fat raw
|
104
|
+
Veal loin separable lean and fat raw VEAL
|
105
105
|
Veal loin separable lean and fat cooked
|
106
106
|
Veal loin separable lean and fat cooked
|
107
|
-
Veal loin separable lean only raw
|
107
|
+
Veal loin separable lean only raw VEAL
|
108
108
|
Veal loin separable lean only cooked
|
109
109
|
Veal loin separable lean only cooked
|
110
|
-
Veal rib separable lean and fat raw
|
110
|
+
Veal rib separable lean and fat raw VEAL
|
111
111
|
Veal rib separable lean and fat cooked
|
112
112
|
Veal rib separable lean and fat cooked
|
113
|
-
Veal rib separable lean only raw
|
113
|
+
Veal rib separable lean only raw VEAL
|
114
114
|
Veal rib separable lean only cooked
|
115
115
|
Veal rib separable lean only cooked
|
116
116
|
Veal shoulder whole (arm and blade) separable lean and fat
|
@@ -131,96 +131,96 @@ Veal shoulder blade separable lean and fat
|
|
131
131
|
Veal shoulder blade separable lean only
|
132
132
|
Veal shoulder blade separable lean only
|
133
133
|
Veal shoulder blade separable lean only
|
134
|
-
Veal sirloin separable lean and fat raw
|
134
|
+
Veal sirloin separable lean and fat raw VEAL
|
135
135
|
Veal sirloin separable lean and fat cooked
|
136
136
|
Veal sirloin separable lean and fat cooked
|
137
|
-
Veal sirloin separable lean only raw
|
137
|
+
Veal sirloin separable lean only raw VEAL
|
138
138
|
Veal sirloin separable lean only cooked
|
139
139
|
Veal sirloin separable lean only cooked
|
140
|
-
Veal cubed for stew (leg and shoulder) separable lean only raw
|
140
|
+
Veal cubed for stew (leg and shoulder) separable lean only raw VEAL
|
141
141
|
Veal cubed for stew (leg and shoulder) separable lean only cooked
|
142
|
-
Veal ground raw
|
143
|
-
Veal ground cooked broiled
|
144
|
-
Game meat antelope raw
|
145
|
-
Game meat antelope cooked roasted
|
146
|
-
Game meat bear raw
|
147
|
-
Game meat bear cooked simmered
|
148
|
-
Bison ground grass-fed cooked
|
149
|
-
Bison ground grass-fed raw
|
150
|
-
Game meat beaver raw
|
151
|
-
Game meat beaver cooked roasted
|
152
|
-
Game meat beefalo composite of cuts raw
|
142
|
+
Veal ground raw VEALGROUND
|
143
|
+
Veal ground cooked broiled VEAL
|
144
|
+
Game meat antelope raw GAME MEATANTELOPE
|
145
|
+
Game meat antelope cooked roasted GAME MEAT
|
146
|
+
Game meat bear raw GAME MEATBEAR
|
147
|
+
Game meat bear cooked simmered GAME MEAT
|
148
|
+
Bison ground grass-fed cooked BISON
|
149
|
+
Bison ground grass-fed raw BISON
|
150
|
+
Game meat beaver raw GAME MEATBEAVER
|
151
|
+
Game meat beaver cooked roasted GAME MEAT
|
152
|
+
Game meat beefalo composite of cuts raw GAME MEAT
|
153
153
|
Game meat beefalo composite of cuts cooked
|
154
|
-
Game meat bison separable lean only raw
|
154
|
+
Game meat bison separable lean only raw GAME MEAT
|
155
155
|
Game meat bison separable lean only cooked
|
156
|
-
Game meat boar wild raw
|
156
|
+
Game meat boar wild raw GAME MEAT
|
157
157
|
Game meat boar wild cooked
|
158
|
-
Game meat buffalo water raw
|
158
|
+
Game meat buffalo water raw GAME MEAT
|
159
159
|
Game meat buffalo water cooked
|
160
|
-
Game meat caribou raw
|
161
|
-
Game meat caribou cooked roasted
|
162
|
-
Game meat deer raw
|
163
|
-
Game meat deer cooked roasted
|
164
|
-
Game meat elk raw
|
165
|
-
Game meat elk cooked roasted
|
160
|
+
Game meat caribou raw GAME MEATCARIBOU
|
161
|
+
Game meat caribou cooked roasted GAME MEAT
|
162
|
+
Game meat deer raw GAME MEATDEER
|
163
|
+
Game meat deer cooked roasted GAME MEAT
|
164
|
+
Game meat elk raw GAME MEATELK
|
165
|
+
Game meat elk cooked roasted GAME MEAT
|
166
166
|
Goat
|
167
|
-
Game meat goat cooked roasted
|
168
|
-
Game meat horse raw
|
169
|
-
Game meat horse cooked roasted
|
170
|
-
Game meat moose raw
|
171
|
-
Game meat moose cooked roasted
|
172
|
-
Game meat muskrat raw
|
173
|
-
Game meat muskrat cooked roasted
|
174
|
-
Game meat opossum cooked roasted
|
167
|
+
Game meat goat cooked roasted GAME MEAT
|
168
|
+
Game meat horse raw GAME MEATHORSE
|
169
|
+
Game meat horse cooked roasted GAME MEAT
|
170
|
+
Game meat moose raw GAME MEATMOOSE
|
171
|
+
Game meat moose cooked roasted GAME MEAT
|
172
|
+
Game meat muskrat raw GAME MEATMUSKRAT
|
173
|
+
Game meat muskrat cooked roasted GAME MEAT
|
174
|
+
Game meat opossum cooked roasted GAME MEAT
|
175
175
|
Game meat rabbit domesticated composite of cuts
|
176
176
|
Game meat rabbit domesticated composite of cuts
|
177
177
|
Game meat rabbit domesticated composite of cuts
|
178
|
-
Game meat rabbit wild raw
|
178
|
+
Game meat rabbit wild raw GAME MEAT
|
179
179
|
Game meat rabbit wild cooked
|
180
|
-
Game meat raccoon cooked roasted
|
181
|
-
Game meat squirrel raw
|
182
|
-
Game meat squirrel cooked roasted
|
183
|
-
Lamb variety meats and by-products brain raw
|
180
|
+
Game meat raccoon cooked roasted GAME MEAT
|
181
|
+
Game meat squirrel raw GAME MEATSQUIRREL
|
182
|
+
Game meat squirrel cooked roasted GAME MEAT
|
183
|
+
Lamb variety meats and by-products brain raw LAMB
|
184
184
|
Lamb variety meats and by-products brain cooked
|
185
185
|
Lamb variety meats and by-products brain cooked
|
186
|
-
Veal variety meats and by-products brain raw
|
186
|
+
Veal variety meats and by-products brain raw VEAL
|
187
187
|
Veal variety meats and by-products brain cooked
|
188
188
|
Veal variety meats and by-products brain cooked
|
189
|
-
Lamb variety meats and by-products heart raw
|
189
|
+
Lamb variety meats and by-products heart raw LAMB
|
190
190
|
Lamb variety meats and by-products heart cooked
|
191
|
-
Veal variety meats and by-products heart raw
|
191
|
+
Veal variety meats and by-products heart raw VEAL
|
192
192
|
Veal variety meats and by-products heart cooked
|
193
|
-
Lamb variety meats and by-products kidneys raw
|
193
|
+
Lamb variety meats and by-products kidneys raw LAMB
|
194
194
|
Lamb variety meats and by-products kidneys cooked
|
195
|
-
Veal variety meats and by-products kidneys raw
|
195
|
+
Veal variety meats and by-products kidneys raw VEAL
|
196
196
|
Veal variety meats and by-products kidneys cooked
|
197
|
-
Lamb variety meats and by-products liver raw
|
197
|
+
Lamb variety meats and by-products liver raw LAMB
|
198
198
|
Lamb variety meats and by-products liver cooked
|
199
199
|
Lamb variety meats and by-products liver cooked
|
200
|
-
Veal variety meats and by-products liver raw
|
200
|
+
Veal variety meats and by-products liver raw VEAL
|
201
201
|
Veal variety meats and by-products liver cooked
|
202
202
|
Veal variety meats and by-products liver cooked
|
203
|
-
Lamb variety meats and by-products lungs raw
|
203
|
+
Lamb variety meats and by-products lungs raw LAMB
|
204
204
|
Lamb variety meats and by-products lungs cooked
|
205
|
-
Veal variety meats and by-products lungs raw
|
205
|
+
Veal variety meats and by-products lungs raw VEAL
|
206
206
|
Veal variety meats and by-products lungs cooked
|
207
|
-
Lamb variety meats and by-products mechanically separated raw
|
208
|
-
Lamb variety meats and by-products pancreas raw
|
207
|
+
Lamb variety meats and by-products mechanically separated raw LAMB
|
208
|
+
Lamb variety meats and by-products pancreas raw LAMB
|
209
209
|
Lamb variety meats and by-products pancreas cooked
|
210
|
-
Veal variety meats and by-products pancreas raw
|
210
|
+
Veal variety meats and by-products pancreas raw VEAL
|
211
211
|
Veal variety meats and by-products pancreas cooked
|
212
|
-
Lamb variety meats and by-products spleen raw
|
212
|
+
Lamb variety meats and by-products spleen raw LAMB
|
213
213
|
Lamb variety meats and by-products spleen cooked
|
214
|
-
Veal variety meats and by-products spleen raw
|
214
|
+
Veal variety meats and by-products spleen raw VEAL
|
215
215
|
Veal variety meats and by-products spleen cooked
|
216
|
-
Veal variety meats and by-products thymus raw
|
216
|
+
Veal variety meats and by-products thymus raw VEAL
|
217
217
|
Veal variety meats and by-products thymus cooked
|
218
|
-
Lamb variety meats and by-products tongue raw
|
218
|
+
Lamb variety meats and by-products tongue raw LAMB
|
219
219
|
Lamb variety meats and by-products tongue cooked
|
220
|
-
Veal variety meats and by-products tongue raw
|
220
|
+
Veal variety meats and by-products tongue raw VEAL
|
221
221
|
Veal variety meats and by-products tongue cooked
|
222
|
-
Lamb ground raw
|
223
|
-
Lamb ground cooked broiled
|
222
|
+
Lamb ground raw LAMBGROUND
|
223
|
+
Lamb ground cooked broiled LAMB
|
224
224
|
Lamb domestic composite of trimmed retail cuts separable lean and fat
|
225
225
|
Lamb domestic composite of trimmed retail cuts separable lean and fat
|
226
226
|
Lamb domestic foreshank separable lean and fat
|
@@ -264,15 +264,15 @@ Lamb new zealand imported frozen
|
|
264
264
|
Game meat bison top sirloin separable lean only
|
265
265
|
Game meat bison ribeye separable lean only
|
266
266
|
Game meat bison shoulder clod separable lean only
|
267
|
-
Veal breast separable fat cooked
|
267
|
+
Veal breast separable fat cooked VEAL
|
268
268
|
Veal breast whole boneless
|
269
269
|
Veal breast whole boneless
|
270
270
|
Veal breast plate half boneless
|
271
271
|
Veal breast point half boneless
|
272
272
|
Veal breast whole boneless
|
273
|
-
Veal shank (fore and hind) separable lean and fat raw
|
273
|
+
Veal shank (fore and hind) separable lean and fat raw VEAL
|
274
274
|
Veal shank (fore and hind) separable lean and fat cooked
|
275
|
-
Veal shank (fore and hind) separable lean only raw
|
275
|
+
Veal shank (fore and hind) separable lean only raw VEAL
|
276
276
|
Veal shank (fore and hind) separable lean only cooked
|
277
277
|
Lamb Australian imported fresh
|
278
278
|
Lamb Australian imported fresh
|
@@ -324,7 +324,7 @@ Lamb Australian imported fresh
|
|
324
324
|
Lamb Australian imported fresh
|
325
325
|
Lamb Australian imported fresh
|
326
326
|
Lamb Australian imported fresh
|
327
|
-
Game meat bison ground raw
|
327
|
+
Game meat bison ground raw GAME MEAT BISON
|
328
328
|
Game meat bison ground cooked
|
329
329
|
Game meat bison top sirloin separable lean only
|
330
330
|
Game meat bison chuck shoulder clod
|
@@ -332,12 +332,12 @@ Game meat bison chuck shoulder clod
|
|
332
332
|
Game meat bison ribeye separable lean only
|
333
333
|
Game meat bison top round separable lean only
|
334
334
|
Game meat bison top round separable lean only
|
335
|
-
Game meat elk ground raw
|
335
|
+
Game meat elk ground raw GAME MEAT
|
336
336
|
Game meat elk ground cooked
|
337
337
|
Game meat elk loin separable lean only
|
338
338
|
Game meat elk round separable lean only
|
339
339
|
Game meat elk tenderloin separable lean only
|
340
|
-
Game meat deer ground raw
|
340
|
+
Game meat deer ground raw GAME MEAT
|
341
341
|
Game meat deer ground cooked
|
342
342
|
Game meat deer loin separable lean only
|
343
343
|
Game meat deer shoulder clod separable lean only
|