# eCommerce Orders

1\. If you want to use Graphite Note demo datasets click "Import DEMO Dataset".

<figure><img src="/files/cmp578RbOlyvhwJzXcwP" alt="" width="563"><figcaption></figcaption></figure>

2\. Select the dataset you want to use to create machine learning model. In this case we will select eCommerce Orders dataset to create RFM Customer Segmentation (Recency, Frequency, Monetary Value) analysis on ecommerce orders data.

<img src="https://ajeuwbhvhr.cloudimg.io/colony-recorder.s3.amazonaws.com/files/2024-04-30/cde4aefe-a2c5-4e67-909b-9f632f6060e0/ascreenshot.jpeg?tl_px=0,110&#x26;br_px=773,543&#x26;force_format=png&#x26;width=774&#x26;wat_scale=69&#x26;wat=1&#x26;wat_opacity=1&#x26;wat_gravity=northwest&#x26;wat_url=https://colony-recorder.s3.amazonaws.com/images/watermarks/EAB308_standard.png&#x26;wat_pad=22,191" alt="" width="560">

3\. Once selected, the demo dataset will load directly to your account. Dataset view will automatically open.

<img src="https://ajeuwbhvhr.cloudimg.io/colony-recorder.s3.amazonaws.com/files/2024-04-30/2f493c36-bf8e-43cf-bf53-869cb5a42d95/ascreenshot.jpeg?tl_px=0,0&#x26;br_px=1146,640&#x26;force_format=png&#x26;width=1120.0&#x26;wat=1&#x26;wat_opacity=1&#x26;wat_gravity=northwest&#x26;wat_url=https://colony-recorder.s3.amazonaws.com/images/watermarks/EAB308_standard.png&#x26;wat_pad=456,164" alt="" width="560">

4\. Adjust your dataset options on Settings tab. Click Columns tab to view list of available columns with their corresponding data types. Explore the dataset details on Summary tab.

<img src="https://ajeuwbhvhr.cloudimg.io/colony-recorder.s3.amazonaws.com/files/2024-04-30/2e057094-0e70-477c-847b-bce80ad6c040/ascreenshot.jpeg?tl_px=356,0&#x26;br_px=1129,432&#x26;force_format=png&#x26;width=774&#x26;wat_scale=69&#x26;wat=1&#x26;wat_opacity=1&#x26;wat_gravity=northwest&#x26;wat_url=https://colony-recorder.s3.amazonaws.com/images/watermarks/EAB308_standard.png&#x26;wat_pad=362,178" alt="" width="560">

5\. To create new model in the Graphite Note main menu click on "Models"

<img src="https://ajeuwbhvhr.cloudimg.io/colony-recorder.s3.amazonaws.com/files/2024-04-30/9a0d38ce-1d1d-4bb0-a83d-04fe2f5ff2d2/ascreenshot.jpeg?tl_px=362,0&#x26;br_px=1135,432&#x26;force_format=png&#x26;width=774&#x26;wat_scale=69&#x26;wat=1&#x26;wat_opacity=1&#x26;wat_gravity=northwest&#x26;wat_url=https://colony-recorder.s3.amazonaws.com/images/watermarks/EAB308_standard.png&#x26;wat_pad=362,6" alt="" width="560">

6\. You will get list of available models. Click on "New Model" to create new one.

<img src="https://ajeuwbhvhr.cloudimg.io/colony-recorder.s3.amazonaws.com/files/2024-04-30/aa573196-d5b2-4fdc-bd99-11fb54021c66/ascreenshot.jpeg?tl_px=1003,0&#x26;br_px=1776,432&#x26;force_format=png&#x26;width=774&#x26;wat_scale=69&#x26;wat=1&#x26;wat_opacity=1&#x26;wat_gravity=northwest&#x26;wat_url=https://colony-recorder.s3.amazonaws.com/images/watermarks/EAB308_standard.png&#x26;wat_pad=362,93" alt="" width="560">

7\. Select a model type from our templates. In our case we will select "RFM Customer Segmentation" by double clicking on its name.

<img src="https://ajeuwbhvhr.cloudimg.io/colony-recorder.s3.amazonaws.com/files/2024-04-30/ddf55983-37bf-4d1a-ade1-e98639ecc355/ascreenshot.jpeg?tl_px=1054,106&#x26;br_px=1827,539&#x26;force_format=png&#x26;width=774&#x26;wat_scale=69&#x26;wat=1&#x26;wat_opacity=1&#x26;wat_gravity=northwest&#x26;wat_url=https://colony-recorder.s3.amazonaws.com/images/watermarks/EAB308_standard.png&#x26;wat_pad=362,191" alt="" width="560">

