-
Notifications
You must be signed in to change notification settings - Fork 0
/
Config.py
58 lines (45 loc) · 1.28 KB
/
Config.py
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
##########################################
# Configurations #
##########################################
# campaign
initial_date = '20200101' # Initial day of the campaign
# Seller wallet and ambitions
seller_max_budget = 5000 # Necessary(?)
max_n_clicks = 1000 # Max number of clicks in a single day
avg_users_per_day = 100 # Number of users in the system when advertising section is not present (part 4 and 5)
# Product configuration
product_config = {
'name': 'shoes',
'base_price': 100,
'max_price': 500,
'production_cost': 0
}
# Features space
features_space = {
'age': ['<30', '>30'],
'profession': ['student', 'worker']
}
# Users' classes
classes_config = {
'elegant': [1, 1], # >30, worker
'casual': [0, 0], # <30, student
'sports': [0, 1] # <30, worker
}
# Directory where to store the Conversion Rate's curves
demand_path = 'demand_curves'
# PART 3 CONFIG
min_len = 10
z_score = 2.58
phase_lens = [50, 70, 80] # n_days // n_abrupts_phases
n_abrupts_phases = len(phase_lens)
n_days = sum(phase_lens)
window_length = 80#round(n_days / 3)
n_subcamp = 3
max_bid = 1
n_arms_advertising = 21
n_arms_pricing = 21
noise_std = 0.05
# PART 7 artificial noises
artificial_noise_ADV = 0.2
artificial_noise_CR = 0.2
random_seed = 17