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,40 +1,40 @@
|
|
1
1
|
Amaranth
|
2
2
|
Amaranth grain
|
3
|
-
|
3
|
+
|
4
4
|
Barley
|
5
|
-
Barley pearled raw
|
6
|
-
Barley pearled cooked
|
7
|
-
|
8
|
-
Buckwheat groats roasted dry
|
9
|
-
Buckwheat groats roasted cooked
|
5
|
+
Barley pearled raw BARLEYPEARLED
|
6
|
+
Barley pearled cooked BARLEYPEARLED
|
7
|
+
|
8
|
+
Buckwheat groats roasted dry BUCKWHEAT GROATSRSTD
|
9
|
+
Buckwheat groats roasted cooked BUCKWHEAT GROATSRSTD
|
10
10
|
Buckwheat flour
|
11
11
|
Bulgur
|
12
12
|
Bulgur
|
13
13
|
Corn
|
14
14
|
Corn bran
|
15
|
-
Corn flour whole-grain yellow
|
16
|
-
Corn flour masa enriched white
|
17
|
-
Corn flour degermed unenriched yellow
|
18
|
-
Corn flour masa unenriched white
|
19
|
-
Cornmeal whole-grain yellow
|
20
|
-
Cornmeal degermed enriched yellow
|
15
|
+
Corn flour whole-grain yellow CORN FLRWHOLE-GRAIN
|
16
|
+
Corn flour masa enriched white CORN FLR
|
17
|
+
Corn flour degermed unenriched yellow CORN FLR
|
18
|
+
Corn flour masa unenriched white CORN FLR
|
19
|
+
Cornmeal whole-grain yellow CORNMEALWHOLE-GRAIN
|
20
|
+
Cornmeal degermed enriched yellow CORNMEAL
|
21
21
|
Cornmeal self-rising bolted plain
|
22
22
|
Cornmeal self-rising bolted with wheat flour added
|
23
23
|
Cornmeal self-rising degermed enriched
|
24
|
-
|
24
|
+
|
25
25
|
Couscous
|
26
26
|
Couscous
|
27
|
-
Hominy canned white
|
27
|
+
Hominy canned white HOMINYCANNED
|
28
28
|
Millet
|
29
29
|
Millet
|
30
30
|
Oat bran
|
31
31
|
Oat bran
|
32
32
|
Quinoa
|
33
|
-
Rice brown long-grain raw
|
34
|
-
Rice brown long-grain cooked
|
35
|
-
|
36
|
-
Rice brown medium-grain raw
|
37
|
-
Rice brown medium-grain cooked
|
33
|
+
Rice brown long-grain raw RICE
|
34
|
+
Rice brown long-grain cooked RICE
|
35
|
+
|
36
|
+
Rice brown medium-grain raw RICE
|
37
|
+
Rice brown medium-grain cooked RICE
|
38
38
|
Rice white long-grain regular
|
39
39
|
Rice white long-grain regular
|
40
40
|
Rice white long-grain parboiled
|
@@ -42,24 +42,24 @@ Rice white long-grain parboiled
|
|
42
42
|
Rice white long-grain precooked or instant
|
43
43
|
Rice white long-grain precooked or instant
|
44
44
|
Rice white medium-grain raw
|
45
|
-
Rice white medium-grain cooked
|
46
|
-
Rice white short-grain raw
|
47
|
-
Rice white short-grain cooked
|
48
|
-
Rice white glutinous raw
|
49
|
-
Rice white glutinous cooked
|
50
|
-
Rice white with pasta dry
|
51
|
-
Rice white with pasta cooked
|
52
|
-
Rice white steamed Chinese restaurant
|
45
|
+
Rice white medium-grain cooked RICE
|
46
|
+
Rice white short-grain raw RICE
|
47
|
+
Rice white short-grain cooked RICE
|
48
|
+
Rice white glutinous raw RICE
|
49
|
+
Rice white glutinous cooked RICE
|
50
|
+
Rice white with pasta dry RICE
|
51
|
+
Rice white with pasta cooked RICE
|
52
|
+
Rice white steamed Chinese restaurant RICE
|
53
53
|
Rice bran
|
54
54
|
Rice flour
|
55
|
-
|
55
|
+
|
56
56
|
Rye flour
|
57
57
|
Rye flour
|
58
58
|
Rye flour
|
59
59
|
Semolina
|
60
|
-
|
61
|
-
Tapioca pearl dry
|
62
|
-
|
60
|
+
|
61
|
+
Tapioca pearl dry TAPIOCAPEARL
|
62
|
+
|
63
63
|
Triticale flour
|
64
64
|
Wheat
|
65
65
|
Wheat
|
@@ -72,50 +72,50 @@ Wheat germ
|
|
72
72
|
Wheat flour
|
73
73
|
Wheat flour white all-purpose enriched
|
74
74
|
Wheat flour white all-purpose self-rising
|
75
|
-
Wheat flour white bread enriched
|
76
|
-
Wheat flour white cake enriched
|
77
|
-
Wheat flour white tortilla mix enriched
|
75
|
+
Wheat flour white bread enriched WHEAT FLR
|
76
|
+
Wheat flour white cake enriched WHEAT FLR
|
77
|
+
Wheat flour white tortilla mix enriched WHEAT FLR
|
78
78
|
Wheat
|
79
79
|
Wild rice
|
80
80
|
Wild rice
|
81
81
|
Rice flour
|
82
|
-
Pasta corn dry
|
83
|
-
Pasta corn cooked
|
84
|
-
Pasta fresh-refrigerated plain as purchased
|
85
|
-
Pasta fresh-refrigerated plain cooked
|
86
|
-
Pasta fresh-refrigerated spinach as purchased
|
87
|
-
Pasta fresh-refrigerated spinach cooked
|
88
|
-
Pasta homemade made with egg cooked
|
89
|
-
Pasta homemade made without egg cooked
|
90
|
-
Macaroni dry enriched
|
91
|
-
Macaroni cooked enriched
|
82
|
+
Pasta corn dry PASTACORN
|
83
|
+
Pasta corn cooked PASTACORN
|
84
|
+
Pasta fresh-refrigerated plain as purchased PASTA
|
85
|
+
Pasta fresh-refrigerated plain cooked PASTA
|
86
|
+
Pasta fresh-refrigerated spinach as purchased PASTA
|
87
|
+
Pasta fresh-refrigerated spinach cooked PASTA
|
88
|
+
Pasta homemade made with egg cooked PASTA
|
89
|
+
Pasta homemade made without egg cooked PASTA
|
90
|
+
Macaroni dry enriched MACARONIDRY
|
91
|
+
Macaroni cooked enriched MACARONICOOKED
|
92
92
|
Macaroni protein-fortified dry enriched
|
93
93
|
Macaroni protein-fortified cooked enriched
|
94
|
-
Macaroni vegetable dry enriched
|
95
|
-
Macaroni vegetable cooked enriched
|
96
|
-
Macaroni whole-wheat dry
|
97
|
-
Macaroni whole-wheat cooked
|
98
|
-
Noodles egg dry enriched
|
99
|
-
Noodles egg cooked enriched
|
94
|
+
Macaroni vegetable dry enriched MACARONI
|
95
|
+
Macaroni vegetable cooked enriched MACARONI
|
96
|
+
Macaroni whole-wheat dry MACARONIWHOLE-WHEAT
|
97
|
+
Macaroni whole-wheat cooked MACARONIWHOLE-WHEAT
|
98
|
+
Noodles egg dry enriched NOODLES
|
99
|
+
Noodles egg cooked enriched NOODLES
|
100
100
|
Noodles egg spinach dry
|
101
101
|
Noodles egg spinach cooked
|
102
|
-
Noodles chinese chow mein
|
103
|
-
Noodles japanese soba dry
|
104
|
-
Noodles japanese soba cooked
|
105
|
-
Noodles japanese somen dry
|
106
|
-
Noodles japanese somen cooked
|
107
|
-
Noodles flat crunchy Chinese restaurant
|
108
|
-
Spaghetti dry enriched
|
109
|
-
Spaghetti cooked enriched without added salt
|
110
|
-
Spaghetti protein-fortified dry enriched (n x
|
111
|
-
Spaghetti protein-fortified cooked enriched (N x
|
112
|
-
Spaghetti whole-wheat dry
|
113
|
-
Spaghetti whole-wheat cooked
|
114
|
-
Spaghetti spinach dry
|
115
|
-
Spaghetti spinach cooked
|
116
|
-
Wheat flours bread unenriched
|
117
|
-
|
118
|
-
|
102
|
+
Noodles chinese chow mein NOODLESCHINESE
|
103
|
+
Noodles japanese soba dry NOODLES
|
104
|
+
Noodles japanese soba cooked NOODLES
|
105
|
+
Noodles japanese somen dry NOODLES
|
106
|
+
Noodles japanese somen cooked NOODLES
|
107
|
+
Noodles flat crunchy Chinese restaurant NOODLES
|
108
|
+
Spaghetti dry enriched SPAGHETTIDRY
|
109
|
+
Spaghetti cooked enriched without added salt SPAGHETTI
|
110
|
+
Spaghetti protein-fortified dry enriched (n x ) SPAGHETTI
|
111
|
+
Spaghetti protein-fortified cooked enriched (N x ) SPAGHETTI
|
112
|
+
Spaghetti whole-wheat dry SPAGHETTIWHOLE-WHEAT
|
113
|
+
Spaghetti whole-wheat cooked SPAGHETTIWHOLE-WHEAT
|
114
|
+
Spaghetti spinach dry SPAGHETTISPINACH
|
115
|
+
Spaghetti spinach cooked SPAGHETTISPINACH
|
116
|
+
Wheat flours bread unenriched WHEAT FLOURSBREAD
|
117
|
+
|
118
|
+
|
119
119
|
Oat flour
|
120
120
|
Rice noodles
|
121
121
|
Rice noodles
|
@@ -130,24 +130,24 @@ Macaroni protein-fortified dry enriched
|
|
130
130
|
Macaroni protein-fortified cooked enriched
|
131
131
|
Noodles egg cooked enriched
|
132
132
|
Corn
|
133
|
-
Corn flour whole-grain blue (harina de maiz morado)
|
134
|
-
Corn flour whole-grain white
|
135
|
-
Corn flour masa enriched yellow
|
136
|
-
Cornmeal whole-grain white
|
137
|
-
Spaghetti cooked enriched with added salt
|
138
|
-
Cornmeal degermed enriched white
|
133
|
+
Corn flour whole-grain blue (harina de maiz morado) CORN FLRWHOLE-GRAIN
|
134
|
+
Corn flour whole-grain white CORN FLRWHOLE-GRAIN
|
135
|
+
Corn flour masa enriched yellow CORN FLR
|
136
|
+
Cornmeal whole-grain white CORNMEALWHOLE-GRAIN
|
137
|
+
Spaghetti cooked enriched with added salt SPAGHETTI
|
138
|
+
Cornmeal degermed enriched white CORNMEAL
|
139
139
|
Cornmeal self-rising bolted plain
|
140
140
|
Cornmeal self-rising bolted with wheat flour added
|
141
141
|
Cornmeal self-rising degermed enriched
|
142
|
-
Hominy canned yellow
|
142
|
+
Hominy canned yellow HOMINYCANNED
|
143
143
|
Rice white long-grain regular
|
144
144
|
Wheat flour white all-purpose enriched
|
145
|
-
Macaroni cooked unenriched
|
146
|
-
Noodles egg dry unenriched
|
145
|
+
Macaroni cooked unenriched MACARONICKD
|
146
|
+
Noodles egg dry unenriched NOODLES
|
147
147
|
Noodles egg cooked unenriched
|
148
|
-
Spaghetti dry unenriched
|
149
|
-
Spaghetti cooked unenriched without added salt
|
150
|
-
Cornmeal degermed unenriched yellow
|
148
|
+
Spaghetti dry unenriched SPAGHETTIDRY
|
149
|
+
Spaghetti cooked unenriched without added salt SPAGHETTI
|
150
|
+
Cornmeal degermed unenriched yellow CORNMEAL
|
151
151
|
Rice white long-grain regular
|
152
152
|
Rice white long-grain regular
|
153
153
|
Rice white long-grain parboiled
|
@@ -157,28 +157,28 @@ Rice white medium-grain cooked
|
|
157
157
|
Rice white short-grain raw
|
158
158
|
Rice white short-grain cooked
|
159
159
|
Semolina
|
160
|
-
Wheat flour white all-purpose unenriched
|
161
|
-
Macaroni dry unenriched
|
160
|
+
Wheat flour white all-purpose unenriched WHEAT FLR
|
161
|
+
Macaroni dry unenriched MACARONIDRY
|
162
162
|
Noodles egg cooked unenriched
|
163
|
-
Spaghetti cooked unenriched with added salt
|
164
|
-
Cornmeal degermed unenriched white
|
165
|
-
Spaghetti protein-fortified cooked enriched (n x
|
163
|
+
Spaghetti cooked unenriched with added salt SPAGHETTI
|
164
|
+
Cornmeal degermed unenriched white CORNMEAL
|
165
|
+
Spaghetti protein-fortified cooked enriched (n x ) SPAGHETTI
|
166
166
|
Rice white long-grain regular
|
167
167
|
Wheat flour white all-purpose enriched
|
168
|
-
Spaghetti protein-fortified dry enriched (n x
|
169
|
-
Wheat flour white (industrial)
|
170
|
-
Wheat flour white (industrial)
|
171
|
-
Wheat flour white (industrial)
|
172
|
-
Wheat flour white (industrial)
|
173
|
-
Wheat flour white (industrial)
|
174
|
-
Wheat flour white (industrial)
|
175
|
-
Wheat flour white (industrial)
|
176
|
-
Wheat flour white (industrial)
|
177
|
-
Wheat flour white (industrial)
|
178
|
-
Wheat flour white (industrial)
|
179
|
-
Wheat flour white (industrial)
|
180
|
-
Wheat flour white (industrial)
|
181
|
-
|
182
|
-
|
183
|
-
Wheat flour whole-grain soft wheat
|
184
|
-
|
168
|
+
Spaghetti protein-fortified dry enriched (n x ) SPAGHETTI
|
169
|
+
Wheat flour white (industrial) % protein bleached
|
170
|
+
Wheat flour white (industrial) % protein bleached
|
171
|
+
Wheat flour white (industrial) % protein bleached
|
172
|
+
Wheat flour white (industrial) % protein bleached
|
173
|
+
Wheat flour white (industrial) % protein unbleached
|
174
|
+
Wheat flour white (industrial) % protein bleached
|
175
|
+
Wheat flour white (industrial) % protein bleached
|
176
|
+
Wheat flour white (industrial) % protein unbleached
|
177
|
+
Wheat flour white (industrial) % protein bleached
|
178
|
+
Wheat flour white (industrial) % protein bleached
|
179
|
+
Wheat flour white (industrial) % protein bleached
|
180
|
+
Wheat flour white (industrial) % protein bleached
|
181
|
+
|
182
|
+
|
183
|
+
Wheat flour whole-grain soft wheat WHEAT FLRWHOLE-GRAIN
|
184
|
+
|