8\. Select dataset you want to use to produce model. We will use "Demo-eCommerce-Orders.csv".

<img src="https://ajeuwbhvhr.cloudimg.io/colony-recorder.s3.amazonaws.com/files/2024-04-30/04522125-bd9c-4939-b701-e2ff209c4818/ascreenshot.jpeg?tl_px=0,270&#x26;br_px=773,703&#x26;force_format=png&#x26;width=774&#x26;wat_scale=69&#x26;wat=1&#x26;wat_opacity=1&#x26;wat_gravity=northwest&#x26;wat_url=https://colony-recorder.s3.amazonaws.com/images/watermarks/EAB308_standard.png&#x26;wat_pad=170,191" alt="" width="560">

9\. Name your new model. We will call it "RFM customer segmentation on Demo-eCommerce-Orders".

<img src="https://ajeuwbhvhr.cloudimg.io/colony-recorder.s3.amazonaws.com/files/2024-04-30/4fcbe88f-8b1f-4ecf-9b52-8a40f8ec3b77/ascreenshot.jpeg?tl_px=51,29&#x26;br_px=824,462&#x26;force_format=png&#x26;width=774&#x26;wat_scale=69&#x26;wat=1&#x26;wat_opacity=1&#x26;wat_gravity=northwest&#x26;wat_url=https://colony-recorder.s3.amazonaws.com/images/watermarks/EAB308_standard.png&#x26;wat_pad=362,191" alt="" width="560">

10\. Write description of the model and select tag. If you want you can also create new tag from pop-up "Tags" window that will appear on the screen.

<img src="https://ajeuwbhvhr.cloudimg.io/colony-recorder.s3.amazonaws.com/files/2024-04-30/6dad57a9-9a0f-47e9-8309-13f59c0c243b/ascreenshot.jpeg?tl_px=0,100&#x26;br_px=773,533&#x26;force_format=png&#x26;width=774&#x26;wat_scale=69&#x26;wat=1&#x26;wat_opacity=1&#x26;wat_gravity=northwest&#x26;wat_url=https://colony-recorder.s3.amazonaws.com/images/watermarks/EAB308_standard.png&#x26;wat_pad=211,191" alt="" width="560">

11\. Click "Create" to create your demo model environment.

<img src="https://ajeuwbhvhr.cloudimg.io/colony-recorder.s3.amazonaws.com/files/2024-04-30/664d2479-e06c-409c-a442-97f952f276e5/ascreenshot.jpeg?tl_px=1146,0&#x26;br_px=1920,432&#x26;force_format=png&#x26;width=774&#x26;wat_scale=69&#x26;wat=1&#x26;wat_opacity=1&#x26;wat_gravity=northwest&#x26;wat_url=https://colony-recorder.s3.amazonaws.com/images/watermarks/EAB308_standard.png&#x26;wat_pad=627,101" alt="" width="560">

12\. Click this text field.

<img src="https://ajeuwbhvhr.cloudimg.io/colony-recorder.s3.amazonaws.com/files/2024-04-30/94c5c3fd-f97f-4d00-bc19-ca4df2cac205/ascreenshot.jpeg?tl_px=246,331&#x26;br_px=1019,764&#x26;force_format=png&#x26;width=774&#x26;wat_scale=69&#x26;wat=1&#x26;wat_opacity=1&#x26;wat_gravity=northwest&#x26;wat_url=https://colony-recorder.s3.amazonaws.com/images/watermarks/EAB308_standard.png&#x26;wat_pad=362,191" alt="" width="560">

13\. To set up RFM model, you first need to identify and define few parameters. These are: "Time /Date Column", "Customer ID", "Customer Name" (optional) and "Monetary" (amount spent). In our case we will select "created\_at" as date, "user\_id" as customer and "total" as monetary parameter.

<img src="https://ajeuwbhvhr.cloudimg.io/colony-recorder.s3.amazonaws.com/files/2024-04-30/1b006811-9ec3-4617-822b-c926bae4b2b7/user_cropped_screenshot.jpeg?tl_px=0,333&#x26;br_px=982,883&#x26;force_format=png&#x26;width=983&#x26;wat_scale=87&#x26;wat=1&#x26;wat_opacity=1&#x26;wat_gravity=northwest&#x26;wat_url=https://colony-recorder.s3.amazonaws.com/images/watermarks/EAB308_standard.png&#x26;wat_pad=374,422" alt="" width="560">

