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
@@ -1,117 +1,117 @@
|
|
1
|
-
Fish anchovy european raw
|
1
|
+
Fish anchovy european raw ANCHOVY
|
2
2
|
Fish anchovy european canned in oil
|
3
3
|
Fish bass fresh water mixed species
|
4
|
-
Fish bass striped raw
|
5
|
-
Fish bluefish raw
|
6
|
-
Fish burbot raw
|
7
|
-
Fish butterfish raw
|
8
|
-
Fish carp raw
|
9
|
-
Fish carp cooked dry heat
|
4
|
+
Fish bass striped raw BASS
|
5
|
+
Fish bluefish raw BLUEFISHRAW Pomatomus saltatrix (L)
|
6
|
+
Fish burbot raw BURBOTRAW Lota lota (L)
|
7
|
+
Fish butterfish raw BUTTERFISHRAW Peprilus triacanthus (Peck)
|
8
|
+
Fish carp raw CARPRAW Y Cyprinus carpio (L)
|
9
|
+
Fish carp cooked dry heat CARP
|
10
10
|
Fish catfish channel wild
|
11
11
|
Fish catfish channel cooked
|
12
|
-
Fish caviar black and red granular
|
13
|
-
Fish cisco raw
|
14
|
-
Fish cisco smoked
|
15
|
-
Fish cod Atlantic raw
|
12
|
+
Fish caviar black and red granular CAVIAR
|
13
|
+
Fish cisco raw CISCORAW Coregonus artedi Lesueur
|
14
|
+
Fish cisco smoked CISCOSMOKED Y
|
15
|
+
Fish cod Atlantic raw COD
|
16
16
|
Fish cod Atlantic cooked
|
17
17
|
Fish cod Atlantic canned
|
18
|
-
Fish cod Atlantic dried and salted
|
19
|
-
Fish cod Pacific raw
|
20
|
-
Fish croaker Atlantic raw
|
18
|
+
Fish cod Atlantic dried and salted COD
|
19
|
+
Fish cod Pacific raw COD
|
20
|
+
Fish croaker Atlantic raw CROAKER
|
21
21
|
Fish croaker Atlantic cooked
|
22
|
-
Fish cusk raw
|
23
|
-
Fish dolphinfish raw
|
24
|
-
Fish drum freshwater raw
|
25
|
-
Fish eel mixed species raw
|
22
|
+
Fish cusk raw CUSKRAW Brosme brosme (Muller)
|
23
|
+
Fish dolphinfish raw DOLPHINFISHRAW Coryphaena hippurus (L)
|
24
|
+
Fish drum freshwater raw DRUM
|
25
|
+
Fish eel mixed species raw EEL
|
26
26
|
Fish eel mixed species cooked
|
27
|
-
Fish fish portions and sticks frozen preheated
|
28
|
-
Fish flatfish (flounder and sole species) raw
|
29
|
-
Fish flatfish (flounder and sole species) cooked dry heat
|
30
|
-
Fish gefiltefish commercial sweet recipe
|
31
|
-
Fish grouper mixed species raw
|
27
|
+
Fish fish portions and sticks frozen preheated FISH PORTIONS&STKS
|
28
|
+
Fish flatfish (flounder and sole species) raw FLATFISH (FLOUNDER&SOLE SP)RAW Y Bothidae and Pleuronectidae
|
29
|
+
Fish flatfish (flounder and sole species) cooked dry heat FLATFISH (FLOUNDER&SOLE SP)
|
30
|
+
Fish gefiltefish commercial sweet recipe GEFILTEFISH
|
31
|
+
Fish grouper mixed species raw GROUPER
|
32
32
|
Fish grouper mixed species cooked
|
33
|
-
Fish haddock raw
|
34
|
-
Fish haddock cooked dry heat
|
35
|
-
Fish haddock smoked
|
36
|
-
Fish halibut Atlantic and Pacific raw
|
33
|
+
Fish haddock raw HADDOCKRAW Y Melanogrammus aeglefinus (L)
|
34
|
+
Fish haddock cooked dry heat HADDOCK
|
35
|
+
Fish haddock smoked HADDOCKSMOKED Y
|
36
|
+
Fish halibut Atlantic and Pacific raw HALIBUT
|
37
37
|
Fish halibut Atlantic and Pacific cooked
|
38
|
-
Fish halibut Greenland raw
|
39
|
-
Fish herring Atlantic raw
|
38
|
+
Fish halibut Greenland raw HALIBUT
|
39
|
+
Fish herring Atlantic raw HERRING
|
40
40
|
Fish herring Atlantic cooked
|
41
|
-
Fish herring Atlantic pickled
|
42
|
-
Fish herring Atlantic kippered
|
43
|
-
Fish herring Pacific raw
|
44
|
-
Fish ling raw
|
45
|
-
Fish lingcod raw
|
46
|
-
Fish mackerel Atlantic raw
|
41
|
+
Fish herring Atlantic pickled HERRING
|
42
|
+
Fish herring Atlantic kippered HERRING
|
43
|
+
Fish herring Pacific raw HERRING
|
44
|
+
Fish ling raw LINGRAW Molva molva (L)
|
45
|
+
Fish lingcod raw LINGCODRAW Ophiodon elongatus Girard
|
46
|
+
Fish mackerel Atlantic raw MACKEREL
|
47
47
|
Fish mackerel Atlantic cooked
|
48
48
|
Fish mackerel jack canned
|
49
|
-
Fish mackerel king raw
|
49
|
+
Fish mackerel king raw MACKEREL
|
50
50
|
Fish mackerel Pacific and jack mixed species
|
51
|
-
Fish mackerel spanish raw
|
51
|
+
Fish mackerel spanish raw MACKEREL
|
52
52
|
Fish mackerel spanish cooked
|
53
|
-
Fish milkfish raw
|
54
|
-
Fish monkfish raw
|
55
|
-
Fish mullet striped raw
|
53
|
+
Fish milkfish raw MILKFISHRAW Chanos chanos (Forskaal)
|
54
|
+
Fish monkfish raw MONKFISHRAW Lophius piscatorius L
|
55
|
+
Fish mullet striped raw MULLET
|
56
56
|
Fish mullet striped cooked
|
57
|
-
Fish ocean perch Atlantic raw
|
57
|
+
Fish ocean perch Atlantic raw OCEAN PERCH
|
58
58
|
Fish ocean perch Atlantic cooked
|
59
|
-
Fish pout ocean raw
|
60
|
-
Fish perch mixed species raw
|
59
|
+
Fish pout ocean raw POUT
|
60
|
+
Fish perch mixed species raw PERCH
|
61
61
|
Fish perch mixed species cooked
|
62
|
-
Fish pike northern raw
|
62
|
+
Fish pike northern raw PIKE
|
63
63
|
Fish pike northern cooked
|
64
|
-
Fish pike walleye raw
|
65
|
-
Fish pollock Atlantic raw
|
66
|
-
Fish pollock walleye raw
|
64
|
+
Fish pike walleye raw PIKE
|
65
|
+
Fish pollock Atlantic raw POLLOCK
|
66
|
+
Fish pollock walleye raw POLLOCK
|
67
67
|
Fish pollock walleye cooked
|
68
|
-
Fish pompano florida raw
|
68
|
+
Fish pompano florida raw POMPANO
|
69
69
|
Fish pompano florida cooked
|
70
70
|
Fish rockfish Pacific mixed species
|
71
71
|
Fish rockfish Pacific mixed species
|
72
|
-
Fish roe mixed species raw
|
73
|
-
Fish roughy orange raw
|
74
|
-
Fish sablefish raw
|
75
|
-
Fish sablefish smoked
|
72
|
+
Fish roe mixed species raw ROE
|
73
|
+
Fish roughy orange raw ROUGHY
|
74
|
+
Fish sablefish raw SABLEFISHRAW Anoplopoma fimbria (Pallas)
|
75
|
+
Fish sablefish smoked SABLEFISHSMOKED
|
76
76
|
Fish salmon Atlantic wild
|
77
|
-
Fish salmon chinook smoked
|
78
|
-
Fish salmon chinook raw
|
79
|
-
Fish salmon chum raw
|
77
|
+
Fish salmon chinook smoked SALMON
|
78
|
+
Fish salmon chinook raw SALMON
|
79
|
+
Fish salmon chum raw SALMON
|
80
80
|
Fish salmon chum canned
|
81
81
|
Fish salmon coho wild
|
82
82
|
Fish salmon coho wild
|
83
|
-
Fish salmon pink raw
|
83
|
+
Fish salmon pink raw SALMON
|
84
84
|
Fish salmon pink canned
|
85
|
-
Fish salmon sockeye raw
|
85
|
+
Fish salmon sockeye raw SALMON
|
86
86
|
Fish salmon sockeye cooked
|
87
87
|
Fish salmon sockeye canned
|
88
88
|
Fish sardine Atlantic canned in oil
|
89
89
|
Fish sardine Pacific canned in tomato sauce
|
90
|
-
Fish scup raw
|
91
|
-
Fish sea bass mixed species raw
|
90
|
+
Fish scup raw SCUPRAW Y Stenotomus chrysops L
|
91
|
+
Fish sea bass mixed species raw SEA BASS
|
92
92
|
Fish sea bass mixed species cooked
|
93
|
-
Fish seatrout mixed species raw
|
94
|
-
Fish shad american raw
|
95
|
-
Fish shark mixed species raw
|
93
|
+
Fish seatrout mixed species raw SEATROUT
|
94
|
+
Fish shad american raw SHAD
|
95
|
+
Fish shark mixed species raw SHARK
|
96
96
|
Fish shark mixed species cooked
|
97
|
-
Fish sheepshead raw
|
98
|
-
Fish sheepshead cooked dry heat
|
99
|
-
Fish smelt rainbow raw
|
97
|
+
Fish sheepshead raw SHEEPSHEADRAW Archosargus probatocephalus (Walbaum)
|
98
|
+
Fish sheepshead cooked dry heat SHEEPSHEAD
|
99
|
+
Fish smelt rainbow raw SMELT
|
100
100
|
Fish smelt rainbow cooked
|
101
|
-
Fish snapper mixed species raw
|
101
|
+
Fish snapper mixed species raw SNAPPER
|
102
102
|
Fish snapper mixed species cooked
|
103
|
-
Fish spot raw
|
104
|
-
Fish sturgeon mixed species raw
|
103
|
+
Fish spot raw SPOTRAW Leiostomus xanthuras Lacepede
|
104
|
+
Fish sturgeon mixed species raw STURGEON
|
105
105
|
Fish sturgeon mixed species cooked
|
106
|
-
Fish sturgeon mixed species smoked
|
107
|
-
Fish sucker white raw
|
108
|
-
Fish sunfish pumpkin seed raw
|
106
|
+
Fish sturgeon mixed species smoked STURGEON
|
107
|
+
Fish sucker white raw SUCKER
|
108
|
+
Fish sunfish pumpkin seed raw SUNFISH
|
109
109
|
Fish
|
110
|
-
Fish swordfish raw
|
111
|
-
Fish swordfish cooked dry heat
|
112
|
-
Fish tilefish raw
|
113
|
-
Fish tilefish cooked dry heat
|
114
|
-
Fish trout mixed species raw
|
110
|
+
Fish swordfish raw SWORDFISHRAW Y Xiphias gladius L
|
111
|
+
Fish swordfish cooked dry heat SWORDFISH
|
112
|
+
Fish tilefish raw TILEFISHRAW Lopholatilus chamaeleonticeps Goode and Bean
|
113
|
+
Fish tilefish cooked dry heat TILEFISH
|
114
|
+
Fish trout mixed species raw TROUT
|
115
115
|
Fish trout rainbow wild
|
116
116
|
Fish trout rainbow wild
|
117
117
|
Fish tuna fresh bluefin
|
@@ -123,54 +123,54 @@ Fish tuna white canned in oil
|
|
123
123
|
Fish tuna white canned in water
|
124
124
|
Fish tuna fresh yellowfin
|
125
125
|
Fish
|
126
|
-
Fish turbot european raw
|
127
|
-
Fish whitefish mixed species raw
|
128
|
-
Fish whitefish mixed species smoked
|
129
|
-
Fish whiting mixed species raw
|
126
|
+
Fish turbot european raw TURBOT
|
127
|
+
Fish whitefish mixed species raw WHITEFISH
|
128
|
+
Fish whitefish mixed species smoked WHITEFISH
|
129
|
+
Fish whiting mixed species raw WHITING
|
130
130
|
Fish whiting mixed species cooked
|
131
|
-
Fish wolffish Atlantic raw
|
132
|
-
Fish yellowtail mixed species raw
|
133
|
-
Crustaceans crab alaska king raw
|
131
|
+
Fish wolffish Atlantic raw WOLFFISH
|
132
|
+
Fish yellowtail mixed species raw YELLOWTAIL
|
133
|
+
Crustaceans crab alaska king raw CRAB
|
134
134
|
Crustaceans crab alaska king cooked
|
135
135
|
Crustaceans crab alaska king imitation
|
136
|
-
Crustaceans crab blue raw
|
136
|
+
Crustaceans crab blue raw CRAB
|
137
137
|
Crustaceans crab blue cooked
|
138
|
-
Crustaceans crab blue canned
|
139
|
-
Crustaceans crab blue crab cakes
|
140
|
-
Crustaceans crab dungeness raw
|
141
|
-
Crustaceans crab queen raw
|
138
|
+
Crustaceans crab blue canned CRAB
|
139
|
+
Crustaceans crab blue crab cakes CRAB
|
140
|
+
Crustaceans crab dungeness raw CRAB
|
141
|
+
Crustaceans crab queen raw CRAB
|
142
142
|
Crustaceans crayfish mixed species wild
|
143
143
|
Crustaceans crayfish mixed species wild
|
144
|
-
Crustaceans lobster northern raw
|
144
|
+
Crustaceans lobster northern raw LOBSTER
|
145
145
|
Crustaceans lobster northern cooked
|
146
|
-
Crustaceans shrimp mixed species raw
|
146
|
+
Crustaceans shrimp mixed species raw SHRIMP
|
147
147
|
Crustaceans shrimp mixed species cooked
|
148
148
|
Crustaceans shrimp mixed species cooked
|
149
|
-
Crustaceans shrimp mixed species canned
|
149
|
+
Crustaceans shrimp mixed species canned SHRIMP
|
150
150
|
Crustaceans shrimp mixed species imitation
|
151
|
-
Crustaceans spiny lobster mixed species raw
|
152
|
-
Mollusks abalone mixed species raw
|
151
|
+
Crustaceans spiny lobster mixed species raw SPINY LOBSTER
|
152
|
+
Mollusks abalone mixed species raw ABALONE
|
153
153
|
Mollusks abalone mixed species cooked
|
154
|
-
Mollusks clam mixed species raw
|
154
|
+
Mollusks clam mixed species raw CLAM
|
155
155
|
Mollusks clam mixed species cooked
|
156
156
|
Mollusks clam mixed species cooked
|
157
157
|
Mollusks clam mixed species canned
|
158
158
|
Mollusks clam mixed species canned
|
159
|
-
Mollusks cuttlefish mixed species raw
|
160
|
-
Mollusks mussel blue raw
|
159
|
+
Mollusks cuttlefish mixed species raw CUTTLEFISH
|
160
|
+
Mollusks mussel blue raw MUSSEL
|
161
161
|
Mollusks mussel blue cooked
|
162
|
-
Mollusks octopus common raw
|
162
|
+
Mollusks octopus common raw OCTOPUS
|
163
163
|
Mollusks oyster eastern wild
|
164
164
|
Mollusks oyster eastern cooked
|
165
165
|
Mollusks oyster eastern wild
|
166
|
-
Mollusks oyster eastern canned
|
167
|
-
Mollusks oyster Pacific raw
|
168
|
-
Mollusks scallop mixed species raw
|
166
|
+
Mollusks oyster eastern canned OYSTER
|
167
|
+
Mollusks oyster Pacific raw OYSTER
|
168
|
+
Mollusks scallop mixed species raw SCALLOP
|
169
169
|
Mollusks scallop mixed species cooked
|
170
170
|
Mollusks scallop mixed species imitation
|
171
|
-
Mollusks squid mixed species raw
|
171
|
+
Mollusks squid mixed species raw SQUID
|
172
172
|
Mollusks squid mixed species cooked
|
173
|
-
Mollusks whelk unspecified raw
|
173
|
+
Mollusks whelk unspecified raw WHELK
|
174
174
|
Mollusks whelk unspecified cooked
|
175
175
|
Fish salmon chinook smoked
|
176
176
|
Fish salmon chum canned
|
@@ -182,34 +182,34 @@ Fish tuna white canned in oil
|
|
182
182
|
Fish tuna white canned in water
|
183
183
|
Fish bass freshwater mixed species
|
184
184
|
Fish bass striped cooked
|
185
|
-
Fish bluefish cooked dry heat
|
186
|
-
Fish burbot cooked dry heat
|
187
|
-
Fish butterfish cooked dry heat
|
185
|
+
Fish bluefish cooked dry heat BLUEFISH
|
186
|
+
Fish burbot cooked dry heat BURBOT
|
187
|
+
Fish butterfish cooked dry heat BUTTERFISH
|
188
188
|
Fish cod Pacific cooked
|
189
|
-
Fish cusk cooked dry heat
|
190
|
-
Fish dolphinfish cooked dry heat
|
189
|
+
Fish cusk cooked dry heat CUSK
|
190
|
+
Fish dolphinfish cooked dry heat DOLPHINFISH
|
191
191
|
Fish drum freshwater cooked
|
192
192
|
Fish halibut greenland cooked
|
193
193
|
Fish herring Pacific cooked
|
194
|
-
Fish ling cooked dry heat
|
195
|
-
Fish lingcod cooked dry heat
|
194
|
+
Fish ling cooked dry heat LING
|
195
|
+
Fish lingcod cooked dry heat LINGCOD
|
196
196
|
Fish mackerel king cooked
|
197
197
|
Fish mackerel Pacific and jack mixed species
|
198
|
-
Fish milkfish cooked dry heat
|
199
|
-
Fish monkfish cooked dry heat
|
198
|
+
Fish milkfish cooked dry heat MILKFISH
|
199
|
+
Fish monkfish cooked dry heat MONKFISH
|
200
200
|
Fish pike walleye cooked
|
201
201
|
Fish pollock Atlantic cooked
|
202
202
|
Fish pout ocean cooked
|
203
203
|
Fish roe mixed species cooked
|
204
|
-
Fish sablefish cooked dry heat
|
204
|
+
Fish sablefish cooked dry heat SABLEFISH
|
205
205
|
Fish salmon Atlantic wild
|
206
206
|
Fish salmon chinook cooked
|
207
207
|
Fish salmon chum cooked
|
208
208
|
Fish salmon pink cooked
|
209
|
-
Fish scup cooked dry heat
|
209
|
+
Fish scup cooked dry heat SCUP
|
210
210
|
Fish seatrout mixed species cooked
|
211
211
|
Fish shad american cooked
|
212
|
-
Fish spot cooked dry heat
|
212
|
+
Fish spot cooked dry heat SPOT
|
213
213
|
Fish sucker white cooked
|
214
214
|
Fish sunfish pumpkin seed cooked
|
215
215
|
Fish trout mixed species cooked
|
@@ -241,18 +241,18 @@ Mollusks oyster eastern wild
|
|
241
241
|
Mollusks oyster eastern farmed
|
242
242
|
Mollusks oyster eastern farmed
|
243
243
|
Fish salmon coho wild
|
244
|
-
Mollusks conch baked or broiled
|
244
|
+
Mollusks conch baked or broiled CONCHBAKED OR BROILED
|
245
245
|
USDA Commodity salmon nuggets breaded frozen
|
246
|
-
USDA Commodity salmon nuggets cooked as purchased unheated
|
247
|
-
Salmon sockeye canned total can contents
|
246
|
+
USDA Commodity salmon nuggets cooked as purchased unheated USDA COMMODITY
|
247
|
+
Salmon sockeye canned total can contents SALMON
|
248
248
|
Fish salmon pink canned
|
249
|
-
Fish tilapia raw
|
250
|
-
Fish tilapia cooked dry heat
|
249
|
+
Fish tilapia raw FISHTILAPIA
|
250
|
+
Fish tilapia cooked dry heat FISH
|
251
251
|
Salmon sockeye canned drained solids
|
252
252
|
Fish Salmon pink canned
|
253
|
-
Jellyfish dried salted
|
253
|
+
Jellyfish dried salted JELLYFISHDRIED
|
254
254
|
Frog legs
|
255
|
-
Fish mackerel salted
|
255
|
+
Fish mackerel salted MACKERELSALTED
|
256
256
|
Mollusks scallop (bay and sea) cooked
|
257
|
-
Mollusks snail raw
|
258
|
-
Turtle green raw
|
257
|
+
Mollusks snail raw SNAILRAW Y
|
258
|
+
Turtle green raw TURTLEGREEN
|