-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.json
81 lines (81 loc) · 1.49 KB
/
config.json
1
2
3
4
5
6
7
8
9
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
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
{
"restrictions": {
"calories": [2200, 2500],
"carbs": [280, 320],
"protein": [70, 80],
"fat": [75, 90],
"products_number": [12, 15]
},
"restrictions_weights": {
"calories": 0.43,
"carbs": 3.33,
"protein": 13.33,
"fat": 12.12
},
"categories": [
"Vegetables",
"Meats",
"Dairy and Egg Products",
"Fats and Oils",
"Grains and Pasta",
"Fruits"
],
"categories_count": [2,2,2,2,2,2],
"aco":{
"ants_count": 20,
"iterations": 200,
"pheromone_decrease_ratio": 0.80,
"Q": 5000,
"solutions_count": 10
},
"nutrition_data": "nutrition_data/complete_database.csv",
"mass_range": [5, 2000],
"initial_solutions_number": 1000,
"iterative_improvement_config": {
"restrictions": {
"calories": [
2200,
2500
],
"carbs": [
280,
320
],
"protein": [
70,
80
],
"fat": [
75,
90
]
},
"restrictions_weights": {
"calories": 1.0,
"carbs": 1.0,
"protein": 1.0,
"fat": 1.0
},
"max_steps": 700,
"step_rate": 9.0
},
"selection_method": "ranking",
"selection_params": {
"k": 200
},
"unary_op_params": {
"to_mutate": 2,
"std": 5.0
},
"binary_op_params": {
"cross_points_number": 4,
"preserve_types": true
},
"scoring_params": {
"alpha": 1.0
},
"epoch_count": 10,
"numpy_random_state": 42,
"aco_total_product_count": 200,
"product_copies": 40
}