14\. To start training model click "Run scenario".

<img src="https://ajeuwbhvhr.cloudimg.io/colony-recorder.s3.amazonaws.com/files/2024-04-30/402c757e-a527-43f4-80dc-d735719d35b5/ascreenshot.jpeg?tl_px=162,520&#x26;br_px=935,953&#x26;force_format=png&#x26;width=774&#x26;wat_scale=69&#x26;wat=1&#x26;wat_opacity=1&#x26;wat_gravity=northwest&#x26;wat_url=https://colony-recorder.s3.amazonaws.com/images/watermarks/EAB308_standard.png&#x26;wat_pad=362,257" alt="" width="560">

15\. Wait for a few moments and Voilà! Your RFM Customer Segmentation model is trained. Click on the "Results" tab to get model insights.

<img src="https://ajeuwbhvhr.cloudimg.io/colony-recorder.s3.amazonaws.com/files/2024-04-30/02426152-a4f1-45a9-a4a5-a15b757d4af8/ascreenshot.jpeg?tl_px=257,0&#x26;br_px=1030,432&#x26;force_format=png&#x26;width=774&#x26;wat_scale=69&#x26;wat=1&#x26;wat_opacity=1&#x26;wat_gravity=northwest&#x26;wat_url=https://colony-recorder.s3.amazonaws.com/images/watermarks/EAB308_standard.png&#x26;wat_pad=362,179" alt="" width="560">

16\. You can navigate over different tabs to get deep insights into RFM analysis from different perspectives: Recency, Frequency, Monetary.

<img src="https://ajeuwbhvhr.cloudimg.io/colony-recorder.s3.amazonaws.com/files/2024-04-30/8ebb562f-84fe-4ca4-9519-add34891612e/ascreenshot.jpeg?tl_px=47,166&#x26;br_px=1194,807&#x26;force_format=png&#x26;width=1120.0&#x26;wat=1&#x26;wat_opacity=1&#x26;wat_gravity=northwest&#x26;wat_url=https://colony-recorder.s3.amazonaws.com/images/watermarks/EAB308_standard.png&#x26;wat_pad=524,277" alt="" width="560">

17\. Tab "RFM Scores" shows detailed explanation on different scores along with RFM segments and descriptions.

<img src="https://ajeuwbhvhr.cloudimg.io/colony-recorder.s3.amazonaws.com/files/2024-04-30/db29927e-cb6d-4517-80a7-84527f0938b6/user_cropped_screenshot.jpeg?tl_px=0,50&#x26;br_px=1146,691&#x26;force_format=png&#x26;width=1120.0&#x26;wat=1&#x26;wat_opacity=1&#x26;wat_gravity=northwest&#x26;wat_url=https://colony-recorder.s3.amazonaws.com/images/watermarks/EAB308_standard.png&#x26;wat_pad=167,277" alt="" width="560">

18\. Tab "RFM Analysis" gives you more details on different segments

<img src="https://ajeuwbhvhr.cloudimg.io/colony-recorder.s3.amazonaws.com/files/2024-04-30/9f006cd5-8685-4b19-8282-7dc9672021de/ascreenshot.jpeg?tl_px=71,121&#x26;br_px=1218,762&#x26;force_format=png&#x26;width=1120.0&#x26;wat=1&#x26;wat_opacity=1&#x26;wat_gravity=northwest&#x26;wat_url=https://colony-recorder.s3.amazonaws.com/images/watermarks/EAB308_standard.png&#x26;wat_pad=524,277" alt="" width="560">

19\. Tab "RFM Matrix" will show you number of customers belonging to different RFM segment. You can export matrix data to use Customer IDs for different business actions (e.g. exporting list of about to churn customers).

<img src="https://ajeuwbhvhr.cloudimg.io/colony-recorder.s3.amazonaws.com/files/2024-04-30/79121036-3e60-4bd9-8f3f-821ee23db7a1/user_cropped_screenshot.jpeg?tl_px=0,0&#x26;br_px=982,549&#x26;force_format=png&#x26;width=983&#x26;wat_scale=87&#x26;wat=1&#x26;wat_opacity=1&#x26;wat_gravity=northwest&#x26;wat_url=https://colony-recorder.s3.amazonaws.com/images/watermarks/EAB308_standard.png&#x26;wat_pad=364,-241" alt="" width="560">

\ <br>

<br>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.graphite-note.com/graphite-note-documentation/demo-datasets/demo-datasets/ecommerce-orders.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
