Skip to content

Commit

Permalink
refactor: Increase propability of succesfull sale
Browse files Browse the repository at this point in the history
  • Loading branch information
Chris Molanus committed Nov 30, 2022
1 parent 163a5c1 commit f9ee1ed
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions customerGenerator.py
Original file line number Diff line number Diff line change
Expand Up @@ -164,8 164,8 @@ def generate_names(nr_of_customers) -> List[Dict[str, str]]:
# Realistic conventions rates for these channels
# Exponential decrease in probability of conversion over 21 days(cool off)
conversion_per_channel: Dict[Channel, np.ndarray] = {
Channel.OUTBOUND_EMAIL: np.power(0.8, np.arange(0, 21)) * 0.0003,
Channel.OUTBOUND_CALL: np.power(0.8, np.arange(0, 21)) * 0.013}
Channel.OUTBOUND_EMAIL: np.power(0.8, np.arange(0, 21)) * 0.005,
Channel.OUTBOUND_CALL: np.power(0.8, np.arange(0, 21)) * 0.035}


def what_would_a_customer_do(customer: Customer, action: Action, ts: datetime,
Expand Down

0 comments on commit f9ee1ed

Please sign in to comment.