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,135 +1,135 @@
|
|
1
1
|
Agutuk
|
2
2
|
Agutuk
|
3
|
-
|
4
|
-
Bear black meat (Alaska Native)
|
5
|
-
Bear polar meat raw (Alaska Native)
|
6
|
-
Whale beluga meat dried (Alaska Native)
|
7
|
-
Whale beluga eyes (Alaska Native)
|
8
|
-
Whale beluga meat raw (Alaska Native)
|
9
|
-
Whale beluga flipper raw (Alaska Native)
|
10
|
-
Whale beluga liver raw (Alaska Native)
|
11
|
-
Oil beluga whale (Alaska Native)
|
12
|
-
Blackberries wild raw (Alaska Native)
|
13
|
-
Fish blackfish whole (Alaska Native)
|
14
|
-
Blueberries wild frozen (Alaska Native)
|
15
|
-
Caribou bone marrow raw (Alaska Native)
|
16
|
-
Caribou eye raw (Alaska Native)
|
17
|
-
Caribou liver raw (Alaska Native)
|
3
|
+
|
4
|
+
Bear black meat (Alaska Native) BEARBLACK
|
5
|
+
Bear polar meat raw (Alaska Native) BEAR
|
6
|
+
Whale beluga meat dried (Alaska Native) WHALE
|
7
|
+
Whale beluga eyes (Alaska Native) WHALEBELUGA
|
8
|
+
Whale beluga meat raw (Alaska Native) Whale
|
9
|
+
Whale beluga flipper raw (Alaska Native) WHALE
|
10
|
+
Whale beluga liver raw (Alaska Native) WHALE
|
11
|
+
Oil beluga whale (Alaska Native) OILBELUGA
|
12
|
+
Blackberries wild raw (Alaska Native) BLACKBERRIESWILD
|
13
|
+
Fish blackfish whole (Alaska Native) FISHBLACKFISH
|
14
|
+
Blueberries wild frozen (Alaska Native) BLUEBERRIESWILD
|
15
|
+
Caribou bone marrow raw (Alaska Native) CARIBOUBONE MARROW
|
16
|
+
Caribou eye raw (Alaska Native) CARIBOUEYE
|
17
|
+
Caribou liver raw (Alaska Native) CARIBOULIVER
|
18
18
|
Stew/soup
|
19
|
-
Caribou tongue raw (Alaska Native)
|
20
|
-
Chiton leathery gumboots (Alaska Native)
|
21
|
-
Cloudberries raw (Alaska Native)
|
19
|
+
Caribou tongue raw (Alaska Native) CARIBOUTONGUE
|
20
|
+
Chiton leathery gumboots (Alaska Native) CHITONLEATHERY
|
21
|
+
Cloudberries raw (Alaska Native) CLOUDBERRIESRAW (ALASKA NATIVE) baked apple berry yellowberry
|
22
22
|
Cockles
|
23
|
-
Cranberries wild bush raw (Alaska Native)
|
24
|
-
Cranberry low bush or lingenberry raw (Alaska Native)
|
25
|
-
Fish devilfish meat (Alaska Native)
|
26
|
-
Fireweed young leaves raw (Alaska Native)
|
27
|
-
Fish herring eggs on giant kelp Pacific (Alaska Native)
|
28
|
-
Fish herring eggs Pacific dry (Alaska Native)
|
29
|
-
Fish herring eggs Pacific plain (Alaska Native)
|
23
|
+
Cranberries wild bush raw (Alaska Native) CRANBERRIES
|
24
|
+
Cranberry low bush or lingenberry raw (Alaska Native) CRANBERRYLO BUSH OR LINGENBERRY
|
25
|
+
Fish devilfish meat (Alaska Native) FISHDEVILFISH
|
26
|
+
Fireweed young leaves raw (Alaska Native) FIREWEEDYOUNG LEAVES
|
27
|
+
Fish herring eggs on giant kelp Pacific (Alaska Native) FISHHERRING EGGS ON GIANT KELP
|
28
|
+
Fish herring eggs Pacific dry (Alaska Native) FISH
|
29
|
+
Fish herring eggs Pacific plain (Alaska Native) FISH
|
30
30
|
Fish herring Pacific flesh
|
31
31
|
Huckleberries
|
32
|
-
Fish lingcod meat raw (Alaska Native)
|
33
|
-
Fish lingcod liver (Alaska Native)
|
32
|
+
Fish lingcod meat raw (Alaska Native) FISH
|
33
|
+
Fish lingcod liver (Alaska Native) FISHLINGCOD
|
34
34
|
Stew
|
35
|
-
Moose meat raw (Alaska Native)
|
35
|
+
Moose meat raw (Alaska Native) MOOSEMEAT
|
36
36
|
Mashu roots
|
37
|
-
Moose liver braised (Alaska Native)
|
37
|
+
Moose liver braised (Alaska Native) MOOSELIVER
|
38
38
|
Mouse nuts
|
39
39
|
Mouse nuts
|
40
|
-
|
41
|
-
Seal bearded (Oogruk) meat dried (Alaska Native)
|
42
|
-
Seal bearded (Oogruk) meat raw (Alaska Native)
|
40
|
+
|
41
|
+
Seal bearded (Oogruk) meat dried (Alaska Native) SEAL
|
42
|
+
Seal bearded (Oogruk) meat raw (Alaska Native) SEAL
|
43
43
|
Oil
|
44
44
|
Oopah (tunicate)
|
45
|
-
Owl horned flesh raw (Alaska Native)
|
46
|
-
Fish pike northern liver (Alaska Native)
|
47
|
-
Rhubarb wild leaves (Alaska Native)
|
48
|
-
Fish salmon tipnuk fermented (Alaska Native)
|
45
|
+
Owl horned flesh raw (Alaska Native) OWL
|
46
|
+
Fish pike northern liver (Alaska Native) FISH
|
47
|
+
Rhubarb wild leaves (Alaska Native) RHUBARBWILD
|
48
|
+
Fish salmon tipnuk fermented (Alaska Native) FISH
|
49
49
|
Fish salmon king chinook
|
50
50
|
Fish salmon king chinook
|
51
51
|
Fish salmon king chinook
|
52
52
|
Fish salmon king chinook
|
53
|
-
Duck scoter white-winged meat (Alaska Native)
|
53
|
+
Duck scoter white-winged meat (Alaska Native) DUCK
|
54
54
|
Sea cucumber
|
55
|
-
Seal ringed meat (Alaska Native)
|
56
|
-
Seal ringed liver (Alaska Native)
|
57
|
-
Soup fish homemade (Alaska Native)
|
55
|
+
Seal ringed meat (Alaska Native) SEALRINGED
|
56
|
+
Seal ringed liver (Alaska Native) SEALRINGED
|
57
|
+
Soup fish homemade (Alaska Native) SOUPFISH
|
58
58
|
Sourdock
|
59
|
-
Squirrel ground meat (Alaska Native)
|
60
|
-
Tea tundra herb and laborador combination (Alaska Native)
|
61
|
-
Walrus meat dried (Alaska Native)
|
62
|
-
Deer (venison) sitka raw (Alaska Native)
|
63
|
-
Walrus meat raw (Alaska Native)
|
59
|
+
Squirrel ground meat (Alaska Native) SQUIRRELGROUND
|
60
|
+
Tea tundra herb and laborador combination (Alaska Native) TEATUNDRA
|
61
|
+
Walrus meat dried (Alaska Native) WALRUSMEAT
|
62
|
+
Deer (venison) sitka raw (Alaska Native) DEER (VENISON)SITKA
|
63
|
+
Walrus meat raw (Alaska Native) WALRUSMEAT
|
64
64
|
Walrus
|
65
|
-
Walrus liver raw (Alaska Native)
|
65
|
+
Walrus liver raw (Alaska Native) WALRUSLIVER
|
66
66
|
Oil
|
67
|
-
Whale bowhead subcutaneous fat (blubber) (Alaska Native)
|
68
|
-
Whale bowhead skin and subcutaneous fat (muktuk) (Alaska Native)
|
69
|
-
Oil whale bowhead (Alaska Native)
|
70
|
-
Fish whitefish broad liver (Alaska Native)
|
71
|
-
Fish whitefish mixed species raw (Alaska Native)
|
67
|
+
Whale bowhead subcutaneous fat (blubber) (Alaska Native) WHALEBOWHEAD
|
68
|
+
Whale bowhead skin and subcutaneous fat (muktuk) (Alaska Native) WHALEBOWHEAD
|
69
|
+
Oil whale bowhead (Alaska Native) OILWHALE
|
70
|
+
Fish whitefish broad liver (Alaska Native) FISH
|
71
|
+
Fish whitefish mixed species raw (Alaska Native) FISH
|
72
72
|
Fish whitefish broad head
|
73
73
|
Willow
|
74
|
-
Willow young leaves chopped (Alaska Native)
|
74
|
+
Willow young leaves chopped (Alaska Native) WILLOWYOUNG LEAVES
|
75
75
|
Mush
|
76
76
|
Cornmeal
|
77
77
|
Melon
|
78
|
-
|
78
|
+
|
79
79
|
Corn
|
80
|
-
Corn white steamed (Navajo)
|
80
|
+
Corn white steamed (Navajo) CORNWHITE
|
81
81
|
Cornmeal
|
82
82
|
Cornmeal
|
83
|
-
Squash Indian raw (Navajo)
|
84
|
-
Squash Indian cooked boiled (Navajo)
|
83
|
+
Squash Indian raw (Navajo) SQUASHINDIAN
|
84
|
+
Squash Indian cooked boiled (Navajo) SQUASH
|
85
85
|
Bread
|
86
|
-
Mutton cooked roasted (Navajo)
|
86
|
+
Mutton cooked roasted (Navajo) MUTTONCKD
|
87
87
|
Frybread
|
88
88
|
Tortilla
|
89
89
|
Stew
|
90
90
|
Stew
|
91
|
-
Stew mutton corn squash (Navajo)
|
92
|
-
|
91
|
+
Stew mutton corn squash (Navajo) STEW
|
92
|
+
|
93
93
|
Stew
|
94
|
-
Fish halibut raw with skin (Alaska Native)
|
95
|
-
Fish salmon coho (silver) raw (Alaska Native)
|
96
|
-
Fish salmon sockeye (red) raw (Alaska Native)
|
97
|
-
Fish Salmon Chum raw (Alaska Native)
|
98
|
-
Fish salmon king (chinook) raw (Alaska Native)
|
94
|
+
Fish halibut raw with skin (Alaska Native) FISH
|
95
|
+
Fish salmon coho (silver) raw (Alaska Native) FISH
|
96
|
+
Fish salmon sockeye (red) raw (Alaska Native) FISH
|
97
|
+
Fish Salmon Chum raw (Alaska Native) FISH
|
98
|
+
Fish salmon king (chinook) raw (Alaska Native) FISH
|
99
99
|
Salmonberries
|
100
|
-
Blueberries wild raw (Alaska Native)
|
100
|
+
Blueberries wild raw (Alaska Native) BLUEBERRIESWILD
|
101
101
|
Oil
|
102
102
|
Fish salmon red canned
|
103
|
-
Fish whitefish eggs (Alaska Native)
|
104
|
-
Caribou rump meat half dried (Alaska Native)
|
105
|
-
Caribou shoulder meat dried (Alaska Native)
|
106
|
-
Caribou hind quarter meat raw (Alaska Native)
|
103
|
+
Fish whitefish eggs (Alaska Native) FISHWHITEFISH
|
104
|
+
Caribou rump meat half dried (Alaska Native) CARIBOURUMP MEAT
|
105
|
+
Caribou shoulder meat dried (Alaska Native) CARIBOUSHLDR MEAT
|
106
|
+
Caribou hind quarter meat raw (Alaska Native) CARIBOUHIND QUARTER MEAT
|
107
107
|
Seal bearded (Oogruk) meat dried
|
108
|
-
Fish whitefish dried (Alaska Native)
|
108
|
+
Fish whitefish dried (Alaska Native) FISHWHITEFISH
|
109
109
|
Fish salmon red (sockeye)
|
110
110
|
Fish salmon red (sockeye)
|
111
111
|
Fish salmon king with skin
|
112
|
-
Fish sheefish raw (Alaska Native)
|
112
|
+
Fish sheefish raw (Alaska Native) FISHSHEEFISH
|
113
113
|
Seal bearded (Oogruk) meat low quadrant
|
114
|
-
Fish salmon chum dried (Alaska Native)
|
115
|
-
Elk free range ground cooked patties (Shoshone Bannock)
|
116
|
-
Elk free range ground raw (Shoshone Bannock)
|
117
|
-
Buffalo free range top round steak raw (Shoshone Bannock)
|
118
|
-
Seal bearded (Oogruk) meat partially dried (Alaska Native)
|
119
|
-
Buffalo free range top round steak cooked (Shoshone Bannock)
|
114
|
+
Fish salmon chum dried (Alaska Native) FISH
|
115
|
+
Elk free range ground cooked patties (Shoshone Bannock) ELK
|
116
|
+
Elk free range ground raw (Shoshone Bannock) ELK
|
117
|
+
Buffalo free range top round steak raw (Shoshone Bannock) BUFFALO
|
118
|
+
Seal bearded (Oogruk) meat partially dried (Alaska Native) SEAL
|
119
|
+
Buffalo free range top round steak cooked (Shoshone Bannock) BUFFALO
|
120
120
|
Elk free range roast eye of round
|
121
121
|
Elk free range roast eye of round
|
122
|
-
Chokecherries raw pitted (Shoshone Bannock)
|
123
|
-
Steelhead trout dried flesh (Shoshone Bannock)
|
124
|
-
Steelhead trout boiled canned (Alaska Native)
|
125
|
-
|
126
|
-
Corn dried yellow (Northern Plains Indians)
|
122
|
+
Chokecherries raw pitted (Shoshone Bannock) CHOKECHERRIESRAW
|
123
|
+
Steelhead trout dried flesh (Shoshone Bannock) STEELHEAD TROUTDRIED
|
124
|
+
Steelhead trout boiled canned (Alaska Native) STEELHEAD TROUTBLD
|
125
|
+
|
126
|
+
Corn dried yellow (Northern Plains Indians) CORNDRIED
|
127
127
|
Smelt
|
128
128
|
Frybread
|
129
|
-
|
129
|
+
|
130
130
|
Tennis Bread
|
131
|
-
Fish halibut cooked with skin (Alaska Native)
|
132
|
-
Salmon red (sockeye) filets with skin smoked (Alaska Native)
|
131
|
+
Fish halibut cooked with skin (Alaska Native) FISH
|
132
|
+
Salmon red (sockeye) filets with skin smoked (Alaska Native) SALMON
|
133
133
|
Agave
|
134
134
|
Agave
|
135
135
|
Agave
|
@@ -142,24 +142,24 @@ Prairie Turnips
|
|
142
142
|
Prairie Turnips
|
143
143
|
Raspberries
|
144
144
|
Rose Hips
|
145
|
-
Chokecherries raw pitted (Northern Plains Indians)
|
145
|
+
Chokecherries raw pitted (Northern Plains Indians) CHOKECHERRIESRAW
|
146
146
|
Stinging Nettles
|
147
147
|
Plums
|
148
148
|
Pinon Nuts
|
149
|
-
Caribou hind quarter meat cooked (Alaska Native)
|
149
|
+
Caribou hind quarter meat cooked (Alaska Native) CARIBOU
|
150
150
|
Agutuk
|
151
|
-
Sea lion Steller liver (Alaska Native)
|
152
|
-
Sea lion Steller kidney (Alaska Native)
|
153
|
-
Sea lion Steller heart (Alaska Native)
|
154
|
-
Sea lion Steller meat (Alaska Native)
|
155
|
-
Sea lion Steller meat with fat (Alaska Native)
|
156
|
-
Sea lion Steller fat (Alaska Native)
|
151
|
+
Sea lion Steller liver (Alaska Native) SEA LIONSTELLER
|
152
|
+
Sea lion Steller kidney (Alaska Native) SEA LIONSTELLER
|
153
|
+
Sea lion Steller heart (Alaska Native) SEA LIONSTELLER
|
154
|
+
Sea lion Steller meat (Alaska Native) SEA LIONSTELLER
|
155
|
+
Sea lion Steller meat with fat (Alaska Native) SEA LIONSTELLER
|
156
|
+
Sea lion Steller fat (Alaska Native) SEA LIONSTELLER
|
157
157
|
Wocas dried seeds Oregon Yellow pond lily
|
158
158
|
Hazelnuts
|
159
159
|
Piki bread
|
160
160
|
Wocas tuber cooked Oregon
|
161
|
-
Stew pinto bean and hominy badufsuki (Hopi)
|
161
|
+
Stew pinto bean and hominy badufsuki (Hopi) STEWPINTO BEAN & HOMINY
|
162
162
|
Tamales
|
163
|
-
Tea herbal brewed Hohoysi (Hopi)
|
164
|
-
Tortilla blue corn Sakwavikaviki (Hopi)
|
165
|
-
Bread blue corn somiviki (Hopi)
|
163
|
+
Tea herbal brewed Hohoysi (Hopi) TEA
|
164
|
+
Tortilla blue corn Sakwavikaviki (Hopi) TORTILLABLUE CORN
|
165
|
+
Bread blue corn somiviki (Hopi) BREADBLUE CORN
|