Skip to main content

RFM (Recency Frequency Monetary) model python package

Project description

# CRM-RFM Modeling

Following Repository contains packages for different models for different purposes listed below written in Python.

This package should be used with the intent of a CRM analysis in order to score their CRM dataset with the well known method of RFM.

‘’’python import crm_rfm_modeling from crm_rfm_modeling import rfm

rfm_obj0 = crm_rfm_modeling.rfm.RFM() rfm_obj1 = rfm.RFM() ‘’’

RFM (Recency - Frequency - Monetary):
  • RFM Package used to model and score CRM data with the following scoring methods: Quintile Scoring, Mean Scoring, and Median Scoring. The package allows custom scoring on each variable related to Recency, Frequency, and Monetary. It is important to format the data when fitting the model depending on the dataset type listed below:

    Customer/User Level CRM Dataset:
    • The dataset should contain the Customer IDs to score against as an index. The Recency, Frequency, and Monetary columns should be labeled as so in order to score the variables and customers correctly.
    Transactional CRM Dataset:
    • The dataset should have a list of Cutomer IDs associated with each transaction as well as a date that can be interpreted by Pythons datetime package and a column associated the value of the transaction. The columns should be in order as so. There is no need to set the Customer IDs as the index as it will be set automatically during the scoring.

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for crm-rfm-modeling, version 1.0.1
Filename, size File type Python version Upload date Hashes
Filename, size crm_rfm_modeling-1.0.1.tar.gz (4.6 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page