utils#
Utilities for the CLV module.
Functions
|
|
|
Compute customer lifetime value. |
|
Assign customers to segments based on spending behavior derived from RFM scores. |
|
Summarize transaction data for use in CLV modeling or RFM segmentation. |
|
Summarize transaction data and split into training and tests datasets for CLV modeling. |
|
Convert vector arrays to xarray with a common dim (default "customer_id"). |