意思決定表の列

意思決定表の各列は、1 条件または 1 アクションを表します。

意思決定表の列には、表内のルールの条件とアクションが保持されます。 各列の上部のセルに、条件のオブジェクトまたはアクションのターゲットが示されます。

Row Grade Amount of loan Insurance required Insurance rate
    Min Max    
1 A < 100,000 false  
2 100,000 300,000 true 0.001

表内の番号付けされた各行が、1 つのルールを形成します。ルールは、その行内の条件が満たされたときに、同じ行のアクションを実行します。 例えば、例の 2 行目は以下のルールを記述しています。

if
   all of the following conditions are true:
      - the loan grade is A
      - the amount of the loan is between 100000 and 300000
then
   set the Insurance required to true
   set the Insurance rate to 0.001

ルール・ステートメントに複数の値が含まれる場合、1 つの条件を意思決定表の複数の列に分割することができます。 例えば、次の条件では、<min> と <max> の両方の値を指定する必要があります。

if
   the age of the customer is between <min> and <max>

次の意思決定表は、Age 列の条件を <min> と <max> のサブ列を使用して示しています。

Age group Age
  Min Max
1 18 25
2 26 40