/Loyalty-measures

Part of the customer loyalty engine module wherein causal graphs are tested.

Primary LanguageJupyter Notebook

Loyalty-measures

Different approaches to measuring an ecommerce customer's loyalty.

Algorithms

  1. RFM - The different variations can be in the way recency, frequency and monetary value are calculated. Also can take lifetime value into consideration.
  2. RFM measure with returns taken into account
  3. Causal directed graphs

Causal Directed Graphs

  1. DoWhy : A python library for causal inference , supports explicit modeling and causal assumptions can be tested as well. official doc

  2. Causalnex : Python library that helps infer causation instead of observing correlation.

  3. Causual discovery toolbox : Causal inference in graphs and in the pairwise settings. Also can do graph structure recovery and dependencies.

  4. Causal graphical models : Python module built on top of networkx for causal graphs and structural graphs

RFM

1. Link to the lifetimes library - [todo]

Extensions

Within the domain of ecommerce, what else can be done after loyalty has been measured?

  1. Introduction of loyalty rewards programs like amazon prime
  2. Victory laps of customers

Further Extensions

Can this be extended to measure loyalty in other cases?

  • Relationships : Employer-employee, personal relationships, romantic relationships (tinder/matrimonial websites might be an appropriate use case for this)