1
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?

複数列の条件で値を割り当てる(SPSS Modeler データ加工逆引き3-21)

1
Last updated at Posted at 2022-11-10

複数列の条件で値を割り当てる

スクリーンショット 2022-11-07 13.58.09.png

1.想定される利用目的

・ 顧客行動予測のための目的変数作成
・ 設備故障や異常検知のための目的変数作成

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

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

スクリーンショット 2022-11-07 14.44.31.png

a.入力するデータは以下の通りです。
スクリーンショット 2022-11-07 14.46.33.png

b.[フィールド作成]ノードを編集します。
スクリーンショット 2022-11-07 14.47.19.png

式ビルダーを利用すると便利に入力できます。[論理]でリストからif then else elseif を選択します。
スクリーンショット 2022-11-07 14.48.05.png

[プレビュー]します。完成しました。
スクリーンショット 2022-11-07 14.48.36.png

[データ表示]で散布図を利用して分類の状態を確かめます。
スクリーンショット 2022-11-03 12.05.57.png

注意点

抜け漏れなく割り当てられているか注意します。今回はどれにも該当しないと欠損値[undef]にするといった工夫をしています。

4.参考情報

if-thenを派生モードで扱った記事

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

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

1
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
1
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?