Sample dataset for Next Best Action notebook#

datasets 名#

nba

作成されるテーブル#

table_name

count

nba_train

43196

nba_test

12829

データセット#

user_id

tstamp

state

action

reward

next_action

0

0d70ec81-722d-4876-a0d9-ab0df56eaf7f

2022-03-27 10:56:24

i_engage-digital-native-shoppers-in-stores

cpc

0

social-social

1

a6953f73-4721-4cdc-a35c-4ddb706ba9ed

2022-03-27 4:35:56

resources_thankyou

social-paid

2

cpc

2

ffd8cd42-5a94-42da-a0ea-f5244fe39dda

2022-03-27 15:01:52

blog_2019

referral

0.5

referral

3

66cdb8c1-b1de-4e04-9f4a-6fbe97105e58

2022-03-27 1:10:59

display_public

organic_search

0

cpc

4

ca60fada-f58c-4609-a062-100be7cabd7b

2022-03-27 9:09:35

display_public

referral

0

cpc

背景#

NBA(Next Best Action)向けのデータセット。顧客の状態(state)に対して実行した(action)に対して得られた報酬(reward)を元に、次の最適なアクションを予測する。

カラム#

#

Column

Dtype

説明

——

—–

0

user_id

string

ユーザーID

1

tstamp

string

タイムスタンプ

2

state

string

顧客の状態

3

action

string

顧客に対して実施したアクション

4

reward

float32

アクションに対して得られた報酬

5

next_action

string

次にとったアクション(NBA ではこのアクションを予測する)

カラム値のバリエーション#

col

unique

0

user_id

[ac372cd0-846c-46e0-b0b0-83fdf3fe24d5, fee397b…

1

tstamp

[2022-03-25 18:59:06, 2022-03-25 19:12:11, 202…

2

state

[resources_free-series-data-driven-marketers-g…

3

action

[cpc, organic_search, social, social-paid, ema…

4

reward

[0.0, 0.5, 2.0, 0.75, 1.0]

5

next_action

[organic_search, display, cpc, social, email, …