2
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

区切り文字で顧客のN回目までの購入商品を1列内に記述する(SPSS Modeler データ加工逆引き7-19)

Last updated at Posted at 2024-01-17

区切り文字で顧客のN回目までの購入商品を1列内に記述する

スクリーンショット 2023-12-26 10.15.09.png

全く逆のプロセスを逆引き7-16で紹介しています。

1.想定される利用目的

・購入順序やWeb行動を顧客毎に要約
・ログ出力順序などを設備毎に要約

2.サンプルストリームのダウンロード

3.サンプルストリームの説明

スクリーンショット 2023-12-26 10.15.50.png

a.入力するデータは以下の通りです。 顧客の商品購入履歴情報です。

スクリーンショット 2023-12-26 10.17.03.png

b.[重複]ノードを編集します。

スクリーンショット 2023-12-26 10.17.44.png

[複合]タブで[次を基準とする値を入れる]に[カスタム...]を選択します。

スクリーンショット 2023-12-26 10.20.58.png

[値の連結]を選択し[カンマ]のラジオボタンを選びます。

スクリーンショット 2023-12-26 10.19.12.png

以下のように設定されます。

スクリーンショット 2023-12-26 10.19.28.png

[テーブル]を実行します。

スクリーンショット 2023-12-26 10.21.42.png

注意事項

購入順序を性格に保持するためにはタイムスタンプなどでソートします。

4.参考情報

区切り文字を含むフィールドの値を縦持ちする

SPSS Modeler ノードリファレンス目次

SPSS Modeler 逆引きストリーム集(データ加工)

2
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
2
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?