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?

条件分岐(if/then/else)による値の分類を生成AIにサポートさせる(SPSS Modeler データ加工逆引き7-26)

1
Posted at

条件分岐(if/then/else)による値の分類を生成AIにサポートさせる

スクリーンショット 2026-03-03 14.55.11.png

1.想定される利用目的

・数値データから種類の多いカテゴリに分類する際、ノード作成にAIコーディングツールを用いる

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

ストリーム

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

スクリーンショット 2026-03-03 14.55.57.png

a.データは以下の通りです。

スクリーンショット 2026-03-03 14.56.59.png

b.[フィールド作成]ノードを接続します。

スクリーンショット 2026-03-03 11.59.13.png

式ビルダボタンを押します。[論理]関数から以下の関数を選択します。

スクリーンショット 2026-03-03 11.59.33.png

関数の例を用いてプロンプトを記述します。

スクリーンショット 2026-03-03 11.59.55.png

生成AIにプロンプトを与えます。例ではIBM Bobを利用しています。

スクリーンショット 2026-03-03 15.00.40.png

結果をコピーします。

スクリーンショット 2026-03-03 14.59.42.png

[フィールド作成]ノード(b)にペーストしてフィールド名を[年代]とします。

スクリーンショット 2026-03-03 12.01.39.png

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

スクリーンショット 2026-03-03 12.01.47.png

注意事項

分類定義がExcelで準備されている場合は以下を参考にしてください。

4.参考情報

生年月日の列から年齢と年代の列を作成する

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?