fBayes 0.6.0 → 0.7.0
Sign up to get free protection for your applications and to get access to all the features.
- data/VERSION +1 -1
- data/fBayes.gemspec +4 -3
- data/lib/data/internalTurnk/.DS_Store +0 -0
- data/lib/data/internalTurnk/data/Beverages +2 -1
- data/lib/data/internalTurnk/data/Dairy +0 -1
- data/lib/data/internalTurnk/data/Fats +53 -54
- data/lib/data/internalTurnk/data/Fruits +4 -4
- data/lib/data/internalTurnk/data/Grains +9 -10
- data/lib/data/internalTurnk/data/{Meat → Protein} +0 -0
- metadata +5 -4
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.
|
1
|
+
0.7.0
|
data/fBayes.gemspec
CHANGED
@@ -5,11 +5,11 @@
|
|
5
5
|
|
6
6
|
Gem::Specification.new do |s|
|
7
7
|
s.name = "fBayes"
|
8
|
-
s.version = "0.
|
8
|
+
s.version = "0.7.0"
|
9
9
|
|
10
10
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
11
11
|
s.authors = ["Ivan Acosta-Rubio"]
|
12
|
-
s.date = "2012-12-
|
12
|
+
s.date = "2012-12-21"
|
13
13
|
s.description = "Naitve Bayes for Food Category classification"
|
14
14
|
s.email = "ivan@bakedweb.net"
|
15
15
|
s.extra_rdoc_files = [
|
@@ -44,6 +44,7 @@ Gem::Specification.new do |s|
|
|
44
44
|
"lib/data/cdc/data/protein_foods",
|
45
45
|
"lib/data/cdc/data/water",
|
46
46
|
"lib/data/cdc/ruby_parser.rb",
|
47
|
+
"lib/data/internalTurnk/.DS_Store",
|
47
48
|
"lib/data/internalTurnk/classifier.rb",
|
48
49
|
"lib/data/internalTurnk/csv_to_data.rb",
|
49
50
|
"lib/data/internalTurnk/data/Beverages",
|
@@ -53,7 +54,7 @@ Gem::Specification.new do |s|
|
|
53
54
|
"lib/data/internalTurnk/data/Fats",
|
54
55
|
"lib/data/internalTurnk/data/Fruits",
|
55
56
|
"lib/data/internalTurnk/data/Grains",
|
56
|
-
"lib/data/internalTurnk/data/
|
57
|
+
"lib/data/internalTurnk/data/Protein",
|
57
58
|
"lib/data/internalTurnk/data/Unknown",
|
58
59
|
"lib/data/internalTurnk/data/Vegetables",
|
59
60
|
"lib/data/internalTurnk/results.csv",
|
Binary file
|
@@ -1,55 +1,54 @@
|
|
1
|
-
Sugar
|
2
|
-
olive oil
|
3
|
-
magnum classic chocolate
|
4
|
-
honey
|
5
|
-
chocolate
|
6
|
-
sugar
|
7
|
-
substitute sugar
|
8
|
-
crumb cake
|
9
|
-
cookies
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
sesame cookie Oil and Sweets
|
1
|
+
Sugar
|
2
|
+
olive oil
|
3
|
+
magnum classic chocolate
|
4
|
+
honey
|
5
|
+
chocolate
|
6
|
+
sugar
|
7
|
+
substitute sugar
|
8
|
+
crumb cake
|
9
|
+
cookies
|
10
|
+
sugar
|
11
|
+
light mayonnaise
|
12
|
+
sugar
|
13
|
+
olive oil
|
14
|
+
light ranch dressing
|
15
|
+
piece of cake
|
16
|
+
sugar
|
17
|
+
mini chocolate chips
|
18
|
+
whole grain cookies
|
19
|
+
Greek dressing
|
20
|
+
tiramisu
|
21
|
+
cupcake
|
22
|
+
chocolate
|
23
|
+
ice cream
|
24
|
+
light ranch dressing
|
25
|
+
brown sugar
|
26
|
+
cheese cake
|
27
|
+
cupcakes
|
28
|
+
chocolate small piece of cake
|
29
|
+
crumb cake
|
30
|
+
olives
|
31
|
+
balsamic vinegar
|
32
|
+
lemon cookie
|
33
|
+
brownie
|
34
|
+
tiramisu
|
35
|
+
oil
|
36
|
+
brown sugar
|
37
|
+
butter
|
38
|
+
half cheese cake
|
39
|
+
balsamic vinegar
|
40
|
+
brownie
|
41
|
+
cheese cake
|
42
|
+
mayonnaise
|
43
|
+
nutella
|
44
|
+
panacotta
|
45
|
+
panacota
|
46
|
+
Oreo cookies
|
47
|
+
brownie
|
48
|
+
cinnamon bun
|
49
|
+
creme brulee
|
50
|
+
cake
|
51
|
+
panacota
|
52
|
+
sesame cookie
|
54
53
|
Almond butter
|
55
|
-
mayo
|
54
|
+
mayo
|
@@ -1,9 +1,8 @@
|
|
1
1
|
quinoa
|
2
2
|
lentil soup
|
3
3
|
rice
|
4
|
-
lentils
|
4
|
+
lentils
|
5
5
|
rice
|
6
|
-
croissant
|
7
6
|
brown rice
|
8
7
|
bread
|
9
8
|
brown rice
|
@@ -37,14 +36,14 @@ cachapa
|
|
37
36
|
bread
|
38
37
|
french toast
|
39
38
|
Brown bread
|
40
|
-
olives cheese bread
|
41
39
|
bread
|
42
40
|
tortilla wraps
|
43
41
|
rice
|
44
42
|
bread
|
45
|
-
basmati rice
|
43
|
+
basmati rice
|
44
|
+
black beans
|
46
45
|
croutons
|
47
|
-
rice
|
46
|
+
rice
|
48
47
|
crackers
|
49
48
|
rice
|
50
49
|
arepa
|
@@ -53,18 +52,18 @@ bread
|
|
53
52
|
basmati rice
|
54
53
|
bread
|
55
54
|
rice
|
56
|
-
toast
|
55
|
+
toast
|
57
56
|
rice
|
58
|
-
bread
|
57
|
+
bread
|
59
58
|
1 toast
|
60
59
|
tortilla wraps
|
61
60
|
bread
|
62
61
|
fried rice
|
63
|
-
red rice
|
62
|
+
red rice
|
63
|
+
pinto beans
|
64
64
|
baguette
|
65
65
|
arroz
|
66
66
|
bread
|
67
|
-
pao
|
68
67
|
chapatti
|
69
68
|
toast
|
70
69
|
rice
|
@@ -87,4 +86,4 @@ tortillas
|
|
87
86
|
tortilla wraps
|
88
87
|
peanuts
|
89
88
|
red beans
|
90
|
-
Raw almonds
|
89
|
+
Raw almonds
|
File without changes
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: fBayes
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.7.0
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2012-12-
|
12
|
+
date: 2012-12-21 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: classifier
|
@@ -126,6 +126,7 @@ files:
|
|
126
126
|
- lib/data/cdc/data/protein_foods
|
127
127
|
- lib/data/cdc/data/water
|
128
128
|
- lib/data/cdc/ruby_parser.rb
|
129
|
+
- lib/data/internalTurnk/.DS_Store
|
129
130
|
- lib/data/internalTurnk/classifier.rb
|
130
131
|
- lib/data/internalTurnk/csv_to_data.rb
|
131
132
|
- lib/data/internalTurnk/data/Beverages
|
@@ -135,7 +136,7 @@ files:
|
|
135
136
|
- lib/data/internalTurnk/data/Fats
|
136
137
|
- lib/data/internalTurnk/data/Fruits
|
137
138
|
- lib/data/internalTurnk/data/Grains
|
138
|
-
- lib/data/internalTurnk/data/
|
139
|
+
- lib/data/internalTurnk/data/Protein
|
139
140
|
- lib/data/internalTurnk/data/Unknown
|
140
141
|
- lib/data/internalTurnk/data/Vegetables
|
141
142
|
- lib/data/internalTurnk/results.csv
|
@@ -197,7 +198,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
197
198
|
version: '0'
|
198
199
|
segments:
|
199
200
|
- 0
|
200
|
-
hash:
|
201
|
+
hash: 674919364589449407
|
201
202
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
202
203
|
none: false
|
203
204
|
requirements:
|