Get started • Machine learning

CLV (customer lifetime value)

Estimate how valuable each customer is, from how much and how recently they bought.

Sample data

Made-up data. If you have not loaded it yet, ask your assistant:

  • Load https://gotsimplified.com/samples/purchases.csv into my data lake as samples.purchases, replacing it if it already exists.

Download: purchases.csv

Try this

  • Segment the customers in samples.purchases by how recently, how often and how much they buy. Who looks inactive?

Your assistant may word its answers differently each time; the numbers come from your tables.

Who are our best customers?

What is it?

A guess at how much each customer is worth to you from now on. Some pop in once. Some come back for years.

How does it work?

It looks at how recently, how often and how much each one bought. Someone away much longer than their usual gap is marked as likely gone.

Good to know

The money figure is simple arithmetic from the past, not a promise.

Before you start

Load the sample file below into your data lake first.

Make it yours

Your assistant needs the real names. Replace the table and column names in the prompt above with yours. If you are not sure of them, ask first: "Describe my table called orders."

Then ask

Each question builds on the last answer. Ask follow-ups in plain words.

"Who are the champions?"

"Who should we contact first?"