text: -- This SQL code was generated by sklearn2sql (development version).
  -- Copyright 2018
  
  -- Model : CaretClassifier_rf
  -- Dataset : FourClass_10
  -- Database : db2
  
  
  -- This SQL code can contain one or more statements, to be executed in the order they appear in this file.
  
  
  
  -- Model deployment code
  
  WITH "DT_node_lookup" AS 
  (SELECT "ADS"."KEY" AS "KEY", CASE WHEN ("ADS"."Feature_3" <= -1.3104754822735076) THEN CASE WHEN ("ADS"."Feature_9" <= -0.6628679076168997) THEN 3 ELSE CASE WHEN ("ADS"."Feature_8" <= 1.4670806711329818) THEN 7 ELSE 8 END END ELSE CASE WHEN ("ADS"."Feature_4" <= -0.203303893506645) THEN CASE WHEN ("ADS"."Feature_7" <= 0.24589546024425835) THEN CASE WHEN ("ADS"."Feature_1" <= -0.14349879138005486) THEN CASE WHEN ("ADS"."Feature_3" <= -1.1015614178316115) THEN 19 ELSE 20 END ELSE 14 END ELSE CASE WHEN ("ADS"."Feature_1" <= 1.0101896852595302) THEN CASE WHEN ("ADS"."Feature_6" <= -1.082240674120463) THEN 21 ELSE 22 END ELSE 16 END END ELSE CASE WHEN ("ADS"."Feature_3" <= 0.6257461887630232) THEN 11 ELSE CASE WHEN ("ADS"."Feature_0" <= -0.3354647397399484) THEN CASE WHEN ("ADS"."Feature_0" <= -1.4770508489732346) THEN 23 ELSE 24 END ELSE CASE WHEN ("ADS"."Feature_8" <= -0.44245503117710494) THEN 25 ELSE 26 END END END END END AS node_id_2 
  FROM "FOURCLASS_10" AS "ADS"), 
  "DT_node_data" AS 
  (SELECT "Values".nid AS nid, "Values"."P_0" AS "P_0", "Values"."P_1" AS "P_1", "Values"."P_2" AS "P_2", "Values"."P_3" AS "P_3", "Values"."D" AS "D", "Values"."DP" AS "DP" 
  FROM (SELECT 3 AS nid, 0.0 AS "P_0", 0.0 AS "P_1", 0.0 AS "P_2", 1.0 AS "P_3", 3 AS "D", 1.0 AS "DP" FROM SYSIBM.SYSDUMMY1 UNION ALL SELECT 7 AS nid, 0.0 AS "P_0", 0.0 AS "P_1", 1.0 AS "P_2", 0.0 AS "P_3", 2 AS "D", 1.0 AS "DP" FROM SYSIBM.SYSDUMMY1 UNION ALL SELECT 8 AS nid, 1.0 AS "P_0", 0.0 AS "P_1", 0.0 AS "P_2", 0.0 AS "P_3", 0 AS "D", 1.0 AS "DP" FROM SYSIBM.SYSDUMMY1 UNION ALL SELECT 11 AS nid, 1.0 AS "P_0", 0.0 AS "P_1", 0.0 AS "P_2", 0.0 AS "P_3", 0 AS "D", 1.0 AS "DP" FROM SYSIBM.SYSDUMMY1 UNION ALL SELECT 14 AS nid, 0.0 AS "P_0", 0.0 AS "P_1", 0.0 AS "P_2", 1.0 AS "P_3", 3 AS "D", 1.0 AS "DP" FROM SYSIBM.SYSDUMMY1 UNION ALL SELECT 16 AS nid, 0.0 AS "P_0", 1.0 AS "P_1", 0.0 AS "P_2", 0.0 AS "P_3", 1 AS "D", 1.0 AS "DP" FROM SYSIBM.SYSDUMMY1 UNION ALL SELECT 19 AS nid, 0.0 AS "P_0", 0.0 AS "P_1", 1.0 AS "P_2", 0.0 AS "P_3", 2 AS "D", 1.0 AS "DP" FROM SYSIBM.SYSDUMMY1 UNION ALL SELECT 20 AS nid, 1.0 AS "P_0", 0.0 AS "P_1", 0.0 AS "P_2", 0.0 AS "P_3", 0 AS "D", 1.0 AS "DP" FROM SYSIBM.SYSDUMMY1 UNION ALL SELECT 21 AS nid, 0.0 AS "P_0", 0.0 AS "P_1", 0.0 AS "P_2", 1.0 AS "P_3", 3 AS "D", 1.0 AS "DP" FROM SYSIBM.SYSDUMMY1 UNION ALL SELECT 22 AS nid, 0.0 AS "P_0", 0.0 AS "P_1", 1.0 AS "P_2", 0.0 AS "P_3", 2 AS "D", 1.0 AS "DP" FROM SYSIBM.SYSDUMMY1 UNION ALL SELECT 23 AS nid, 0.0 AS "P_0", 0.0 AS "P_1", 0.0 AS "P_2", 1.0 AS "P_3", 3 AS "D", 1.0 AS "DP" FROM SYSIBM.SYSDUMMY1 UNION ALL SELECT 24 AS nid, 0.0 AS "P_0", 1.0 AS "P_1", 0.0 AS "P_2", 0.0 AS "P_3", 1 AS "D", 1.0 AS "DP" FROM SYSIBM.SYSDUMMY1 UNION ALL SELECT 25 AS nid, 1.0 AS "P_0", 0.0 AS "P_1", 0.0 AS "P_2", 0.0 AS "P_3", 0 AS "D", 1.0 AS "DP" FROM SYSIBM.SYSDUMMY1 UNION ALL SELECT 26 AS nid, 0.0 AS "P_0", 1.0 AS "P_1", 0.0 AS "P_2", 0.0 AS "P_3", 1 AS "D", 1.0 AS "DP" FROM SYSIBM.SYSDUMMY1) AS "Values"), 
  "DT_Output" AS 
  (SELECT "DT_node_lookup"."KEY" AS "KEY", "DT_node_lookup".node_id_2 AS node_id_2, "DT_node_data".nid AS nid, "DT_node_data"."P_0" AS "P_0", "DT_node_data"."P_1" AS "P_1", "DT_node_data"."P_2" AS "P_2", "DT_node_data"."P_3" AS "P_3", "DT_node_data"."D" AS "D", "DT_node_data"."DP" AS "DP" 
  FROM "DT_node_lookup" LEFT OUTER JOIN "DT_node_data" ON "DT_node_lookup".node_id_2 = "DT_node_data".nid), 
  "RF_Model_0" AS 
  (SELECT "DT_Output"."KEY" AS "KEY", CAST(NULL AS DOUBLE) AS "Score_0", "DT_Output"."P_0" AS "Proba_0", CASE WHEN ("DT_Output"."P_0" IS NULL OR "DT_Output"."P_0" > 0.0) THEN ln("DT_Output"."P_0") ELSE -1.79769313486231e+308 END AS "LogProba_0", CAST(NULL AS DOUBLE) AS "Score_1", "DT_Output"."P_1" AS "Proba_1", CASE WHEN ("DT_Output"."P_1" IS NULL OR "DT_Output"."P_1" > 0.0) THEN ln("DT_Output"."P_1") ELSE -1.79769313486231e+308 END AS "LogProba_1", CAST(NULL AS DOUBLE) AS "Score_2", "DT_Output"."P_2" AS "Proba_2", CASE WHEN ("DT_Output"."P_2" IS NULL OR "DT_Output"."P_2" > 0.0) THEN ln("DT_Output"."P_2") ELSE -1.79769313486231e+308 END AS "LogProba_2", CAST(NULL AS DOUBLE) AS "Score_3", "DT_Output"."P_3" AS "Proba_3", CASE WHEN ("DT_Output"."P_3" IS NULL OR "DT_Output"."P_3" > 0.0) THEN ln("DT_Output"."P_3") ELSE -1.79769313486231e+308 END AS "LogProba_3" 
  FROM "DT_Output"), 
  "DT_node_lookup_1" AS 
  (SELECT "ADS"."KEY" AS "KEY", CASE WHEN ("ADS"."Feature_3" <= 1.17717013785162) THEN CASE WHEN ("ADS"."Feature_3" <= -1.7759541702481931) THEN 3 ELSE CASE WHEN ("ADS"."Feature_7" <= -0.2371379331811363) THEN CASE WHEN ("ADS"."Feature_4" <= 0.2914781803802585) THEN 11 ELSE 12 END ELSE CASE WHEN ("ADS"."Feature_2" <= -0.9599315134702424) THEN 13 ELSE 14 END END END ELSE CASE WHEN ("ADS"."Feature_7" <= -1.0119989879710114) THEN 5 ELSE CASE WHEN ("ADS"."Feature_0" <= -0.4025705674995986) THEN 9 ELSE CASE WHEN ("ADS"."Feature_0" <= -0.2517690642646716) THEN 15 ELSE CASE WHEN ("ADS"."Feature_3" <= 1.7188237609528243) THEN CASE WHEN ("ADS"."Feature_6" <= -0.6465469255391698) THEN 19 ELSE 20 END ELSE CASE WHEN ("ADS"."Feature_2" <= 0.2748861414056536) THEN CASE WHEN ("ADS"."Feature_0" <= 1.1707016062968858) THEN 23 ELSE 24 END ELSE CASE WHEN ("ADS"."Feature_7" <= 0.12264190215880168) THEN 25 ELSE 26 END END END END END END END AS node_id_2 
  FROM "FOURCLASS_10" AS "ADS"), 
  "DT_node_data_1" AS 
  (SELECT "Values".nid AS nid, "Values"."P_0" AS "P_0", "Values"."P_1" AS "P_1", "Values"."P_2" AS "P_2", "Values"."P_3" AS "P_3", "Values"."D" AS "D", "Values"."DP" AS "DP" 
  FROM (SELECT 3 AS nid, 0.0 AS "P_0", 0.0 AS "P_1", 1.0 AS "P_2", 0.0 AS "P_3", 2 AS "D", 1.0 AS "DP" FROM SYSIBM.SYSDUMMY1 UNION ALL SELECT 5 AS nid, 0.0 AS "P_0", 0.0 AS "P_1", 0.0 AS "P_2", 1.0 AS "P_3", 3 AS "D", 1.0 AS "DP" FROM SYSIBM.SYSDUMMY1 UNION ALL SELECT 9 AS nid, 0.0 AS "P_0", 1.0 AS "P_1", 0.0 AS "P_2", 0.0 AS "P_3", 1 AS "D", 1.0 AS "DP" FROM SYSIBM.SYSDUMMY1 UNION ALL SELECT 11 AS nid, 0.0 AS "P_0", 0.0 AS "P_1", 0.0 AS "P_2", 1.0 AS "P_3", 3 AS "D", 1.0 AS "DP" FROM SYSIBM.SYSDUMMY1 UNION ALL SELECT 12 AS nid, 1.0 AS "P_0", 0.0 AS "P_1", 0.0 AS "P_2", 0.0 AS "P_3", 0 AS "D", 1.0 AS "DP" FROM SYSIBM.SYSDUMMY1 UNION ALL SELECT 13 AS nid, 0.0 AS "P_0", 0.0 AS "P_1", 1.0 AS "P_2", 0.0 AS "P_3", 2 AS "D", 1.0 AS "DP" FROM SYSIBM.SYSDUMMY1 UNION ALL SELECT 14 AS nid, 1.0 AS "P_0", 0.0 AS "P_1", 0.0 AS "P_2", 0.0 AS "P_3", 0 AS "D", 1.0 AS "DP" FROM SYSIBM.SYSDUMMY1 UNION ALL SELECT 15 AS nid, 0.0 AS "P_0", 0.0 AS "P_1", 0.0 AS "P_2", 1.0 AS "P_3", 3 AS "D", 1.0 AS "DP" FROM SYSIBM.SYSDUMMY1 UNION ALL SELECT 19 AS nid, 1.0 AS "P_0", 0.0 AS "P_1", 0.0 AS "P_2", 0.0 AS "P_3", 0 AS "D", 1.0 AS "DP" FROM SYSIBM.SYSDUMMY1 UNION ALL SELECT 20 AS nid, 0.0 AS "P_0", 0.0 AS "P_1", 0.0 AS "P_2", 1.0 AS "P_3", 3 AS "D", 1.0 AS "DP" FROM SYSIBM.SYSDUMMY1 UNION ALL SELECT 23 AS nid, 0.0 AS "P_0", 0.0 AS "P_1", 1.0 AS "P_2", 0.0 AS "P_3", 2 AS "D", 1.0 AS "DP" FROM SYSIBM.SYSDUMMY1 UNION ALL SELECT 24 AS nid, 0.0 AS "P_0", 1.0 AS "P_1", 0.0 AS "P_2", 0.0 AS "P_3", 1 AS "D", 1.0 AS "DP" FROM SYSIBM.SYSDUMMY1 UNION ALL SELECT 25 AS nid, 0.0 AS "P_0", 0.0 AS "P_1", 0.0 AS "P_2", 1.0 AS "P_3", 3 AS "D", 1.0 AS "DP" FROM SYSIBM.SYSDUMMY1 UNION ALL SELECT 26 AS nid, 0.0 AS "P_0", 1.0 AS "P_1", 0.0 AS "P_2", 0.0 AS "P_3", 1 AS "D", 1.0 AS "DP" FROM SYSIBM.SYSDUMMY1) AS "Values"), 
  "DT_Output_1" AS 
  (SELECT "DT_node_lookup_1"."KEY" AS "KEY", "DT_node_lookup_1".node_id_2 AS node_id_2, "DT_node_data_1".nid AS nid, "DT_node_data_1"."P_0" AS "P_0", "DT_node_data_1"."P_1" AS "P_1", "DT_node_data_1"."P_2" AS "P_2", "DT_node_data_1"."P_3" AS "P_3", "DT_node_data_1"."D" AS "D", "DT_node_data_1"."DP" AS "DP" 
  FROM "DT_node_lookup_1" LEFT OUTER JOIN "DT_node_data_1" ON "DT_node_lookup_1".node_id_2 = "DT_node_data_1".nid), 
  "RF_Model_1" AS 
  (SELECT "DT_Output_1"."KEY" AS "KEY", CAST(NULL AS DOUBLE) AS "Score_0", "DT_Output_1"."P_0" AS "Proba_0", CASE WHEN ("DT_Output_1"."P_0" IS NULL OR "DT_Output_1"."P_0" > 0.0) THEN ln("DT_Output_1"."P_0") ELSE -1.79769313486231e+308 END AS "LogProba_0", CAST(NULL AS DOUBLE) AS "Score_1", "DT_Output_1"."P_1" AS "Proba_1", CASE WHEN ("DT_Output_1"."P_1" IS NULL OR "DT_Output_1"."P_1" > 0.0) THEN ln("DT_Output_1"."P_1") ELSE -1.79769313486231e+308 END AS "LogProba_1", CAST(NULL AS DOUBLE) AS "Score_2", "DT_Output_1"."P_2" AS "Proba_2", CASE WHEN ("DT_Output_1"."P_2" IS NULL OR "DT_Output_1"."P_2" > 0.0) THEN ln("DT_Output_1"."P_2") ELSE -1.79769313486231e+308 END AS "LogProba_2", CAST(NULL AS DOUBLE) AS "Score_3", "DT_Output_1"."P_3" AS "Proba_3", CASE WHEN ("DT_Output_1"."P_3" IS NULL OR "DT_Output_1"."P_3" > 0.0) THEN ln("DT_Output_1"."P_3") ELSE -1.79769313486231e+308 END AS "LogProba_3" 
  FROM "DT_Output_1"), 
  "DT_node_lookup_2" AS 
  (SELECT "ADS"."KEY" AS "KEY", CASE WHEN ("ADS"."Feature_7" <= 0.3623487370147764) THEN CASE WHEN ("ADS"."Feature_1" <= -0.22535620567448236) THEN 3 ELSE CASE WHEN ("ADS"."Feature_6" <= 0.8640479630080506) THEN CASE WHEN ("ADS"."Feature_5" <= -1.2943443992283956) THEN 13 ELSE CASE WHEN ("ADS"."Feature_4" <= -0.10374534635836884) THEN 17 ELSE CASE WHEN ("ADS"."Feature_6" <= -1.129628397202871) THEN 21 ELSE 22 END END END ELSE 8 END END ELSE CASE WHEN ("ADS"."Feature_6" <= -0.4379362947761458) THEN CASE WHEN ("ADS"."Feature_5" <= 0.3705366033482074) THEN 9 ELSE CASE WHEN ("ADS"."Feature_8" <= 0.8338120031259753) THEN CASE WHEN ("ADS"."Feature_2" <= 0.9420381427812364) THEN 19 ELSE 20 END ELSE 16 END END ELSE CASE WHEN ("ADS"."Feature_4" <= -0.2997691297682868) THEN 11 ELSE 12 END END END AS node_id_2 
  FROM "FOURCLASS_10" AS "ADS"), 
  "DT_node_data_2" AS 
  (SELECT "Values".nid AS nid, "Values"."P_0" AS "P_0", "Values"."P_1" AS "P_1", "Values"."P_2" AS "P_2", "Values"."P_3" AS "P_3", "Values"."D" AS "D", "Values"."DP" AS "DP" 
  FROM (SELECT 3 AS nid, 0.0 AS "P_0", 0.0 AS "P_1", 1.0 AS "P_2", 0.0 AS "P_3", 2 AS "D", 1.0 AS "DP" FROM SYSIBM.SYSDUMMY1 UNION ALL SELECT 8 AS nid, 1.0 AS "P_0", 0.0 AS "P_1", 0.0 AS "P_2", 0.0 AS "P_3", 0 AS "D", 1.0 AS "DP" FROM SYSIBM.SYSDUMMY1 UNION ALL SELECT 9 AS nid, 0.0 AS "P_0", 1.0 AS "P_1", 0.0 AS "P_2", 0.0 AS "P_3", 1 AS "D", 1.0 AS "DP" FROM SYSIBM.SYSDUMMY1 UNION ALL SELECT 11 AS nid, 0.0 AS "P_0", 0.0 AS "P_1", 1.0 AS "P_2", 0.0 AS "P_3", 2 AS "D", 1.0 AS "DP" FROM SYSIBM.SYSDUMMY1 UNION ALL SELECT 12 AS nid, 1.0 AS "P_0", 0.0 AS "P_1", 0.0 AS "P_2", 0.0 AS "P_3", 0 AS "D", 1.0 AS "DP" FROM SYSIBM.SYSDUMMY1 UNION ALL SELECT 13 AS nid, 0.0 AS "P_0", 0.0 AS "P_1", 1.0 AS "P_2", 0.0 AS "P_3", 2 AS "D", 1.0 AS "DP" FROM SYSIBM.SYSDUMMY1 UNION ALL SELECT 16 AS nid, 0.0 AS "P_0", 0.0 AS "P_1", 1.0 AS "P_2", 0.0 AS "P_3", 2 AS "D", 1.0 AS "DP" FROM SYSIBM.SYSDUMMY1 UNION ALL SELECT 17 AS nid, 0.0 AS "P_0", 0.0 AS "P_1", 0.0 AS "P_2", 1.0 AS "P_3", 3 AS "D", 1.0 AS "DP" FROM SYSIBM.SYSDUMMY1 UNION ALL SELECT 19 AS nid, 0.0 AS "P_0", 1.0 AS "P_1", 0.0 AS "P_2", 0.0 AS "P_3", 1 AS "D", 1.0 AS "DP" FROM SYSIBM.SYSDUMMY1 UNION ALL SELECT 20 AS nid, 0.0 AS "P_0", 0.0 AS "P_1", 0.0 AS "P_2", 1.0 AS "P_3", 3 AS "D", 1.0 AS "DP" FROM SYSIBM.SYSDUMMY1 UNION ALL SELECT 21 AS nid, 0.0 AS "P_0", 0.0 AS "P_1", 0.0 AS "P_2", 1.0 AS "P_3", 3 AS "D", 1.0 AS "DP" FROM SYSIBM.SYSDUMMY1 UNION ALL SELECT 22 AS nid, 0.0 AS "P_0", 1.0 AS "P_1", 0.0 AS "P_2", 0.0 AS "P_3", 1 AS "D", 1.0 AS "DP" FROM SYSIBM.SYSDUMMY1) AS "Values"), 
  "DT_Output_2" AS 
  (SELECT "DT_node_lookup_2"."KEY" AS "KEY", "DT_node_lookup_2".node_id_2 AS node_id_2, "DT_node_data_2".nid AS nid, "DT_node_data_2"."P_0" AS "P_0", "DT_node_data_2"."P_1" AS "P_1", "DT_node_data_2"."P_2" AS "P_2", "DT_node_data_2"."P_3" AS "P_3", "DT_node_data_2"."D" AS "D", "DT_node_data_2"."DP" AS "DP" 
  FROM "DT_node_lookup_2" LEFT OUTER JOIN "DT_node_data_2" ON "DT_node_lookup_2".node_id_2 = "DT_node_data_2".nid), 
  "RF_Model_2" AS 
  (SELECT "DT_Output_2"."KEY" AS "KEY", CAST(NULL AS DOUBLE) AS "Score_0", "DT_Output_2"."P_0" AS "Proba_0", CASE WHEN ("DT_Output_2"."P_0" IS NULL OR "DT_Output_2"."P_0" > 0.0) THEN ln("DT_Output_2"."P_0") ELSE -1.79769313486231e+308 END AS "LogProba_0", CAST(NULL AS DOUBLE) AS "Score_1", "DT_Output_2"."P_1" AS "Proba_1", CASE WHEN ("DT_Output_2"."P_1" IS NULL OR "DT_Output_2"."P_1" > 0.0) THEN ln("DT_Output_2"."P_1") ELSE -1.79769313486231e+308 END AS "LogProba_1", CAST(NULL AS DOUBLE) AS "Score_2", "DT_Output_2"."P_2" AS "Proba_2", CASE WHEN ("DT_Output_2"."P_2" IS NULL OR "DT_Output_2"."P_2" > 0.0) THEN ln("DT_Output_2"."P_2") ELSE -1.79769313486231e+308 END AS "LogProba_2", CAST(NULL AS DOUBLE) AS "Score_3", "DT_Output_2"."P_3" AS "Proba_3", CASE WHEN ("DT_Output_2"."P_3" IS NULL OR "DT_Output_2"."P_3" > 0.0) THEN ln("DT_Output_2"."P_3") ELSE -1.79769313486231e+308 END AS "LogProba_3" 
  FROM "DT_Output_2"), 
  "DT_node_lookup_3" AS 
  (SELECT "ADS"."KEY" AS "KEY", CASE WHEN ("ADS"."Feature_4" <= -0.14806882152123121) THEN CASE WHEN ("ADS"."Feature_1" <= -0.8241279994150015) THEN 3 ELSE CASE WHEN ("ADS"."Feature_7" <= 0.1897896488115781) THEN 7 ELSE CASE WHEN ("ADS"."Feature_8" <= 1.035046884077859) THEN CASE WHEN ("ADS"."Feature_4" <= -0.3798470228587244) THEN CASE WHEN ("ADS"."Feature_7" <= 3.26539273411678) THEN CASE WHEN ("ADS"."Feature_6" <= -0.5765142321146548) THEN 21 ELSE CASE WHEN ("ADS"."Feature_5" <= -0.04897757050784717) THEN 23 ELSE 24 END END ELSE 20 END ELSE 16 END ELSE CASE WHEN ("ADS"."Feature_0" <= 1.4076315272737674) THEN 17 ELSE 18 END END END END ELSE CASE WHEN ("ADS"."Feature_3" <= 1.5462548368844478) THEN CASE WHEN ("ADS"."Feature_1" <= -1.065590708976882) THEN 9 ELSE CASE WHEN ("ADS"."Feature_5" <= 1.0481320107840555) THEN 13 ELSE 14 END END ELSE 6 END END AS node_id_2 
  FROM "FOURCLASS_10" AS "ADS"), 
  "DT_node_data_3" AS 
  (SELECT "Values".nid AS nid, "Values"."P_0" AS "P_0", "Values"."P_1" AS "P_1", "Values"."P_2" AS "P_2", "Values"."P_3" AS "P_3", "Values"."D" AS "D", "Values"."DP" AS "DP" 
  FROM (SELECT 3 AS nid, 0.0 AS "P_0", 0.0 AS "P_1", 1.0 AS "P_2", 0.0 AS "P_3", 2 AS "D", 1.0 AS "DP" FROM SYSIBM.SYSDUMMY1 UNION ALL SELECT 6 AS nid, 0.0 AS "P_0", 1.0 AS "P_1", 0.0 AS "P_2", 0.0 AS "P_3", 1 AS "D", 1.0 AS "DP" FROM SYSIBM.SYSDUMMY1 UNION ALL SELECT 7 AS nid, 0.0 AS "P_0", 0.0 AS "P_1", 0.0 AS "P_2", 1.0 AS "P_3", 3 AS "D", 1.0 AS "DP" FROM SYSIBM.SYSDUMMY1 UNION ALL SELECT 9 AS nid, 0.0 AS "P_0", 0.0 AS "P_1", 1.0 AS "P_2", 0.0 AS "P_3", 2 AS "D", 1.0 AS "DP" FROM SYSIBM.SYSDUMMY1 UNION ALL SELECT 13 AS nid, 1.0 AS "P_0", 0.0 AS "P_1", 0.0 AS "P_2", 0.0 AS "P_3", 0 AS "D", 1.0 AS "DP" FROM SYSIBM.SYSDUMMY1 UNION ALL SELECT 14 AS nid, 0.0 AS "P_0", 0.0 AS "P_1", 1.0 AS "P_2", 0.0 AS "P_3", 2 AS "D", 1.0 AS "DP" FROM SYSIBM.SYSDUMMY1 UNION ALL SELECT 16 AS nid, 0.0 AS "P_0", 0.0 AS "P_1", 0.0 AS "P_2", 1.0 AS "P_3", 3 AS "D", 1.0 AS "DP" FROM SYSIBM.SYSDUMMY1 UNION ALL SELECT 17 AS nid, 0.0 AS "P_0", 0.0 AS "P_1", 1.0 AS "P_2", 0.0 AS "P_3", 2 AS "D", 1.0 AS "DP" FROM SYSIBM.SYSDUMMY1 UNION ALL SELECT 18 AS nid, 0.0 AS "P_0", 1.0 AS "P_1", 0.0 AS "P_2", 0.0 AS "P_3", 1 AS "D", 1.0 AS "DP" FROM SYSIBM.SYSDUMMY1 UNION ALL SELECT 20 AS nid, 0.0 AS "P_0", 0.0 AS "P_1", 1.0 AS "P_2", 0.0 AS "P_3", 2 AS "D", 1.0 AS "DP" FROM SYSIBM.SYSDUMMY1 UNION ALL SELECT 21 AS nid, 0.0 AS "P_0", 1.0 AS "P_1", 0.0 AS "P_2", 0.0 AS "P_3", 1 AS "D", 1.0 AS "DP" FROM SYSIBM.SYSDUMMY1 UNION ALL SELECT 23 AS nid, 0.0 AS "P_0", 0.0 AS "P_1", 0.0 AS "P_2", 1.0 AS "P_3", 3 AS "D", 1.0 AS "DP" FROM SYSIBM.SYSDUMMY1 UNION ALL SELECT 24 AS nid, 1.0 AS "P_0", 0.0 AS "P_1", 0.0 AS "P_2", 0.0 AS "P_3", 0 AS "D", 1.0 AS "DP" FROM SYSIBM.SYSDUMMY1) AS "Values"), 
  "DT_Output_3" AS 
  (SELECT "DT_node_lookup_3"."KEY" AS "KEY", "DT_node_lookup_3".node_id_2 AS node_id_2, "DT_node_data_3".nid AS nid, "DT_node_data_3"."P_0" AS "P_0", "DT_node_data_3"."P_1" AS "P_1", "DT_node_data_3"."P_2" AS "P_2", "DT_node_data_3"."P_3" AS "P_3", "DT_node_data_3"."D" AS "D", "DT_node_data_3"."DP" AS "DP" 
  FROM "DT_node_lookup_3" LEFT OUTER JOIN "DT_node_data_3" ON "DT_node_lookup_3".node_id_2 = "DT_node_data_3".nid), 
  "RF_Model_3" AS 
  (SELECT "DT_Output_3"."KEY" AS "KEY", CAST(NULL AS DOUBLE) AS "Score_0", "DT_Output_3"."P_0" AS "Proba_0", CASE WHEN ("DT_Output_3"."P_0" IS NULL OR "DT_Output_3"."P_0" > 0.0) THEN ln("DT_Output_3"."P_0") ELSE -1.79769313486231e+308 END AS "LogProba_0", CAST(NULL AS DOUBLE) AS "Score_1", "DT_Output_3"."P_1" AS "Proba_1", CASE WHEN ("DT_Output_3"."P_1" IS NULL OR "DT_Output_3"."P_1" > 0.0) THEN ln("DT_Output_3"."P_1") ELSE -1.79769313486231e+308 END AS "LogProba_1", CAST(NULL AS DOUBLE) AS "Score_2", "DT_Output_3"."P_2" AS "Proba_2", CASE WHEN ("DT_Output_3"."P_2" IS NULL OR "DT_Output_3"."P_2" > 0.0) THEN ln("DT_Output_3"."P_2") ELSE -1.79769313486231e+308 END AS "LogProba_2", CAST(NULL AS DOUBLE) AS "Score_3", "DT_Output_3"."P_3" AS "Proba_3", CASE WHEN ("DT_Output_3"."P_3" IS NULL OR "DT_Output_3"."P_3" > 0.0) THEN ln("DT_Output_3"."P_3") ELSE -1.79769313486231e+308 END AS "LogProba_3" 
  FROM "DT_Output_3"), 
  "DT_node_lookup_4" AS 
  (SELECT "ADS"."KEY" AS "KEY", CASE WHEN ("ADS"."Feature_1" <= -0.07957301908751756) THEN CASE WHEN ("ADS"."Feature_4" <= -0.3800335606162361) THEN 3 ELSE CASE WHEN ("ADS"."Feature_1" <= -1.8684014327841405) THEN 7 ELSE 8 END END ELSE CASE WHEN ("ADS"."Feature_7" <= 0.3623487370147764) THEN CASE WHEN ("ADS"."Feature_4" <= 0.974276807814186) THEN CASE WHEN ("ADS"."Feature_2" <= -1.900172252568027) THEN 13 ELSE 14 END ELSE CASE WHEN ("ADS"."Feature_5" <= -0.12828787696186938) THEN 15 ELSE 16 END END ELSE CASE WHEN ("ADS"."Feature_2" <= 0.003973880535460661) THEN CASE WHEN ("ADS"."Feature_5" <= 0.1420297631507093) THEN 17 ELSE CASE WHEN ("ADS"."Feature_1" <= 1.20031813097696) THEN 21 ELSE 22 END END ELSE CASE WHEN ("ADS"."Feature_7" <= 3.26539273411678) THEN 19 ELSE 20 END END END END AS node_id_2 
  FROM "FOURCLASS_10" AS "ADS"), 
  "DT_node_data_4" AS 
  (SELECT "Values".nid AS nid, "Values"."P_0" AS "P_0", "Values"."P_1" AS "P_1", "Values"."P_2" AS "P_2", "Values"."P_3" AS "P_3", "Values"."D" AS "D", "Values"."DP" AS "DP" 
  FROM (SELECT 3 AS nid, 0.0 AS "P_0", 0.0 AS "P_1", 1.0 AS "P_2", 0.0 AS "P_3", 2 AS "D", 1.0 AS "DP" FROM SYSIBM.SYSDUMMY1 UNION ALL SELECT 7 AS nid, 0.0 AS "P_0", 0.0 AS "P_1", 1.0 AS "P_2", 0.0 AS "P_3", 2 AS "D", 1.0 AS "DP" FROM SYSIBM.SYSDUMMY1 UNION ALL SELECT 8 AS nid, 1.0 AS "P_0", 0.0 AS "P_1", 0.0 AS "P_2", 0.0 AS "P_3", 0 AS "D", 1.0 AS "DP" FROM SYSIBM.SYSDUMMY1 UNION ALL SELECT 13 AS nid, 0.0 AS "P_0", 0.0 AS "P_1", 1.0 AS "P_2", 0.0 AS "P_3", 2 AS "D", 1.0 AS "DP" FROM SYSIBM.SYSDUMMY1 UNION ALL SELECT 14 AS nid, 0.0 AS "P_0", 0.0 AS "P_1", 0.0 AS "P_2", 1.0 AS "P_3", 3 AS "D", 1.0 AS "DP" FROM SYSIBM.SYSDUMMY1 UNION ALL SELECT 15 AS nid, 0.0 AS "P_0", 1.0 AS "P_1", 0.0 AS "P_2", 0.0 AS "P_3", 1 AS "D", 1.0 AS "DP" FROM SYSIBM.SYSDUMMY1 UNION ALL SELECT 16 AS nid, 1.0 AS "P_0", 0.0 AS "P_1", 0.0 AS "P_2", 0.0 AS "P_3", 0 AS "D", 1.0 AS "DP" FROM SYSIBM.SYSDUMMY1 UNION ALL SELECT 17 AS nid, 1.0 AS "P_0", 0.0 AS "P_1", 0.0 AS "P_2", 0.0 AS "P_3", 0 AS "D", 1.0 AS "DP" FROM SYSIBM.SYSDUMMY1 UNION ALL SELECT 19 AS nid, 0.0 AS "P_0", 1.0 AS "P_1", 0.0 AS "P_2", 0.0 AS "P_3", 1 AS "D", 1.0 AS "DP" FROM SYSIBM.SYSDUMMY1 UNION ALL SELECT 20 AS nid, 0.0 AS "P_0", 0.0 AS "P_1", 1.0 AS "P_2", 0.0 AS "P_3", 2 AS "D", 1.0 AS "DP" FROM SYSIBM.SYSDUMMY1 UNION ALL SELECT 21 AS nid, 0.0 AS "P_0", 0.0 AS "P_1", 1.0 AS "P_2", 0.0 AS "P_3", 2 AS "D", 1.0 AS "DP" FROM SYSIBM.SYSDUMMY1 UNION ALL SELECT 22 AS nid, 0.0 AS "P_0", 1.0 AS "P_1", 0.0 AS "P_2", 0.0 AS "P_3", 1 AS "D", 1.0 AS "DP" FROM SYSIBM.SYSDUMMY1) AS "Values"), 
  "DT_Output_4" AS 
  (SELECT "DT_node_lookup_4"."KEY" AS "KEY", "DT_node_lookup_4".node_id_2 AS node_id_2, "DT_node_data_4".nid AS nid, "DT_node_data_4"."P_0" AS "P_0", "DT_node_data_4"."P_1" AS "P_1", "DT_node_data_4"."P_2" AS "P_2", "DT_node_data_4"."P_3" AS "P_3", "DT_node_data_4"."D" AS "D", "DT_node_data_4"."DP" AS "DP" 
  FROM "DT_node_lookup_4" LEFT OUTER JOIN "DT_node_data_4" ON "DT_node_lookup_4".node_id_2 = "DT_node_data_4".nid), 
  "RF_Model_4" AS 
  (SELECT "DT_Output_4"."KEY" AS "KEY", CAST(NULL AS DOUBLE) AS "Score_0", "DT_Output_4"."P_0" AS "Proba_0", CASE WHEN ("DT_Output_4"."P_0" IS NULL OR "DT_Output_4"."P_0" > 0.0) THEN ln("DT_Output_4"."P_0") ELSE -1.79769313486231e+308 END AS "LogProba_0", CAST(NULL AS DOUBLE) AS "Score_1", "DT_Output_4"."P_1" AS "Proba_1", CASE WHEN ("DT_Output_4"."P_1" IS NULL OR "DT_Output_4"."P_1" > 0.0) THEN ln("DT_Output_4"."P_1") ELSE -1.79769313486231e+308 END AS "LogProba_1", CAST(NULL AS DOUBLE) AS "Score_2", "DT_Output_4"."P_2" AS "Proba_2", CASE WHEN ("DT_Output_4"."P_2" IS NULL OR "DT_Output_4"."P_2" > 0.0) THEN ln("DT_Output_4"."P_2") ELSE -1.79769313486231e+308 END AS "LogProba_2", CAST(NULL AS DOUBLE) AS "Score_3", "DT_Output_4"."P_3" AS "Proba_3", CASE WHEN ("DT_Output_4"."P_3" IS NULL OR "DT_Output_4"."P_3" > 0.0) THEN ln("DT_Output_4"."P_3") ELSE -1.79769313486231e+308 END AS "LogProba_3" 
  FROM "DT_Output_4"), 
  "DT_node_lookup_5" AS 
  (SELECT "ADS"."KEY" AS "KEY", CASE WHEN ("ADS"."Feature_3" <= -0.9904775228799458) THEN CASE WHEN ("ADS"."Feature_3" <= -1.9042950564979504) THEN 3 ELSE CASE WHEN ("ADS"."Feature_5" <= 0.1744342459714605) THEN 7 ELSE CASE WHEN ("ADS"."Feature_7" <= -1.025585199652104) THEN 13 ELSE 14 END END END ELSE CASE WHEN ("ADS"."Feature_7" <= 0.1897896488115781) THEN CASE WHEN ("ADS"."Feature_4" <= -0.20643146707254673) THEN 9 ELSE 10 END ELSE CASE WHEN ("ADS"."Feature_3" <= 1.3525825047269873) THEN CASE WHEN ("ADS"."Feature_0" <= -2.16022386707912) THEN 15 ELSE 16 END ELSE CASE WHEN ("ADS"."Feature_7" <= 3.1317645167723134) THEN CASE WHEN ("ADS"."Feature_5" <= 0.3626283975371174) THEN CASE WHEN ("ADS"."Feature_3" <= 1.7188237609528243) THEN 21 ELSE 22 END ELSE CASE WHEN ("ADS"."Feature_3" <= 2.0260928993896536) THEN 23 ELSE CASE WHEN ("ADS"."Feature_4" <= -0.9926899962356786) THEN 25 ELSE 26 END END END ELSE 18 END END END END AS node_id_2 
  FROM "FOURCLASS_10" AS "ADS"), 
  "DT_node_data_5" AS 
  (SELECT "Values".nid AS nid, "Values"."P_0" AS "P_0", "Values"."P_1" AS "P_1", "Values"."P_2" AS "P_2", "Values"."P_3" AS "P_3", "Values"."D" AS "D", "Values"."DP" AS "DP" 
  FROM (SELECT 3 AS nid, 0.0 AS "P_0", 0.0 AS "P_1", 1.0 AS "P_2", 0.0 AS "P_3", 2 AS "D", 1.0 AS "DP" FROM SYSIBM.SYSDUMMY1 UNION ALL SELECT 7 AS nid, 1.0 AS "P_0", 0.0 AS "P_1", 0.0 AS "P_2", 0.0 AS "P_3", 0 AS "D", 1.0 AS "DP" FROM SYSIBM.SYSDUMMY1 UNION ALL SELECT 9 AS nid, 0.0 AS "P_0", 0.0 AS "P_1", 0.0 AS "P_2", 1.0 AS "P_3", 3 AS "D", 1.0 AS "DP" FROM SYSIBM.SYSDUMMY1 UNION ALL SELECT 10 AS nid, 0.0 AS "P_0", 1.0 AS "P_1", 0.0 AS "P_2", 0.0 AS "P_3", 1 AS "D", 1.0 AS "DP" FROM SYSIBM.SYSDUMMY1 UNION ALL SELECT 13 AS nid, 0.0 AS "P_0", 0.0 AS "P_1", 0.0 AS "P_2", 1.0 AS "P_3", 3 AS "D", 1.0 AS "DP" FROM SYSIBM.SYSDUMMY1 UNION ALL SELECT 14 AS nid, 0.0 AS "P_0", 0.0 AS "P_1", 1.0 AS "P_2", 0.0 AS "P_3", 2 AS "D", 1.0 AS "DP" FROM SYSIBM.SYSDUMMY1 UNION ALL SELECT 15 AS nid, 0.0 AS "P_0", 0.0 AS "P_1", 1.0 AS "P_2", 0.0 AS "P_3", 2 AS "D", 1.0 AS "DP" FROM SYSIBM.SYSDUMMY1 UNION ALL SELECT 16 AS nid, 1.0 AS "P_0", 0.0 AS "P_1", 0.0 AS "P_2", 0.0 AS "P_3", 0 AS "D", 1.0 AS "DP" FROM SYSIBM.SYSDUMMY1 UNION ALL SELECT 18 AS nid, 0.0 AS "P_0", 0.0 AS "P_1", 1.0 AS "P_2", 0.0 AS "P_3", 2 AS "D", 1.0 AS "DP" FROM SYSIBM.SYSDUMMY1 UNION ALL SELECT 21 AS nid, 0.0 AS "P_0", 0.0 AS "P_1", 0.0 AS "P_2", 1.0 AS "P_3", 3 AS "D", 1.0 AS "DP" FROM SYSIBM.SYSDUMMY1 UNION ALL SELECT 22 AS nid, 0.0 AS "P_0", 1.0 AS "P_1", 0.0 AS "P_2", 0.0 AS "P_3", 1 AS "D", 1.0 AS "DP" FROM SYSIBM.SYSDUMMY1 UNION ALL SELECT 23 AS nid, 0.0 AS "P_0", 1.0 AS "P_1", 0.0 AS "P_2", 0.0 AS "P_3", 1 AS "D", 1.0 AS "DP" FROM SYSIBM.SYSDUMMY1 UNION ALL SELECT 25 AS nid, 0.0 AS "P_0", 0.0 AS "P_1", 1.0 AS "P_2", 0.0 AS "P_3", 2 AS "D", 1.0 AS "DP" FROM SYSIBM.SYSDUMMY1 UNION ALL SELECT 26 AS nid, 0.0 AS "P_0", 0.0 AS "P_1", 0.0 AS "P_2", 1.0 AS "P_3", 3 AS "D", 1.0 AS "DP" FROM SYSIBM.SYSDUMMY1) AS "Values"), 
  "DT_Output_5" AS 
  (SELECT "DT_node_lookup_5"."KEY" AS "KEY", "DT_node_lookup_5".node_id_2 AS node_id_2, "DT_node_data_5".nid AS nid, "DT_node_data_5"."P_0" AS "P_0", "DT_node_data_5"."P_1" AS "P_1", "DT_node_data_5"."P_2" AS "P_2", "DT_node_data_5"."P_3" AS "P_3", "DT_node_data_5"."D" AS "D", "DT_node_data_5"."DP" AS "DP" 
  FROM "DT_node_lookup_5" LEFT OUTER JOIN "DT_node_data_5" ON "DT_node_lookup_5".node_id_2 = "DT_node_data_5".nid), 
  "RF_Model_5" AS 
  (SELECT "DT_Output_5"."KEY" AS "KEY", CAST(NULL AS DOUBLE) AS "Score_0", "DT_Output_5"."P_0" AS "Proba_0", CASE WHEN ("DT_Output_5"."P_0" IS NULL OR "DT_Output_5"."P_0" > 0.0) THEN ln("DT_Output_5"."P_0") ELSE -1.79769313486231e+308 END AS "LogProba_0", CAST(NULL AS DOUBLE) AS "Score_1", "DT_Output_5"."P_1" AS "Proba_1", CASE WHEN ("DT_Output_5"."P_1" IS NULL OR "DT_Output_5"."P_1" > 0.0) THEN ln("DT_Output_5"."P_1") ELSE -1.79769313486231e+308 END AS "LogProba_1", CAST(NULL AS DOUBLE) AS "Score_2", "DT_Output_5"."P_2" AS "Proba_2", CASE WHEN ("DT_Output_5"."P_2" IS NULL OR "DT_Output_5"."P_2" > 0.0) THEN ln("DT_Output_5"."P_2") ELSE -1.79769313486231e+308 END AS "LogProba_2", CAST(NULL AS DOUBLE) AS "Score_3", "DT_Output_5"."P_3" AS "Proba_3", CASE WHEN ("DT_Output_5"."P_3" IS NULL OR "DT_Output_5"."P_3" > 0.0) THEN ln("DT_Output_5"."P_3") ELSE -1.79769313486231e+308 END AS "LogProba_3" 
  FROM "DT_Output_5"), 
  "DT_node_lookup_6" AS 
  (SELECT "ADS"."KEY" AS "KEY", CASE WHEN ("ADS"."Feature_4" <= -0.203303893506645) THEN CASE WHEN ("ADS"."Feature_1" <= 0.5040409950044317) THEN CASE WHEN ("ADS"."Feature_2" <= -0.3746552694232647) THEN CASE WHEN ("ADS"."Feature_7" <= 0.7075959782974015) THEN 15 ELSE 16 END ELSE CASE WHEN ("ADS"."Feature_4" <= -0.8387321492396209) THEN 17 ELSE 18 END END ELSE CASE WHEN ("ADS"."Feature_7" <= 0.9321537361644866) THEN CASE WHEN ("ADS"."Feature_7" <= 0.1897896488115781) THEN 19 ELSE CASE WHEN ("ADS"."Feature_3" <= 2.2022123005543155) THEN 25 ELSE 26 END END ELSE CASE WHEN ("ADS"."Feature_7" <= 3.1317645167723134) THEN CASE WHEN ("ADS"."Feature_6" <= -1.1089588588294448) THEN 27 ELSE 28 END ELSE 22 END END END ELSE CASE WHEN ("ADS"."Feature_3" <= 1.17717013785162) THEN CASE WHEN ("ADS"."Feature_6" <= 1.2075445604125503) THEN 11 ELSE 12 END ELSE CASE WHEN ("ADS"."Feature_1" <= 2.1733551282338124) THEN CASE WHEN ("ADS"."Feature_9" <= -1.1417204120969227) THEN 23 ELSE 24 END ELSE 14 END END END AS node_id_2 
  FROM "FOURCLASS_10" AS "ADS"), 
  "DT_node_data_6" AS 
  (SELECT "Values".nid AS nid, "Values"."P_0" AS "P_0", "Values"."P_1" AS "P_1", "Values"."P_2" AS "P_2", "Values"."P_3" AS "P_3", "Values"."D" AS "D", "Values"."DP" AS "DP" 
  FROM (SELECT 11 AS nid, 1.0 AS "P_0", 0.0 AS "P_1", 0.0 AS "P_2", 0.0 AS "P_3", 0 AS "D", 1.0 AS "DP" FROM SYSIBM.SYSDUMMY1 UNION ALL SELECT 12 AS nid, 0.0 AS "P_0", 0.0 AS "P_1", 1.0 AS "P_2", 0.0 AS "P_3", 2 AS "D", 1.0 AS "DP" FROM SYSIBM.SYSDUMMY1 UNION ALL SELECT 14 AS nid, 0.0 AS "P_0", 0.0 AS "P_1", 0.0 AS "P_2", 1.0 AS "P_3", 3 AS "D", 1.0 AS "DP" FROM SYSIBM.SYSDUMMY1 UNION ALL SELECT 15 AS nid, 0.0 AS "P_0", 0.0 AS "P_1", 1.0 AS "P_2", 0.0 AS "P_3", 2 AS "D", 1.0 AS "DP" FROM SYSIBM.SYSDUMMY1 UNION ALL SELECT 16 AS nid, 1.0 AS "P_0", 0.0 AS "P_1", 0.0 AS "P_2", 0.0 AS "P_3", 0 AS "D", 1.0 AS "DP" FROM SYSIBM.SYSDUMMY1 UNION ALL SELECT 17 AS nid, 0.0 AS "P_0", 1.0 AS "P_1", 0.0 AS "P_2", 0.0 AS "P_3", 1 AS "D", 1.0 AS "DP" FROM SYSIBM.SYSDUMMY1 UNION ALL SELECT 18 AS nid, 1.0 AS "P_0", 0.0 AS "P_1", 0.0 AS "P_2", 0.0 AS "P_3", 0 AS "D", 1.0 AS "DP" FROM SYSIBM.SYSDUMMY1 UNION ALL SELECT 19 AS nid, 0.0 AS "P_0", 0.0 AS "P_1", 0.0 AS "P_2", 1.0 AS "P_3", 3 AS "D", 1.0 AS "DP" FROM SYSIBM.SYSDUMMY1 UNION ALL SELECT 22 AS nid, 0.0 AS "P_0", 0.0 AS "P_1", 1.0 AS "P_2", 0.0 AS "P_3", 2 AS "D", 1.0 AS "DP" FROM SYSIBM.SYSDUMMY1 UNION ALL SELECT 23 AS nid, 1.0 AS "P_0", 0.0 AS "P_1", 0.0 AS "P_2", 0.0 AS "P_3", 0 AS "D", 1.0 AS "DP" FROM SYSIBM.SYSDUMMY1 UNION ALL SELECT 24 AS nid, 0.0 AS "P_0", 1.0 AS "P_1", 0.0 AS "P_2", 0.0 AS "P_3", 1 AS "D", 1.0 AS "DP" FROM SYSIBM.SYSDUMMY1 UNION ALL SELECT 25 AS nid, 0.0 AS "P_0", 1.0 AS "P_1", 0.0 AS "P_2", 0.0 AS "P_3", 1 AS "D", 1.0 AS "DP" FROM SYSIBM.SYSDUMMY1 UNION ALL SELECT 26 AS nid, 0.0 AS "P_0", 0.0 AS "P_1", 0.0 AS "P_2", 1.0 AS "P_3", 3 AS "D", 1.0 AS "DP" FROM SYSIBM.SYSDUMMY1 UNION ALL SELECT 27 AS nid, 0.0 AS "P_0", 1.0 AS "P_1", 0.0 AS "P_2", 0.0 AS "P_3", 1 AS "D", 1.0 AS "DP" FROM SYSIBM.SYSDUMMY1 UNION ALL SELECT 28 AS nid, 0.0 AS "P_0", 0.0 AS "P_1", 1.0 AS "P_2", 0.0 AS "P_3", 2 AS "D", 1.0 AS "DP" FROM SYSIBM.SYSDUMMY1) AS "Values"), 
  "DT_Output_6" AS 
  (SELECT "DT_node_lookup_6"."KEY" AS "KEY", "DT_node_lookup_6".node_id_2 AS node_id_2, "DT_node_data_6".nid AS nid, "DT_node_data_6"."P_0" AS "P_0", "DT_node_data_6"."P_1" AS "P_1", "DT_node_data_6"."P_2" AS "P_2", "DT_node_data_6"."P_3" AS "P_3", "DT_node_data_6"."D" AS "D", "DT_node_data_6"."DP" AS "DP" 
  FROM "DT_node_lookup_6" LEFT OUTER JOIN "DT_node_data_6" ON "DT_node_lookup_6".node_id_2 = "DT_node_data_6".nid), 
  "RF_Model_6" AS 
  (SELECT "DT_Output_6"."KEY" AS "KEY", CAST(NULL AS DOUBLE) AS "Score_0", "DT_Output_6"."P_0" AS "Proba_0", CASE WHEN ("DT_Output_6"."P_0" IS NULL OR "DT_Output_6"."P_0" > 0.0) THEN ln("DT_Output_6"."P_0") ELSE -1.79769313486231e+308 END AS "LogProba_0", CAST(NULL AS DOUBLE) AS "Score_1", "DT_Output_6"."P_1" AS "Proba_1", CASE WHEN ("DT_Output_6"."P_1" IS NULL OR "DT_Output_6"."P_1" > 0.0) THEN ln("DT_Output_6"."P_1") ELSE -1.79769313486231e+308 END AS "LogProba_1", CAST(NULL AS DOUBLE) AS "Score_2", "DT_Output_6"."P_2" AS "Proba_2", CASE WHEN ("DT_Output_6"."P_2" IS NULL OR "DT_Output_6"."P_2" > 0.0) THEN ln("DT_Output_6"."P_2") ELSE -1.79769313486231e+308 END AS "LogProba_2", CAST(NULL AS DOUBLE) AS "Score_3", "DT_Output_6"."P_3" AS "Proba_3", CASE WHEN ("DT_Output_6"."P_3" IS NULL OR "DT_Output_6"."P_3" > 0.0) THEN ln("DT_Output_6"."P_3") ELSE -1.79769313486231e+308 END AS "LogProba_3" 
  FROM "DT_Output_6"), 
  "DT_node_lookup_7" AS 
  (SELECT "ADS"."KEY" AS "KEY", CASE WHEN ("ADS"."Feature_3" <= -1.7759541702481931) THEN 1 ELSE CASE WHEN ("ADS"."Feature_7" <= 0.4184545484474567) THEN CASE WHEN ("ADS"."Feature_6" <= 0.3921454737086538) THEN CASE WHEN ("ADS"."Feature_4" <= 1.006863493801193) THEN 9 ELSE 10 END ELSE CASE WHEN ("ADS"."Feature_4" <= -0.8312485841568297) THEN 11 ELSE 12 END END ELSE CASE WHEN ("ADS"."Feature_3" <= 1.623023394042144) THEN CASE WHEN ("ADS"."Feature_2" <= -0.9112077437433316) THEN CASE WHEN ("ADS"."Feature_3" <= 1.1008279076946503) THEN 17 ELSE 18 END ELSE CASE WHEN ("ADS"."Feature_0" <= -2.16022386707912) THEN 19 ELSE 20 END END ELSE CASE WHEN ("ADS"."Feature_5" <= 1.7956550144150702) THEN CASE WHEN ("ADS"."Feature_7" <= 3.205465735717356) THEN 21 ELSE 22 END ELSE 16 END END END END AS node_id_2 
  FROM "FOURCLASS_10" AS "ADS"), 
  "DT_node_data_7" AS 
  (SELECT "Values".nid AS nid, "Values"."P_0" AS "P_0", "Values"."P_1" AS "P_1", "Values"."P_2" AS "P_2", "Values"."P_3" AS "P_3", "Values"."D" AS "D", "Values"."DP" AS "DP" 
  FROM (SELECT 1 AS nid, 0.0 AS "P_0", 0.0 AS "P_1", 1.0 AS "P_2", 0.0 AS "P_3", 2 AS "D", 1.0 AS "DP" FROM SYSIBM.SYSDUMMY1 UNION ALL SELECT 9 AS nid, 0.0 AS "P_0", 0.0 AS "P_1", 0.0 AS "P_2", 1.0 AS "P_3", 3 AS "D", 1.0 AS "DP" FROM SYSIBM.SYSDUMMY1 UNION ALL SELECT 10 AS nid, 0.0 AS "P_0", 1.0 AS "P_1", 0.0 AS "P_2", 0.0 AS "P_3", 1 AS "D", 1.0 AS "DP" FROM SYSIBM.SYSDUMMY1 UNION ALL SELECT 11 AS nid, 0.0 AS "P_0", 0.0 AS "P_1", 0.0 AS "P_2", 1.0 AS "P_3", 3 AS "D", 1.0 AS "DP" FROM SYSIBM.SYSDUMMY1 UNION ALL SELECT 12 AS nid, 1.0 AS "P_0", 0.0 AS "P_1", 0.0 AS "P_2", 0.0 AS "P_3", 0 AS "D", 1.0 AS "DP" FROM SYSIBM.SYSDUMMY1 UNION ALL SELECT 16 AS nid, 0.0 AS "P_0", 0.0 AS "P_1", 1.0 AS "P_2", 0.0 AS "P_3", 2 AS "D", 1.0 AS "DP" FROM SYSIBM.SYSDUMMY1 UNION ALL SELECT 17 AS nid, 0.0 AS "P_0", 0.0 AS "P_1", 1.0 AS "P_2", 0.0 AS "P_3", 2 AS "D", 1.0 AS "DP" FROM SYSIBM.SYSDUMMY1 UNION ALL SELECT 18 AS nid, 0.0 AS "P_0", 0.0 AS "P_1", 0.0 AS "P_2", 1.0 AS "P_3", 3 AS "D", 1.0 AS "DP" FROM SYSIBM.SYSDUMMY1 UNION ALL SELECT 19 AS nid, 0.0 AS "P_0", 0.0 AS "P_1", 1.0 AS "P_2", 0.0 AS "P_3", 2 AS "D", 1.0 AS "DP" FROM SYSIBM.SYSDUMMY1 UNION ALL SELECT 20 AS nid, 1.0 AS "P_0", 0.0 AS "P_1", 0.0 AS "P_2", 0.0 AS "P_3", 0 AS "D", 1.0 AS "DP" FROM SYSIBM.SYSDUMMY1 UNION ALL SELECT 21 AS nid, 0.0 AS "P_0", 1.0 AS "P_1", 0.0 AS "P_2", 0.0 AS "P_3", 1 AS "D", 1.0 AS "DP" FROM SYSIBM.SYSDUMMY1 UNION ALL SELECT 22 AS nid, 0.0 AS "P_0", 0.0 AS "P_1", 1.0 AS "P_2", 0.0 AS "P_3", 2 AS "D", 1.0 AS "DP" FROM SYSIBM.SYSDUMMY1) AS "Values"), 
  "DT_Output_7" AS 
  (SELECT "DT_node_lookup_7"."KEY" AS "KEY", "DT_node_lookup_7".node_id_2 AS node_id_2, "DT_node_data_7".nid AS nid, "DT_node_data_7"."P_0" AS "P_0", "DT_node_data_7"."P_1" AS "P_1", "DT_node_data_7"."P_2" AS "P_2", "DT_node_data_7"."P_3" AS "P_3", "DT_node_data_7"."D" AS "D", "DT_node_data_7"."DP" AS "DP" 
  FROM "DT_node_lookup_7" LEFT OUTER JOIN "DT_node_data_7" ON "DT_node_lookup_7".node_id_2 = "DT_node_data_7".nid), 
  "RF_Model_7" AS 
  (SELECT "DT_Output_7"."KEY" AS "KEY", CAST(NULL AS DOUBLE) AS "Score_0", "DT_Output_7"."P_0" AS "Proba_0", CASE WHEN ("DT_Output_7"."P_0" IS NULL OR "DT_Output_7"."P_0" > 0.0) THEN ln("DT_Output_7"."P_0") ELSE -1.79769313486231e+308 END AS "LogProba_0", CAST(NULL AS DOUBLE) AS "Score_1", "DT_Output_7"."P_1" AS "Proba_1", CASE WHEN ("DT_Output_7"."P_1" IS NULL OR "DT_Output_7"."P_1" > 0.0) THEN ln("DT_Output_7"."P_1") ELSE -1.79769313486231e+308 END AS "LogProba_1", CAST(NULL AS DOUBLE) AS "Score_2", "DT_Output_7"."P_2" AS "Proba_2", CASE WHEN ("DT_Output_7"."P_2" IS NULL OR "DT_Output_7"."P_2" > 0.0) THEN ln("DT_Output_7"."P_2") ELSE -1.79769313486231e+308 END AS "LogProba_2", CAST(NULL AS DOUBLE) AS "Score_3", "DT_Output_7"."P_3" AS "Proba_3", CASE WHEN ("DT_Output_7"."P_3" IS NULL OR "DT_Output_7"."P_3" > 0.0) THEN ln("DT_Output_7"."P_3") ELSE -1.79769313486231e+308 END AS "LogProba_3" 
  FROM "DT_Output_7"), 
  "DT_node_lookup_8" AS 
  (SELECT "ADS"."KEY" AS "KEY", CASE WHEN ("ADS"."Feature_3" <= 0.6375722768103695) THEN CASE WHEN ("ADS"."Feature_5" <= 0.1744342459714605) THEN CASE WHEN ("ADS"."Feature_5" <= -1.0711228234731072) THEN 7 ELSE 8 END ELSE CASE WHEN ("ADS"."Feature_8" <= -0.4956623818169349) THEN 9 ELSE CASE WHEN ("ADS"."Feature_6" <= -0.21960283998657712) THEN 15 ELSE 16 END END END ELSE CASE WHEN ("ADS"."Feature_7" <= 0.3623487370147764) THEN CASE WHEN ("ADS"."Feature_4" <= -0.2745497396758524) THEN 11 ELSE CASE WHEN ("ADS"."Feature_5" <= 0.14376491327018492) THEN 17 ELSE 18 END END ELSE CASE WHEN ("ADS"."Feature_8" <= 1.039745740874828) THEN 13 ELSE CASE WHEN ("ADS"."Feature_0" <= 1.4076315272737674) THEN 19 ELSE 20 END END END END AS node_id_2 
  FROM "FOURCLASS_10" AS "ADS"), 
  "DT_node_data_8" AS 
  (SELECT "Values".nid AS nid, "Values"."P_0" AS "P_0", "Values"."P_1" AS "P_1", "Values"."P_2" AS "P_2", "Values"."P_3" AS "P_3", "Values"."D" AS "D", "Values"."DP" AS "DP" 
  FROM (SELECT 7 AS nid, 0.0 AS "P_0", 0.0 AS "P_1", 1.0 AS "P_2", 0.0 AS "P_3", 2 AS "D", 1.0 AS "DP" FROM SYSIBM.SYSDUMMY1 UNION ALL SELECT 8 AS nid, 1.0 AS "P_0", 0.0 AS "P_1", 0.0 AS "P_2", 0.0 AS "P_3", 0 AS "D", 1.0 AS "DP" FROM SYSIBM.SYSDUMMY1 UNION ALL SELECT 9 AS nid, 0.0 AS "P_0", 0.0 AS "P_1", 0.0 AS "P_2", 1.0 AS "P_3", 3 AS "D", 1.0 AS "DP" FROM SYSIBM.SYSDUMMY1 UNION ALL SELECT 11 AS nid, 0.0 AS "P_0", 0.0 AS "P_1", 0.0 AS "P_2", 1.0 AS "P_3", 3 AS "D", 1.0 AS "DP" FROM SYSIBM.SYSDUMMY1 UNION ALL SELECT 13 AS nid, 0.0 AS "P_0", 1.0 AS "P_1", 0.0 AS "P_2", 0.0 AS "P_3", 1 AS "D", 1.0 AS "DP" FROM SYSIBM.SYSDUMMY1 UNION ALL SELECT 15 AS nid, 1.0 AS "P_0", 0.0 AS "P_1", 0.0 AS "P_2", 0.0 AS "P_3", 0 AS "D", 1.0 AS "DP" FROM SYSIBM.SYSDUMMY1 UNION ALL SELECT 16 AS nid, 0.0 AS "P_0", 0.0 AS "P_1", 1.0 AS "P_2", 0.0 AS "P_3", 2 AS "D", 1.0 AS "DP" FROM SYSIBM.SYSDUMMY1 UNION ALL SELECT 17 AS nid, 0.0 AS "P_0", 0.0 AS "P_1", 0.0 AS "P_2", 1.0 AS "P_3", 3 AS "D", 1.0 AS "DP" FROM SYSIBM.SYSDUMMY1 UNION ALL SELECT 18 AS nid, 0.0 AS "P_0", 1.0 AS "P_1", 0.0 AS "P_2", 0.0 AS "P_3", 1 AS "D", 1.0 AS "DP" FROM SYSIBM.SYSDUMMY1 UNION ALL SELECT 19 AS nid, 0.0 AS "P_0", 0.0 AS "P_1", 1.0 AS "P_2", 0.0 AS "P_3", 2 AS "D", 1.0 AS "DP" FROM SYSIBM.SYSDUMMY1 UNION ALL SELECT 20 AS nid, 0.0 AS "P_0", 1.0 AS "P_1", 0.0 AS "P_2", 0.0 AS "P_3", 1 AS "D", 1.0 AS "DP" FROM SYSIBM.SYSDUMMY1) AS "Values"), 
  "DT_Output_8" AS 
  (SELECT "DT_node_lookup_8"."KEY" AS "KEY", "DT_node_lookup_8".node_id_2 AS node_id_2, "DT_node_data_8".nid AS nid, "DT_node_data_8"."P_0" AS "P_0", "DT_node_data_8"."P_1" AS "P_1", "DT_node_data_8"."P_2" AS "P_2", "DT_node_data_8"."P_3" AS "P_3", "DT_node_data_8"."D" AS "D", "DT_node_data_8"."DP" AS "DP" 
  FROM "DT_node_lookup_8" LEFT OUTER JOIN "DT_node_data_8" ON "DT_node_lookup_8".node_id_2 = "DT_node_data_8".nid), 
  "RF_Model_8" AS 
  (SELECT "DT_Output_8"."KEY" AS "KEY", CAST(NULL AS DOUBLE) AS "Score_0", "DT_Output_8"."P_0" AS "Proba_0", CASE WHEN ("DT_Output_8"."P_0" IS NULL OR "DT_Output_8"."P_0" > 0.0) THEN ln("DT_Output_8"."P_0") ELSE -1.79769313486231e+308 END AS "LogProba_0", CAST(NULL AS DOUBLE) AS "Score_1", "DT_Output_8"."P_1" AS "Proba_1", CASE WHEN ("DT_Output_8"."P_1" IS NULL OR "DT_Output_8"."P_1" > 0.0) THEN ln("DT_Output_8"."P_1") ELSE -1.79769313486231e+308 END AS "LogProba_1", CAST(NULL AS DOUBLE) AS "Score_2", "DT_Output_8"."P_2" AS "Proba_2", CASE WHEN ("DT_Output_8"."P_2" IS NULL OR "DT_Output_8"."P_2" > 0.0) THEN ln("DT_Output_8"."P_2") ELSE -1.79769313486231e+308 END AS "LogProba_2", CAST(NULL AS DOUBLE) AS "Score_3", "DT_Output_8"."P_3" AS "Proba_3", CASE WHEN ("DT_Output_8"."P_3" IS NULL OR "DT_Output_8"."P_3" > 0.0) THEN ln("DT_Output_8"."P_3") ELSE -1.79769313486231e+308 END AS "LogProba_3" 
  FROM "DT_Output_8"), 
  "DT_node_lookup_9" AS 
  (SELECT "ADS"."KEY" AS "KEY", CASE WHEN ("ADS"."Feature_3" <= -0.3240382040871236) THEN CASE WHEN ("ADS"."Feature_3" <= -1.7493424455531157) THEN 3 ELSE CASE WHEN ("ADS"."Feature_4" <= -2.632068655507592) THEN 7 ELSE CASE WHEN ("ADS"."Feature_5" <= 1.2099190449403876) THEN 13 ELSE CASE WHEN ("ADS"."Feature_3" <= -1.3429844087446063) THEN 17 ELSE 18 END END END END ELSE CASE WHEN ("ADS"."Feature_7" <= -0.23414489033088606) THEN CASE WHEN ("ADS"."Feature_5" <= 0.9804678912994004) THEN 9 ELSE 10 END ELSE CASE WHEN ("ADS"."Feature_1" <= -0.12893121137198127) THEN 11 ELSE CASE WHEN ("ADS"."Feature_8" <= 1.0354389506623247) THEN CASE WHEN ("ADS"."Feature_0" <= -1.4770508489732346) THEN 19 ELSE CASE WHEN ("ADS"."Feature_2" <= -0.9305158309537912) THEN CASE WHEN ("ADS"."Feature_0" <= 0.9061845180962926) THEN 23 ELSE CASE WHEN ("ADS"."Feature_2" <= -2.096952770475462) THEN 25 ELSE 26 END END ELSE 22 END END ELSE 16 END END END END AS node_id_2 
  FROM "FOURCLASS_10" AS "ADS"), 
  "DT_node_data_9" AS 
  (SELECT "Values".nid AS nid, "Values"."P_0" AS "P_0", "Values"."P_1" AS "P_1", "Values"."P_2" AS "P_2", "Values"."P_3" AS "P_3", "Values"."D" AS "D", "Values"."DP" AS "DP" 
  FROM (SELECT 3 AS nid, 0.0 AS "P_0", 0.0 AS "P_1", 1.0 AS "P_2", 0.0 AS "P_3", 2 AS "D", 1.0 AS "DP" FROM SYSIBM.SYSDUMMY1 UNION ALL SELECT 7 AS nid, 0.0 AS "P_0", 0.0 AS "P_1", 1.0 AS "P_2", 0.0 AS "P_3", 2 AS "D", 1.0 AS "DP" FROM SYSIBM.SYSDUMMY1 UNION ALL SELECT 9 AS nid, 0.0 AS "P_0", 0.0 AS "P_1", 0.0 AS "P_2", 1.0 AS "P_3", 3 AS "D", 1.0 AS "DP" FROM SYSIBM.SYSDUMMY1 UNION ALL SELECT 10 AS nid, 0.0 AS "P_0", 1.0 AS "P_1", 0.0 AS "P_2", 0.0 AS "P_3", 1 AS "D", 1.0 AS "DP" FROM SYSIBM.SYSDUMMY1 UNION ALL SELECT 11 AS nid, 1.0 AS "P_0", 0.0 AS "P_1", 0.0 AS "P_2", 0.0 AS "P_3", 0 AS "D", 1.0 AS "DP" FROM SYSIBM.SYSDUMMY1 UNION ALL SELECT 13 AS nid, 1.0 AS "P_0", 0.0 AS "P_1", 0.0 AS "P_2", 0.0 AS "P_3", 0 AS "D", 1.0 AS "DP" FROM SYSIBM.SYSDUMMY1 UNION ALL SELECT 16 AS nid, 0.0 AS "P_0", 0.0 AS "P_1", 1.0 AS "P_2", 0.0 AS "P_3", 2 AS "D", 1.0 AS "DP" FROM SYSIBM.SYSDUMMY1 UNION ALL SELECT 17 AS nid, 0.0 AS "P_0", 0.0 AS "P_1", 0.0 AS "P_2", 1.0 AS "P_3", 3 AS "D", 1.0 AS "DP" FROM SYSIBM.SYSDUMMY1 UNION ALL SELECT 18 AS nid, 0.0 AS "P_0", 0.0 AS "P_1", 1.0 AS "P_2", 0.0 AS "P_3", 2 AS "D", 1.0 AS "DP" FROM SYSIBM.SYSDUMMY1 UNION ALL SELECT 19 AS nid, 0.0 AS "P_0", 0.0 AS "P_1", 0.0 AS "P_2", 1.0 AS "P_3", 3 AS "D", 1.0 AS "DP" FROM SYSIBM.SYSDUMMY1 UNION ALL SELECT 22 AS nid, 0.0 AS "P_0", 1.0 AS "P_1", 0.0 AS "P_2", 0.0 AS "P_3", 1 AS "D", 1.0 AS "DP" FROM SYSIBM.SYSDUMMY1 UNION ALL SELECT 23 AS nid, 0.0 AS "P_0", 0.0 AS "P_1", 0.0 AS "P_2", 1.0 AS "P_3", 3 AS "D", 1.0 AS "DP" FROM SYSIBM.SYSDUMMY1 UNION ALL SELECT 25 AS nid, 0.0 AS "P_0", 0.0 AS "P_1", 1.0 AS "P_2", 0.0 AS "P_3", 2 AS "D", 1.0 AS "DP" FROM SYSIBM.SYSDUMMY1 UNION ALL SELECT 26 AS nid, 0.0 AS "P_0", 1.0 AS "P_1", 0.0 AS "P_2", 0.0 AS "P_3", 1 AS "D", 1.0 AS "DP" FROM SYSIBM.SYSDUMMY1) AS "Values"), 
  "DT_Output_9" AS 
  (SELECT "DT_node_lookup_9"."KEY" AS "KEY", "DT_node_lookup_9".node_id_2 AS node_id_2, "DT_node_data_9".nid AS nid, "DT_node_data_9"."P_0" AS "P_0", "DT_node_data_9"."P_1" AS "P_1", "DT_node_data_9"."P_2" AS "P_2", "DT_node_data_9"."P_3" AS "P_3", "DT_node_data_9"."D" AS "D", "DT_node_data_9"."DP" AS "DP" 
  FROM "DT_node_lookup_9" LEFT OUTER JOIN "DT_node_data_9" ON "DT_node_lookup_9".node_id_2 = "DT_node_data_9".nid), 
  "RF_Model_9" AS 
  (SELECT "DT_Output_9"."KEY" AS "KEY", CAST(NULL AS DOUBLE) AS "Score_0", "DT_Output_9"."P_0" AS "Proba_0", CASE WHEN ("DT_Output_9"."P_0" IS NULL OR "DT_Output_9"."P_0" > 0.0) THEN ln("DT_Output_9"."P_0") ELSE -1.79769313486231e+308 END AS "LogProba_0", CAST(NULL AS DOUBLE) AS "Score_1", "DT_Output_9"."P_1" AS "Proba_1", CASE WHEN ("DT_Output_9"."P_1" IS NULL OR "DT_Output_9"."P_1" > 0.0) THEN ln("DT_Output_9"."P_1") ELSE -1.79769313486231e+308 END AS "LogProba_1", CAST(NULL AS DOUBLE) AS "Score_2", "DT_Output_9"."P_2" AS "Proba_2", CASE WHEN ("DT_Output_9"."P_2" IS NULL OR "DT_Output_9"."P_2" > 0.0) THEN ln("DT_Output_9"."P_2") ELSE -1.79769313486231e+308 END AS "LogProba_2", CAST(NULL AS DOUBLE) AS "Score_3", "DT_Output_9"."P_3" AS "Proba_3", CASE WHEN ("DT_Output_9"."P_3" IS NULL OR "DT_Output_9"."P_3" > 0.0) THEN ln("DT_Output_9"."P_3") ELSE -1.79769313486231e+308 END AS "LogProba_3" 
  FROM "DT_Output_9"), 
  "RF_0" AS 
  (SELECT "RF_esu_0"."KEY" AS "KEY", "RF_esu_0"."Score_0" AS "Score_0", "RF_esu_0"."Proba_0" AS "Proba_0", "RF_esu_0"."LogProba_0" AS "LogProba_0", "RF_esu_0"."Score_1" AS "Score_1", "RF_esu_0"."Proba_1" AS "Proba_1", "RF_esu_0"."LogProba_1" AS "LogProba_1", "RF_esu_0"."Score_2" AS "Score_2", "RF_esu_0"."Proba_2" AS "Proba_2", "RF_esu_0"."LogProba_2" AS "LogProba_2", "RF_esu_0"."Score_3" AS "Score_3", "RF_esu_0"."Proba_3" AS "Proba_3", "RF_esu_0"."LogProba_3" AS "LogProba_3" 
  FROM (SELECT "RF_Model_0"."KEY" AS "KEY", CAST("RF_Model_0"."Score_0" AS DOUBLE) AS "Score_0", CAST("RF_Model_0"."Proba_0" AS DOUBLE) AS "Proba_0", CAST("RF_Model_0"."LogProba_0" AS DOUBLE) AS "LogProba_0", CAST("RF_Model_0"."Score_1" AS DOUBLE) AS "Score_1", CAST("RF_Model_0"."Proba_1" AS DOUBLE) AS "Proba_1", CAST("RF_Model_0"."LogProba_1" AS DOUBLE) AS "LogProba_1", CAST("RF_Model_0"."Score_2" AS DOUBLE) AS "Score_2", CAST("RF_Model_0"."Proba_2" AS DOUBLE) AS "Proba_2", CAST("RF_Model_0"."LogProba_2" AS DOUBLE) AS "LogProba_2", CAST("RF_Model_0"."Score_3" AS DOUBLE) AS "Score_3", CAST("RF_Model_0"."Proba_3" AS DOUBLE) AS "Proba_3", CAST("RF_Model_0"."LogProba_3" AS DOUBLE) AS "LogProba_3" 
  FROM "RF_Model_0" UNION ALL SELECT "RF_Model_1"."KEY" AS "KEY", CAST("RF_Model_1"."Score_0" AS DOUBLE) AS "Score_0", CAST("RF_Model_1"."Proba_0" AS DOUBLE) AS "Proba_0", CAST("RF_Model_1"."LogProba_0" AS DOUBLE) AS "LogProba_0", CAST("RF_Model_1"."Score_1" AS DOUBLE) AS "Score_1", CAST("RF_Model_1"."Proba_1" AS DOUBLE) AS "Proba_1", CAST("RF_Model_1"."LogProba_1" AS DOUBLE) AS "LogProba_1", CAST("RF_Model_1"."Score_2" AS DOUBLE) AS "Score_2", CAST("RF_Model_1"."Proba_2" AS DOUBLE) AS "Proba_2", CAST("RF_Model_1"."LogProba_2" AS DOUBLE) AS "LogProba_2", CAST("RF_Model_1"."Score_3" AS DOUBLE) AS "Score_3", CAST("RF_Model_1"."Proba_3" AS DOUBLE) AS "Proba_3", CAST("RF_Model_1"."LogProba_3" AS DOUBLE) AS "LogProba_3" 
  FROM "RF_Model_1" UNION ALL SELECT "RF_Model_2"."KEY" AS "KEY", CAST("RF_Model_2"."Score_0" AS DOUBLE) AS "Score_0", CAST("RF_Model_2"."Proba_0" AS DOUBLE) AS "Proba_0", CAST("RF_Model_2"."LogProba_0" AS DOUBLE) AS "LogProba_0", CAST("RF_Model_2"."Score_1" AS DOUBLE) AS "Score_1", CAST("RF_Model_2"."Proba_1" AS DOUBLE) AS "Proba_1", CAST("RF_Model_2"."LogProba_1" AS DOUBLE) AS "LogProba_1", CAST("RF_Model_2"."Score_2" AS DOUBLE) AS "Score_2", CAST("RF_Model_2"."Proba_2" AS DOUBLE) AS "Proba_2", CAST("RF_Model_2"."LogProba_2" AS DOUBLE) AS "LogProba_2", CAST("RF_Model_2"."Score_3" AS DOUBLE) AS "Score_3", CAST("RF_Model_2"."Proba_3" AS DOUBLE) AS "Proba_3", CAST("RF_Model_2"."LogProba_3" AS DOUBLE) AS "LogProba_3" 
  FROM "RF_Model_2" UNION ALL SELECT "RF_Model_3"."KEY" AS "KEY", CAST("RF_Model_3"."Score_0" AS DOUBLE) AS "Score_0", CAST("RF_Model_3"."Proba_0" AS DOUBLE) AS "Proba_0", CAST("RF_Model_3"."LogProba_0" AS DOUBLE) AS "LogProba_0", CAST("RF_Model_3"."Score_1" AS DOUBLE) AS "Score_1", CAST("RF_Model_3"."Proba_1" AS DOUBLE) AS "Proba_1", CAST("RF_Model_3"."LogProba_1" AS DOUBLE) AS "LogProba_1", CAST("RF_Model_3"."Score_2" AS DOUBLE) AS "Score_2", CAST("RF_Model_3"."Proba_2" AS DOUBLE) AS "Proba_2", CAST("RF_Model_3"."LogProba_2" AS DOUBLE) AS "LogProba_2", CAST("RF_Model_3"."Score_3" AS DOUBLE) AS "Score_3", CAST("RF_Model_3"."Proba_3" AS DOUBLE) AS "Proba_3", CAST("RF_Model_3"."LogProba_3" AS DOUBLE) AS "LogProba_3" 
  FROM "RF_Model_3" UNION ALL SELECT "RF_Model_4"."KEY" AS "KEY", CAST("RF_Model_4"."Score_0" AS DOUBLE) AS "Score_0", CAST("RF_Model_4"."Proba_0" AS DOUBLE) AS "Proba_0", CAST("RF_Model_4"."LogProba_0" AS DOUBLE) AS "LogProba_0", CAST("RF_Model_4"."Score_1" AS DOUBLE) AS "Score_1", CAST("RF_Model_4"."Proba_1" AS DOUBLE) AS "Proba_1", CAST("RF_Model_4"."LogProba_1" AS DOUBLE) AS "LogProba_1", CAST("RF_Model_4"."Score_2" AS DOUBLE) AS "Score_2", CAST("RF_Model_4"."Proba_2" AS DOUBLE) AS "Proba_2", CAST("RF_Model_4"."LogProba_2" AS DOUBLE) AS "LogProba_2", CAST("RF_Model_4"."Score_3" AS DOUBLE) AS "Score_3", CAST("RF_Model_4"."Proba_3" AS DOUBLE) AS "Proba_3", CAST("RF_Model_4"."LogProba_3" AS DOUBLE) AS "LogProba_3" 
  FROM "RF_Model_4" UNION ALL SELECT "RF_Model_5"."KEY" AS "KEY", CAST("RF_Model_5"."Score_0" AS DOUBLE) AS "Score_0", CAST("RF_Model_5"."Proba_0" AS DOUBLE) AS "Proba_0", CAST("RF_Model_5"."LogProba_0" AS DOUBLE) AS "LogProba_0", CAST("RF_Model_5"."Score_1" AS DOUBLE) AS "Score_1", CAST("RF_Model_5"."Proba_1" AS DOUBLE) AS "Proba_1", CAST("RF_Model_5"."LogProba_1" AS DOUBLE) AS "LogProba_1", CAST("RF_Model_5"."Score_2" AS DOUBLE) AS "Score_2", CAST("RF_Model_5"."Proba_2" AS DOUBLE) AS "Proba_2", CAST("RF_Model_5"."LogProba_2" AS DOUBLE) AS "LogProba_2", CAST("RF_Model_5"."Score_3" AS DOUBLE) AS "Score_3", CAST("RF_Model_5"."Proba_3" AS DOUBLE) AS "Proba_3", CAST("RF_Model_5"."LogProba_3" AS DOUBLE) AS "LogProba_3" 
  FROM "RF_Model_5" UNION ALL SELECT "RF_Model_6"."KEY" AS "KEY", CAST("RF_Model_6"."Score_0" AS DOUBLE) AS "Score_0", CAST("RF_Model_6"."Proba_0" AS DOUBLE) AS "Proba_0", CAST("RF_Model_6"."LogProba_0" AS DOUBLE) AS "LogProba_0", CAST("RF_Model_6"."Score_1" AS DOUBLE) AS "Score_1", CAST("RF_Model_6"."Proba_1" AS DOUBLE) AS "Proba_1", CAST("RF_Model_6"."LogProba_1" AS DOUBLE) AS "LogProba_1", CAST("RF_Model_6"."Score_2" AS DOUBLE) AS "Score_2", CAST("RF_Model_6"."Proba_2" AS DOUBLE) AS "Proba_2", CAST("RF_Model_6"."LogProba_2" AS DOUBLE) AS "LogProba_2", CAST("RF_Model_6"."Score_3" AS DOUBLE) AS "Score_3", CAST("RF_Model_6"."Proba_3" AS DOUBLE) AS "Proba_3", CAST("RF_Model_6"."LogProba_3" AS DOUBLE) AS "LogProba_3" 
  FROM "RF_Model_6" UNION ALL SELECT "RF_Model_7"."KEY" AS "KEY", CAST("RF_Model_7"."Score_0" AS DOUBLE) AS "Score_0", CAST("RF_Model_7"."Proba_0" AS DOUBLE) AS "Proba_0", CAST("RF_Model_7"."LogProba_0" AS DOUBLE) AS "LogProba_0", CAST("RF_Model_7"."Score_1" AS DOUBLE) AS "Score_1", CAST("RF_Model_7"."Proba_1" AS DOUBLE) AS "Proba_1", CAST("RF_Model_7"."LogProba_1" AS DOUBLE) AS "LogProba_1", CAST("RF_Model_7"."Score_2" AS DOUBLE) AS "Score_2", CAST("RF_Model_7"."Proba_2" AS DOUBLE) AS "Proba_2", CAST("RF_Model_7"."LogProba_2" AS DOUBLE) AS "LogProba_2", CAST("RF_Model_7"."Score_3" AS DOUBLE) AS "Score_3", CAST("RF_Model_7"."Proba_3" AS DOUBLE) AS "Proba_3", CAST("RF_Model_7"."LogProba_3" AS DOUBLE) AS "LogProba_3" 
  FROM "RF_Model_7" UNION ALL SELECT "RF_Model_8"."KEY" AS "KEY", CAST("RF_Model_8"."Score_0" AS DOUBLE) AS "Score_0", CAST("RF_Model_8"."Proba_0" AS DOUBLE) AS "Proba_0", CAST("RF_Model_8"."LogProba_0" AS DOUBLE) AS "LogProba_0", CAST("RF_Model_8"."Score_1" AS DOUBLE) AS "Score_1", CAST("RF_Model_8"."Proba_1" AS DOUBLE) AS "Proba_1", CAST("RF_Model_8"."LogProba_1" AS DOUBLE) AS "LogProba_1", CAST("RF_Model_8"."Score_2" AS DOUBLE) AS "Score_2", CAST("RF_Model_8"."Proba_2" AS DOUBLE) AS "Proba_2", CAST("RF_Model_8"."LogProba_2" AS DOUBLE) AS "LogProba_2", CAST("RF_Model_8"."Score_3" AS DOUBLE) AS "Score_3", CAST("RF_Model_8"."Proba_3" AS DOUBLE) AS "Proba_3", CAST("RF_Model_8"."LogProba_3" AS DOUBLE) AS "LogProba_3" 
  FROM "RF_Model_8" UNION ALL SELECT "RF_Model_9"."KEY" AS "KEY", CAST("RF_Model_9"."Score_0" AS DOUBLE) AS "Score_0", CAST("RF_Model_9"."Proba_0" AS DOUBLE) AS "Proba_0", CAST("RF_Model_9"."LogProba_0" AS DOUBLE) AS "LogProba_0", CAST("RF_Model_9"."Score_1" AS DOUBLE) AS "Score_1", CAST("RF_Model_9"."Proba_1" AS DOUBLE) AS "Proba_1", CAST("RF_Model_9"."LogProba_1" AS DOUBLE) AS "LogProba_1", CAST("RF_Model_9"."Score_2" AS DOUBLE) AS "Score_2", CAST("RF_Model_9"."Proba_2" AS DOUBLE) AS "Proba_2", CAST("RF_Model_9"."LogProba_2" AS DOUBLE) AS "LogProba_2", CAST("RF_Model_9"."Score_3" AS DOUBLE) AS "Score_3", CAST("RF_Model_9"."Proba_3" AS DOUBLE) AS "Proba_3", CAST("RF_Model_9"."LogProba_3" AS DOUBLE) AS "LogProba_3" 
  FROM "RF_Model_9") AS "RF_esu_0"), 
  "DT_node_lookup_10" AS 
  (SELECT "ADS"."KEY" AS "KEY", CASE WHEN ("ADS"."Feature_4" <= -0.3548413133590473) THEN CASE WHEN ("ADS"."Feature_3" <= -0.728168320064711) THEN 3 ELSE CASE WHEN ("ADS"."Feature_7" <= 0.142866511278882) THEN 7 ELSE CASE WHEN ("ADS"."Feature_6" <= -0.5765142321146548) THEN 11 ELSE CASE WHEN ("ADS"."Feature_6" <= -0.4047858971670336) THEN 15 ELSE CASE WHEN ("ADS"."Feature_5" <= 0.5826020665197432) THEN 17 ELSE 18 END END END END END ELSE CASE WHEN ("ADS"."Feature_3" <= 1.1933517188851543) THEN CASE WHEN ("ADS"."Feature_5" <= 0.28215067964616675) THEN 9 ELSE CASE WHEN ("ADS"."Feature_2" <= -0.1704398413864359) THEN 13 ELSE 14 END END ELSE 6 END END AS node_id_2 
  FROM "FOURCLASS_10" AS "ADS"), 
  "DT_node_data_10" AS 
  (SELECT "Values".nid AS nid, "Values"."P_0" AS "P_0", "Values"."P_1" AS "P_1", "Values"."P_2" AS "P_2", "Values"."P_3" AS "P_3", "Values"."D" AS "D", "Values"."DP" AS "DP" 
  FROM (SELECT 3 AS nid, 0.0 AS "P_0", 0.0 AS "P_1", 1.0 AS "P_2", 0.0 AS "P_3", 2 AS "D", 1.0 AS "DP" FROM SYSIBM.SYSDUMMY1 UNION ALL SELECT 6 AS nid, 0.0 AS "P_0", 1.0 AS "P_1", 0.0 AS "P_2", 0.0 AS "P_3", 1 AS "D", 1.0 AS "DP" FROM SYSIBM.SYSDUMMY1 UNION ALL SELECT 7 AS nid, 0.0 AS "P_0", 0.0 AS "P_1", 0.0 AS "P_2", 1.0 AS "P_3", 3 AS "D", 1.0 AS "DP" FROM SYSIBM.SYSDUMMY1 UNION ALL SELECT 9 AS nid, 1.0 AS "P_0", 0.0 AS "P_1", 0.0 AS "P_2", 0.0 AS "P_3", 0 AS "D", 1.0 AS "DP" FROM SYSIBM.SYSDUMMY1 UNION ALL SELECT 11 AS nid, 0.0 AS "P_0", 1.0 AS "P_1", 0.0 AS "P_2", 0.0 AS "P_3", 1 AS "D", 1.0 AS "DP" FROM SYSIBM.SYSDUMMY1 UNION ALL SELECT 13 AS nid, 0.0 AS "P_0", 0.0 AS "P_1", 1.0 AS "P_2", 0.0 AS "P_3", 2 AS "D", 1.0 AS "DP" FROM SYSIBM.SYSDUMMY1 UNION ALL SELECT 14 AS nid, 1.0 AS "P_0", 0.0 AS "P_1", 0.0 AS "P_2", 0.0 AS "P_3", 0 AS "D", 1.0 AS "DP" FROM SYSIBM.SYSDUMMY1 UNION ALL SELECT 15 AS nid, 0.0 AS "P_0", 0.0 AS "P_1", 0.0 AS "P_2", 1.0 AS "P_3", 3 AS "D", 1.0 AS "DP" FROM SYSIBM.SYSDUMMY1 UNION ALL SELECT 17 AS nid, 0.0 AS "P_0", 0.0 AS "P_1", 1.0 AS "P_2", 0.0 AS "P_3", 2 AS "D", 1.0 AS "DP" FROM SYSIBM.SYSDUMMY1 UNION ALL SELECT 18 AS nid, 1.0 AS "P_0", 0.0 AS "P_1", 0.0 AS "P_2", 0.0 AS "P_3", 0 AS "D", 1.0 AS "DP" FROM SYSIBM.SYSDUMMY1) AS "Values"), 
  "DT_Output_10" AS 
  (SELECT "DT_node_lookup_10"."KEY" AS "KEY", "DT_node_lookup_10".node_id_2 AS node_id_2, "DT_node_data_10".nid AS nid, "DT_node_data_10"."P_0" AS "P_0", "DT_node_data_10"."P_1" AS "P_1", "DT_node_data_10"."P_2" AS "P_2", "DT_node_data_10"."P_3" AS "P_3", "DT_node_data_10"."D" AS "D", "DT_node_data_10"."DP" AS "DP" 
  FROM "DT_node_lookup_10" LEFT OUTER JOIN "DT_node_data_10" ON "DT_node_lookup_10".node_id_2 = "DT_node_data_10".nid), 
  "RF_Model_10" AS 
  (SELECT "DT_Output_10"."KEY" AS "KEY", CAST(NULL AS DOUBLE) AS "Score_0", "DT_Output_10"."P_0" AS "Proba_0", CASE WHEN ("DT_Output_10"."P_0" IS NULL OR "DT_Output_10"."P_0" > 0.0) THEN ln("DT_Output_10"."P_0") ELSE -1.79769313486231e+308 END AS "LogProba_0", CAST(NULL AS DOUBLE) AS "Score_1", "DT_Output_10"."P_1" AS "Proba_1", CASE WHEN ("DT_Output_10"."P_1" IS NULL OR "DT_Output_10"."P_1" > 0.0) THEN ln("DT_Output_10"."P_1") ELSE -1.79769313486231e+308 END AS "LogProba_1", CAST(NULL AS DOUBLE) AS "Score_2", "DT_Output_10"."P_2" AS "Proba_2", CASE WHEN ("DT_Output_10"."P_2" IS NULL OR "DT_Output_10"."P_2" > 0.0) THEN ln("DT_Output_10"."P_2") ELSE -1.79769313486231e+308 END AS "LogProba_2", CAST(NULL AS DOUBLE) AS "Score_3", "DT_Output_10"."P_3" AS "Proba_3", CASE WHEN ("DT_Output_10"."P_3" IS NULL OR "DT_Output_10"."P_3" > 0.0) THEN ln("DT_Output_10"."P_3") ELSE -1.79769313486231e+308 END AS "LogProba_3" 
  FROM "DT_Output_10"), 
  "DT_node_lookup_11" AS 
  (SELECT "ADS"."KEY" AS "KEY", CASE WHEN ("ADS"."Feature_3" <= 1.1933517188851543) THEN CASE WHEN ("ADS"."Feature_3" <= -1.6527157928727974) THEN 3 ELSE CASE WHEN ("ADS"."Feature_4" <= -0.22726380735429) THEN CASE WHEN ("ADS"."Feature_0" <= 0.6980347688178657) THEN 13 ELSE 14 END ELSE CASE WHEN ("ADS"."Feature_5" <= 1.0481320107840555) THEN 15 ELSE 16 END END END ELSE CASE WHEN ("ADS"."Feature_7" <= 0.3623487370147764) THEN CASE WHEN ("ADS"."Feature_4" <= -0.2745497396758524) THEN 9 ELSE CASE WHEN ("ADS"."Feature_4" <= 0.3406073843153312) THEN 17 ELSE 18 END END ELSE CASE WHEN ("ADS"."Feature_8" <= 1.035046884077859) THEN 11 ELSE 12 END END END AS node_id_2 
  FROM "FOURCLASS_10" AS "ADS"), 
  "DT_node_data_11" AS 
  (SELECT "Values".nid AS nid, "Values"."P_0" AS "P_0", "Values"."P_1" AS "P_1", "Values"."P_2" AS "P_2", "Values"."P_3" AS "P_3", "Values"."D" AS "D", "Values"."DP" AS "DP" 
  FROM (SELECT 3 AS nid, 0.0 AS "P_0", 0.0 AS "P_1", 1.0 AS "P_2", 0.0 AS "P_3", 2 AS "D", 1.0 AS "DP" FROM SYSIBM.SYSDUMMY1 UNION ALL SELECT 9 AS nid, 0.0 AS "P_0", 0.0 AS "P_1", 0.0 AS "P_2", 1.0 AS "P_3", 3 AS "D", 1.0 AS "DP" FROM SYSIBM.SYSDUMMY1 UNION ALL SELECT 11 AS nid, 0.0 AS "P_0", 1.0 AS "P_1", 0.0 AS "P_2", 0.0 AS "P_3", 1 AS "D", 1.0 AS "DP" FROM SYSIBM.SYSDUMMY1 UNION ALL SELECT 12 AS nid, 0.0 AS "P_0", 0.0 AS "P_1", 1.0 AS "P_2", 0.0 AS "P_3", 2 AS "D", 1.0 AS "DP" FROM SYSIBM.SYSDUMMY1 UNION ALL SELECT 13 AS nid, 0.0 AS "P_0", 0.0 AS "P_1", 0.0 AS "P_2", 1.0 AS "P_3", 3 AS "D", 1.0 AS "DP" FROM SYSIBM.SYSDUMMY1 UNION ALL SELECT 14 AS nid, 0.0 AS "P_0", 0.0 AS "P_1", 1.0 AS "P_2", 0.0 AS "P_3", 2 AS "D", 1.0 AS "DP" FROM SYSIBM.SYSDUMMY1 UNION ALL SELECT 15 AS nid, 1.0 AS "P_0", 0.0 AS "P_1", 0.0 AS "P_2", 0.0 AS "P_3", 0 AS "D", 1.0 AS "DP" FROM SYSIBM.SYSDUMMY1 UNION ALL SELECT 16 AS nid, 0.0 AS "P_0", 0.0 AS "P_1", 1.0 AS "P_2", 0.0 AS "P_3", 2 AS "D", 1.0 AS "DP" FROM SYSIBM.SYSDUMMY1 UNION ALL SELECT 17 AS nid, 0.0 AS "P_0", 1.0 AS "P_1", 0.0 AS "P_2", 0.0 AS "P_3", 1 AS "D", 1.0 AS "DP" FROM SYSIBM.SYSDUMMY1 UNION ALL SELECT 18 AS nid, 0.0 AS "P_0", 0.0 AS "P_1", 0.0 AS "P_2", 1.0 AS "P_3", 3 AS "D", 1.0 AS "DP" FROM SYSIBM.SYSDUMMY1) AS "Values"), 
  "DT_Output_11" AS 
  (SELECT "DT_node_lookup_11"."KEY" AS "KEY", "DT_node_lookup_11".node_id_2 AS node_id_2, "DT_node_data_11".nid AS nid, "DT_node_data_11"."P_0" AS "P_0", "DT_node_data_11"."P_1" AS "P_1", "DT_node_data_11"."P_2" AS "P_2", "DT_node_data_11"."P_3" AS "P_3", "DT_node_data_11"."D" AS "D", "DT_node_data_11"."DP" AS "DP" 
  FROM "DT_node_lookup_11" LEFT OUTER JOIN "DT_node_data_11" ON "DT_node_lookup_11".node_id_2 = "DT_node_data_11".nid), 
  "RF_Model_11" AS 
  (SELECT "DT_Output_11"."KEY" AS "KEY", CAST(NULL AS DOUBLE) AS "Score_0", "DT_Output_11"."P_0" AS "Proba_0", CASE WHEN ("DT_Output_11"."P_0" IS NULL OR "DT_Output_11"."P_0" > 0.0) THEN ln("DT_Output_11"."P_0") ELSE -1.79769313486231e+308 END AS "LogProba_0", CAST(NULL AS DOUBLE) AS "Score_1", "DT_Output_11"."P_1" AS "Proba_1", CASE WHEN ("DT_Output_11"."P_1" IS NULL OR "DT_Output_11"."P_1" > 0.0) THEN ln("DT_Output_11"."P_1") ELSE -1.79769313486231e+308 END AS "LogProba_1", CAST(NULL AS DOUBLE) AS "Score_2", "DT_Output_11"."P_2" AS "Proba_2", CASE WHEN ("DT_Output_11"."P_2" IS NULL OR "DT_Output_11"."P_2" > 0.0) THEN ln("DT_Output_11"."P_2") ELSE -1.79769313486231e+308 END AS "LogProba_2", CAST(NULL AS DOUBLE) AS "Score_3", "DT_Output_11"."P_3" AS "Proba_3", CASE WHEN ("DT_Output_11"."P_3" IS NULL OR "DT_Output_11"."P_3" > 0.0) THEN ln("DT_Output_11"."P_3") ELSE -1.79769313486231e+308 END AS "LogProba_3" 
  FROM "DT_Output_11"), 
  "DT_node_lookup_12" AS 
  (SELECT "ADS"."KEY" AS "KEY", CASE WHEN ("ADS"."Feature_3" <= -1.1015614178316115) THEN CASE WHEN ("ADS"."Feature_8" <= 1.4978562838852987) THEN CASE WHEN ("ADS"."Feature_2" <= -0.34528256968323334) THEN 7 ELSE CASE WHEN ("ADS"."Feature_6" <= 1.0409592082082904) THEN 13 ELSE 14 END END ELSE 4 END ELSE CASE WHEN ("ADS"."Feature_1" <= -0.07957301908751756) THEN CASE WHEN ("ADS"."Feature_2" <= 2.2050159165088195) THEN 9 ELSE 10 END ELSE CASE WHEN ("ADS"."Feature_7" <= -0.20112160041122684) THEN CASE WHEN ("ADS"."Feature_0" <= -0.4984959285172618) THEN 15 ELSE 16 END ELSE CASE WHEN ("ADS"."Feature_5" <= 1.5595250020449984) THEN CASE WHEN ("ADS"."Feature_3" <= 0.6893779405399337) THEN 19 ELSE CASE WHEN ("ADS"."Feature_9" <= -2.1055059311735485) THEN 21 ELSE CASE WHEN ("ADS"."Feature_1" <= 3.0801224462228767) THEN CASE WHEN ("ADS"."Feature_2" <= 1.819919780252584) THEN 25 ELSE CASE WHEN ("ADS"."Feature_2" <= 1.8376306225941983) THEN 27 ELSE 28 END END ELSE 24 END END END ELSE 18 END END END END AS node_id_2 
  FROM "FOURCLASS_10" AS "ADS"), 
  "DT_node_data_12" AS 
  (SELECT "Values".nid AS nid, "Values"."P_0" AS "P_0", "Values"."P_1" AS "P_1", "Values"."P_2" AS "P_2", "Values"."P_3" AS "P_3", "Values"."D" AS "D", "Values"."DP" AS "DP" 
  FROM (SELECT 4 AS nid, 1.0 AS "P_0", 0.0 AS "P_1", 0.0 AS "P_2", 0.0 AS "P_3", 0 AS "D", 1.0 AS "DP" FROM SYSIBM.SYSDUMMY1 UNION ALL SELECT 7 AS nid, 0.0 AS "P_0", 0.0 AS "P_1", 1.0 AS "P_2", 0.0 AS "P_3", 2 AS "D", 1.0 AS "DP" FROM SYSIBM.SYSDUMMY1 UNION ALL SELECT 9 AS nid, 1.0 AS "P_0", 0.0 AS "P_1", 0.0 AS "P_2", 0.0 AS "P_3", 0 AS "D", 1.0 AS "DP" FROM SYSIBM.SYSDUMMY1 UNION ALL SELECT 10 AS nid, 0.0 AS "P_0", 1.0 AS "P_1", 0.0 AS "P_2", 0.0 AS "P_3", 1 AS "D", 1.0 AS "DP" FROM SYSIBM.SYSDUMMY1 UNION ALL SELECT 13 AS nid, 1.0 AS "P_0", 0.0 AS "P_1", 0.0 AS "P_2", 0.0 AS "P_3", 0 AS "D", 1.0 AS "DP" FROM SYSIBM.SYSDUMMY1 UNION ALL SELECT 14 AS nid, 0.0 AS "P_0", 0.0 AS "P_1", 1.0 AS "P_2", 0.0 AS "P_3", 2 AS "D", 1.0 AS "DP" FROM SYSIBM.SYSDUMMY1 UNION ALL SELECT 15 AS nid, 0.0 AS "P_0", 1.0 AS "P_1", 0.0 AS "P_2", 0.0 AS "P_3", 1 AS "D", 1.0 AS "DP" FROM SYSIBM.SYSDUMMY1 UNION ALL SELECT 16 AS nid, 0.0 AS "P_0", 0.0 AS "P_1", 0.0 AS "P_2", 1.0 AS "P_3", 3 AS "D", 1.0 AS "DP" FROM SYSIBM.SYSDUMMY1 UNION ALL SELECT 18 AS nid, 0.0 AS "P_0", 0.0 AS "P_1", 1.0 AS "P_2", 0.0 AS "P_3", 2 AS "D", 1.0 AS "DP" FROM SYSIBM.SYSDUMMY1 UNION ALL SELECT 19 AS nid, 1.0 AS "P_0", 0.0 AS "P_1", 0.0 AS "P_2", 0.0 AS "P_3", 0 AS "D", 1.0 AS "DP" FROM SYSIBM.SYSDUMMY1 UNION ALL SELECT 21 AS nid, 0.0 AS "P_0", 0.0 AS "P_1", 1.0 AS "P_2", 0.0 AS "P_3", 2 AS "D", 1.0 AS "DP" FROM SYSIBM.SYSDUMMY1 UNION ALL SELECT 24 AS nid, 0.0 AS "P_0", 0.0 AS "P_1", 0.0 AS "P_2", 1.0 AS "P_3", 3 AS "D", 1.0 AS "DP" FROM SYSIBM.SYSDUMMY1 UNION ALL SELECT 25 AS nid, 0.0 AS "P_0", 1.0 AS "P_1", 0.0 AS "P_2", 0.0 AS "P_3", 1 AS "D", 1.0 AS "DP" FROM SYSIBM.SYSDUMMY1 UNION ALL SELECT 27 AS nid, 0.0 AS "P_0", 0.0 AS "P_1", 0.0 AS "P_2", 1.0 AS "P_3", 3 AS "D", 1.0 AS "DP" FROM SYSIBM.SYSDUMMY1 UNION ALL SELECT 28 AS nid, 0.0 AS "P_0", 1.0 AS "P_1", 0.0 AS "P_2", 0.0 AS "P_3", 1 AS "D", 1.0 AS "DP" FROM SYSIBM.SYSDUMMY1) AS "Values"), 
  "DT_Output_12" AS 
  (SELECT "DT_node_lookup_12"."KEY" AS "KEY", "DT_node_lookup_12".node_id_2 AS node_id_2, "DT_node_data_12".nid AS nid, "DT_node_data_12"."P_0" AS "P_0", "DT_node_data_12"."P_1" AS "P_1", "DT_node_data_12"."P_2" AS "P_2", "DT_node_data_12"."P_3" AS "P_3", "DT_node_data_12"."D" AS "D", "DT_node_data_12"."DP" AS "DP" 
  FROM "DT_node_lookup_12" LEFT OUTER JOIN "DT_node_data_12" ON "DT_node_lookup_12".node_id_2 = "DT_node_data_12".nid), 
  "RF_Model_12" AS 
  (SELECT "DT_Output_12"."KEY" AS "KEY", CAST(NULL AS DOUBLE) AS "Score_0", "DT_Output_12"."P_0" AS "Proba_0", CASE WHEN ("DT_Output_12"."P_0" IS NULL OR "DT_Output_12"."P_0" > 0.0) THEN ln("DT_Output_12"."P_0") ELSE -1.79769313486231e+308 END AS "LogProba_0", CAST(NULL AS DOUBLE) AS "Score_1", "DT_Output_12"."P_1" AS "Proba_1", CASE WHEN ("DT_Output_12"."P_1" IS NULL OR "DT_Output_12"."P_1" > 0.0) THEN ln("DT_Output_12"."P_1") ELSE -1.79769313486231e+308 END AS "LogProba_1", CAST(NULL AS DOUBLE) AS "Score_2", "DT_Output_12"."P_2" AS "Proba_2", CASE WHEN ("DT_Output_12"."P_2" IS NULL OR "DT_Output_12"."P_2" > 0.0) THEN ln("DT_Output_12"."P_2") ELSE -1.79769313486231e+308 END AS "LogProba_2", CAST(NULL AS DOUBLE) AS "Score_3", "DT_Output_12"."P_3" AS "Proba_3", CASE WHEN ("DT_Output_12"."P_3" IS NULL OR "DT_Output_12"."P_3" > 0.0) THEN ln("DT_Output_12"."P_3") ELSE -1.79769313486231e+308 END AS "LogProba_3" 
  FROM "DT_Output_12"), 
  "DT_node_lookup_13" AS 
  (SELECT "ADS"."KEY" AS "KEY", CASE WHEN ("ADS"."Feature_7" <= 1.4979880132281744) THEN CASE WHEN ("ADS"."Feature_8" <= -1.5628834829940723) THEN 3 ELSE CASE WHEN ("ADS"."Feature_3" <= 0.5978429934864516) THEN CASE WHEN ("ADS"."Feature_4" <= -0.7451081633830287) THEN CASE WHEN ("ADS"."Feature_2" <= -0.5499592947062426) THEN 11 ELSE CASE WHEN ("ADS"."Feature_1" <= -0.4642684193435017) THEN 17 ELSE 18 END END ELSE CASE WHEN ("ADS"."Feature_3" <= -2.2557533291835994) THEN 13 ELSE CASE WHEN ("ADS"."Feature_5" <= 0.2657556473663157) THEN CASE WHEN ("ADS"."Feature_2" <= 0.6566844589074428) THEN 25 ELSE 26 END ELSE 20 END END END ELSE CASE WHEN ("ADS"."Feature_0" <= -0.4984959285172618) THEN 9 ELSE CASE WHEN ("ADS"."Feature_7" <= 0.8110211102859832) THEN CASE WHEN ("ADS"."Feature_8" <= -0.852431585148254) THEN 21 ELSE CASE WHEN ("ADS"."Feature_9" <= -1.0222694113132325) THEN 27 ELSE 28 END END ELSE CASE WHEN ("ADS"."Feature_8" <= 0.4572354659558386) THEN 23 ELSE 24 END END END END END ELSE 2 END AS node_id_2 
  FROM "FOURCLASS_10" AS "ADS"), 
  "DT_node_data_13" AS 
  (SELECT "Values".nid AS nid, "Values"."P_0" AS "P_0", "Values"."P_1" AS "P_1", "Values"."P_2" AS "P_2", "Values"."P_3" AS "P_3", "Values"."D" AS "D", "Values"."DP" AS "DP" 
  FROM (SELECT 2 AS nid, 0.0 AS "P_0", 1.0 AS "P_1", 0.0 AS "P_2", 0.0 AS "P_3", 1 AS "D", 1.0 AS "DP" FROM SYSIBM.SYSDUMMY1 UNION ALL SELECT 3 AS nid, 0.0 AS "P_0", 0.0 AS "P_1", 0.0 AS "P_2", 1.0 AS "P_3", 3 AS "D", 1.0 AS "DP" FROM SYSIBM.SYSDUMMY1 UNION ALL SELECT 9 AS nid, 0.0 AS "P_0", 1.0 AS "P_1", 0.0 AS "P_2", 0.0 AS "P_3", 1 AS "D", 1.0 AS "DP" FROM SYSIBM.SYSDUMMY1 UNION ALL SELECT 11 AS nid, 0.0 AS "P_0", 0.0 AS "P_1", 1.0 AS "P_2", 0.0 AS "P_3", 2 AS "D", 1.0 AS "DP" FROM SYSIBM.SYSDUMMY1 UNION ALL SELECT 13 AS nid, 0.0 AS "P_0", 0.0 AS "P_1", 1.0 AS "P_2", 0.0 AS "P_3", 2 AS "D", 1.0 AS "DP" FROM SYSIBM.SYSDUMMY1 UNION ALL SELECT 17 AS nid, 1.0 AS "P_0", 0.0 AS "P_1", 0.0 AS "P_2", 0.0 AS "P_3", 0 AS "D", 1.0 AS "DP" FROM SYSIBM.SYSDUMMY1 UNION ALL SELECT 18 AS nid, 0.0 AS "P_0", 0.0 AS "P_1", 0.0 AS "P_2", 1.0 AS "P_3", 3 AS "D", 1.0 AS "DP" FROM SYSIBM.SYSDUMMY1 UNION ALL SELECT 20 AS nid, 0.0 AS "P_0", 0.0 AS "P_1", 1.0 AS "P_2", 0.0 AS "P_3", 2 AS "D", 1.0 AS "DP" FROM SYSIBM.SYSDUMMY1 UNION ALL SELECT 21 AS nid, 0.0 AS "P_0", 1.0 AS "P_1", 0.0 AS "P_2", 0.0 AS "P_3", 1 AS "D", 1.0 AS "DP" FROM SYSIBM.SYSDUMMY1 UNION ALL SELECT 23 AS nid, 1.0 AS "P_0", 0.0 AS "P_1", 0.0 AS "P_2", 0.0 AS "P_3", 0 AS "D", 1.0 AS "DP" FROM SYSIBM.SYSDUMMY1 UNION ALL SELECT 24 AS nid, 0.0 AS "P_0", 0.0 AS "P_1", 1.0 AS "P_2", 0.0 AS "P_3", 2 AS "D", 1.0 AS "DP" FROM SYSIBM.SYSDUMMY1 UNION ALL SELECT 25 AS nid, 1.0 AS "P_0", 0.0 AS "P_1", 0.0 AS "P_2", 0.0 AS "P_3", 0 AS "D", 1.0 AS "DP" FROM SYSIBM.SYSDUMMY1 UNION ALL SELECT 26 AS nid, 0.0 AS "P_0", 0.0 AS "P_1", 0.0 AS "P_2", 1.0 AS "P_3", 3 AS "D", 1.0 AS "DP" FROM SYSIBM.SYSDUMMY1 UNION ALL SELECT 27 AS nid, 0.0 AS "P_0", 1.0 AS "P_1", 0.0 AS "P_2", 0.0 AS "P_3", 1 AS "D", 1.0 AS "DP" FROM SYSIBM.SYSDUMMY1 UNION ALL SELECT 28 AS nid, 0.0 AS "P_0", 0.0 AS "P_1", 0.0 AS "P_2", 1.0 AS "P_3", 3 AS "D", 1.0 AS "DP" FROM SYSIBM.SYSDUMMY1) AS "Values"), 
  "DT_Output_13" AS 
  (SELECT "DT_node_lookup_13"."KEY" AS "KEY", "DT_node_lookup_13".node_id_2 AS node_id_2, "DT_node_data_13".nid AS nid, "DT_node_data_13"."P_0" AS "P_0", "DT_node_data_13"."P_1" AS "P_1", "DT_node_data_13"."P_2" AS "P_2", "DT_node_data_13"."P_3" AS "P_3", "DT_node_data_13"."D" AS "D", "DT_node_data_13"."DP" AS "DP" 
  FROM "DT_node_lookup_13" LEFT OUTER JOIN "DT_node_data_13" ON "DT_node_lookup_13".node_id_2 = "DT_node_data_13".nid), 
  "RF_Model_13" AS 
  (SELECT "DT_Output_13"."KEY" AS "KEY", CAST(NULL AS DOUBLE) AS "Score_0", "DT_Output_13"."P_0" AS "Proba_0", CASE WHEN ("DT_Output_13"."P_0" IS NULL OR "DT_Output_13"."P_0" > 0.0) THEN ln("DT_Output_13"."P_0") ELSE -1.79769313486231e+308 END AS "LogProba_0", CAST(NULL AS DOUBLE) AS "Score_1", "DT_Output_13"."P_1" AS "Proba_1", CASE WHEN ("DT_Output_13"."P_1" IS NULL OR "DT_Output_13"."P_1" > 0.0) THEN ln("DT_Output_13"."P_1") ELSE -1.79769313486231e+308 END AS "LogProba_1", CAST(NULL AS DOUBLE) AS "Score_2", "DT_Output_13"."P_2" AS "Proba_2", CASE WHEN ("DT_Output_13"."P_2" IS NULL OR "DT_Output_13"."P_2" > 0.0) THEN ln("DT_Output_13"."P_2") ELSE -1.79769313486231e+308 END AS "LogProba_2", CAST(NULL AS DOUBLE) AS "Score_3", "DT_Output_13"."P_3" AS "Proba_3", CASE WHEN ("DT_Output_13"."P_3" IS NULL OR "DT_Output_13"."P_3" > 0.0) THEN ln("DT_Output_13"."P_3") ELSE -1.79769313486231e+308 END AS "LogProba_3" 
  FROM "DT_Output_13"), 
  "DT_node_lookup_14" AS 
  (SELECT "ADS"."KEY" AS "KEY", CASE WHEN ("ADS"."Feature_4" <= -0.203303893506645) THEN CASE WHEN ("ADS"."Feature_1" <= 0.8621738129608256) THEN CASE WHEN ("ADS"."Feature_2" <= 0.32005071244278416) THEN CASE WHEN ("ADS"."Feature_8" <= -0.9660547604959474) THEN 15 ELSE CASE WHEN ("ADS"."Feature_8" <= 1.83245057644228) THEN 23 ELSE 24 END END ELSE CASE WHEN ("ADS"."Feature_4" <= -2.165089502857672) THEN 17 ELSE 18 END END ELSE CASE WHEN ("ADS"."Feature_6" <= -1.391203568589302) THEN CASE WHEN ("ADS"."Feature_9" <= 0.9557307302046943) THEN 19 ELSE 20 END ELSE CASE WHEN ("ADS"."Feature_0" <= 1.3572510634285955) THEN CASE WHEN ("ADS"."Feature_8" <= -1.2063674455083457) THEN CASE WHEN ("ADS"."Feature_6" <= -0.26256784564103275) THEN 27 ELSE 28 END ELSE 26 END ELSE 22 END END END ELSE CASE WHEN ("ADS"."Feature_1" <= 0.09000199396071806) THEN CASE WHEN ("ADS"."Feature_7" <= -0.3985136118323088) THEN 11 ELSE 12 END ELSE CASE WHEN ("ADS"."Feature_3" <= -0.23729710518222036) THEN 13 ELSE 14 END END END AS node_id_2 
  FROM "FOURCLASS_10" AS "ADS"), 
  "DT_node_data_14" AS 
  (SELECT "Values".nid AS nid, "Values"."P_0" AS "P_0", "Values"."P_1" AS "P_1", "Values"."P_2" AS "P_2", "Values"."P_3" AS "P_3", "Values"."D" AS "D", "Values"."DP" AS "DP" 
  FROM (SELECT 11 AS nid, 0.0 AS "P_0", 0.0 AS "P_1", 1.0 AS "P_2", 0.0 AS "P_3", 2 AS "D", 1.0 AS "DP" FROM SYSIBM.SYSDUMMY1 UNION ALL SELECT 12 AS nid, 1.0 AS "P_0", 0.0 AS "P_1", 0.0 AS "P_2", 0.0 AS "P_3", 0 AS "D", 1.0 AS "DP" FROM SYSIBM.SYSDUMMY1 UNION ALL SELECT 13 AS nid, 1.0 AS "P_0", 0.0 AS "P_1", 0.0 AS "P_2", 0.0 AS "P_3", 0 AS "D", 1.0 AS "DP" FROM SYSIBM.SYSDUMMY1 UNION ALL SELECT 14 AS nid, 0.0 AS "P_0", 1.0 AS "P_1", 0.0 AS "P_2", 0.0 AS "P_3", 1 AS "D", 1.0 AS "DP" FROM SYSIBM.SYSDUMMY1 UNION ALL SELECT 15 AS nid, 1.0 AS "P_0", 0.0 AS "P_1", 0.0 AS "P_2", 0.0 AS "P_3", 0 AS "D", 1.0 AS "DP" FROM SYSIBM.SYSDUMMY1 UNION ALL SELECT 17 AS nid, 0.0 AS "P_0", 0.0 AS "P_1", 0.0 AS "P_2", 1.0 AS "P_3", 3 AS "D", 1.0 AS "DP" FROM SYSIBM.SYSDUMMY1 UNION ALL SELECT 18 AS nid, 0.0 AS "P_0", 1.0 AS "P_1", 0.0 AS "P_2", 0.0 AS "P_3", 1 AS "D", 1.0 AS "DP" FROM SYSIBM.SYSDUMMY1 UNION ALL SELECT 19 AS nid, 0.0 AS "P_0", 1.0 AS "P_1", 0.0 AS "P_2", 0.0 AS "P_3", 1 AS "D", 1.0 AS "DP" FROM SYSIBM.SYSDUMMY1 UNION ALL SELECT 20 AS nid, 0.0 AS "P_0", 0.0 AS "P_1", 1.0 AS "P_2", 0.0 AS "P_3", 2 AS "D", 1.0 AS "DP" FROM SYSIBM.SYSDUMMY1 UNION ALL SELECT 22 AS nid, 0.0 AS "P_0", 1.0 AS "P_1", 0.0 AS "P_2", 0.0 AS "P_3", 1 AS "D", 1.0 AS "DP" FROM SYSIBM.SYSDUMMY1 UNION ALL SELECT 23 AS nid, 0.0 AS "P_0", 0.0 AS "P_1", 1.0 AS "P_2", 0.0 AS "P_3", 2 AS "D", 1.0 AS "DP" FROM SYSIBM.SYSDUMMY1 UNION ALL SELECT 24 AS nid, 1.0 AS "P_0", 0.0 AS "P_1", 0.0 AS "P_2", 0.0 AS "P_3", 0 AS "D", 1.0 AS "DP" FROM SYSIBM.SYSDUMMY1 UNION ALL SELECT 26 AS nid, 0.0 AS "P_0", 0.0 AS "P_1", 0.0 AS "P_2", 1.0 AS "P_3", 3 AS "D", 1.0 AS "DP" FROM SYSIBM.SYSDUMMY1 UNION ALL SELECT 27 AS nid, 0.0 AS "P_0", 1.0 AS "P_1", 0.0 AS "P_2", 0.0 AS "P_3", 1 AS "D", 1.0 AS "DP" FROM SYSIBM.SYSDUMMY1 UNION ALL SELECT 28 AS nid, 0.0 AS "P_0", 0.0 AS "P_1", 0.0 AS "P_2", 1.0 AS "P_3", 3 AS "D", 1.0 AS "DP" FROM SYSIBM.SYSDUMMY1) AS "Values"), 
  "DT_Output_14" AS 
  (SELECT "DT_node_lookup_14"."KEY" AS "KEY", "DT_node_lookup_14".node_id_2 AS node_id_2, "DT_node_data_14".nid AS nid, "DT_node_data_14"."P_0" AS "P_0", "DT_node_data_14"."P_1" AS "P_1", "DT_node_data_14"."P_2" AS "P_2", "DT_node_data_14"."P_3" AS "P_3", "DT_node_data_14"."D" AS "D", "DT_node_data_14"."DP" AS "DP" 
  FROM "DT_node_lookup_14" LEFT OUTER JOIN "DT_node_data_14" ON "DT_node_lookup_14".node_id_2 = "DT_node_data_14".nid), 
  "RF_Model_14" AS 
  (SELECT "DT_Output_14"."KEY" AS "KEY", CAST(NULL AS DOUBLE) AS "Score_0", "DT_Output_14"."P_0" AS "Proba_0", CASE WHEN ("DT_Output_14"."P_0" IS NULL OR "DT_Output_14"."P_0" > 0.0) THEN ln("DT_Output_14"."P_0") ELSE -1.79769313486231e+308 END AS "LogProba_0", CAST(NULL AS DOUBLE) AS "Score_1", "DT_Output_14"."P_1" AS "Proba_1", CASE WHEN ("DT_Output_14"."P_1" IS NULL OR "DT_Output_14"."P_1" > 0.0) THEN ln("DT_Output_14"."P_1") ELSE -1.79769313486231e+308 END AS "LogProba_1", CAST(NULL AS DOUBLE) AS "Score_2", "DT_Output_14"."P_2" AS "Proba_2", CASE WHEN ("DT_Output_14"."P_2" IS NULL OR "DT_Output_14"."P_2" > 0.0) THEN ln("DT_Output_14"."P_2") ELSE -1.79769313486231e+308 END AS "LogProba_2", CAST(NULL AS DOUBLE) AS "Score_3", "DT_Output_14"."P_3" AS "Proba_3", CASE WHEN ("DT_Output_14"."P_3" IS NULL OR "DT_Output_14"."P_3" > 0.0) THEN ln("DT_Output_14"."P_3") ELSE -1.79769313486231e+308 END AS "LogProba_3" 
  FROM "DT_Output_14"), 
  "DT_node_lookup_15" AS 
  (SELECT "ADS"."KEY" AS "KEY", CASE WHEN ("ADS"."Feature_7" <= 0.3870038464296823) THEN CASE WHEN ("ADS"."Feature_1" <= -0.1850136450029613) THEN CASE WHEN ("ADS"."Feature_0" <= 2.0923611186117457) THEN 7 ELSE 8 END ELSE CASE WHEN ("ADS"."Feature_4" <= 0.7702336427576292) THEN CASE WHEN ("ADS"."Feature_2" <= -1.900172252568027) THEN 15 ELSE CASE WHEN ("ADS"."Feature_4" <= -0.10374534635836884) THEN 23 ELSE CASE WHEN ("ADS"."Feature_7" <= 0.07134207026367023) THEN 25 ELSE 26 END END END ELSE CASE WHEN ("ADS"."Feature_5" <= -0.30031795581329784) THEN 17 ELSE 18 END END END ELSE CASE WHEN ("ADS"."Feature_3" <= 1.5620883443970572) THEN CASE WHEN ("ADS"."Feature_1" <= 0.030811965105726594) THEN 11 ELSE CASE WHEN ("ADS"."Feature_4" <= 0.6074020020469266) THEN 19 ELSE 20 END END ELSE CASE WHEN ("ADS"."Feature_8" <= 1.035046884077859) THEN CASE WHEN ("ADS"."Feature_7" <= 3.193324271379476) THEN 21 ELSE 22 END ELSE 14 END END END AS node_id_2 
  FROM "FOURCLASS_10" AS "ADS"), 
  "DT_node_data_15" AS 
  (SELECT "Values".nid AS nid, "Values"."P_0" AS "P_0", "Values"."P_1" AS "P_1", "Values"."P_2" AS "P_2", "Values"."P_3" AS "P_3", "Values"."D" AS "D", "Values"."DP" AS "DP" 
  FROM (SELECT 7 AS nid, 0.0 AS "P_0", 0.0 AS "P_1", 1.0 AS "P_2", 0.0 AS "P_3", 2 AS "D", 1.0 AS "DP" FROM SYSIBM.SYSDUMMY1 UNION ALL SELECT 8 AS nid, 1.0 AS "P_0", 0.0 AS "P_1", 0.0 AS "P_2", 0.0 AS "P_3", 0 AS "D", 1.0 AS "DP" FROM SYSIBM.SYSDUMMY1 UNION ALL SELECT 11 AS nid, 1.0 AS "P_0", 0.0 AS "P_1", 0.0 AS "P_2", 0.0 AS "P_3", 0 AS "D", 1.0 AS "DP" FROM SYSIBM.SYSDUMMY1 UNION ALL SELECT 14 AS nid, 0.0 AS "P_0", 0.0 AS "P_1", 1.0 AS "P_2", 0.0 AS "P_3", 2 AS "D", 1.0 AS "DP" FROM SYSIBM.SYSDUMMY1 UNION ALL SELECT 15 AS nid, 0.0 AS "P_0", 0.0 AS "P_1", 1.0 AS "P_2", 0.0 AS "P_3", 2 AS "D", 1.0 AS "DP" FROM SYSIBM.SYSDUMMY1 UNION ALL SELECT 17 AS nid, 0.0 AS "P_0", 1.0 AS "P_1", 0.0 AS "P_2", 0.0 AS "P_3", 1 AS "D", 1.0 AS "DP" FROM SYSIBM.SYSDUMMY1 UNION ALL SELECT 18 AS nid, 1.0 AS "P_0", 0.0 AS "P_1", 0.0 AS "P_2", 0.0 AS "P_3", 0 AS "D", 1.0 AS "DP" FROM SYSIBM.SYSDUMMY1 UNION ALL SELECT 19 AS nid, 0.0 AS "P_0", 0.0 AS "P_1", 1.0 AS "P_2", 0.0 AS "P_3", 2 AS "D", 1.0 AS "DP" FROM SYSIBM.SYSDUMMY1 UNION ALL SELECT 20 AS nid, 1.0 AS "P_0", 0.0 AS "P_1", 0.0 AS "P_2", 0.0 AS "P_3", 0 AS "D", 1.0 AS "DP" FROM SYSIBM.SYSDUMMY1 UNION ALL SELECT 21 AS nid, 0.0 AS "P_0", 1.0 AS "P_1", 0.0 AS "P_2", 0.0 AS "P_3", 1 AS "D", 1.0 AS "DP" FROM SYSIBM.SYSDUMMY1 UNION ALL SELECT 22 AS nid, 0.0 AS "P_0", 0.0 AS "P_1", 1.0 AS "P_2", 0.0 AS "P_3", 2 AS "D", 1.0 AS "DP" FROM SYSIBM.SYSDUMMY1 UNION ALL SELECT 23 AS nid, 0.0 AS "P_0", 0.0 AS "P_1", 0.0 AS "P_2", 1.0 AS "P_3", 3 AS "D", 1.0 AS "DP" FROM SYSIBM.SYSDUMMY1 UNION ALL SELECT 25 AS nid, 0.0 AS "P_0", 1.0 AS "P_1", 0.0 AS "P_2", 0.0 AS "P_3", 1 AS "D", 1.0 AS "DP" FROM SYSIBM.SYSDUMMY1 UNION ALL SELECT 26 AS nid, 0.0 AS "P_0", 0.0 AS "P_1", 0.0 AS "P_2", 1.0 AS "P_3", 3 AS "D", 1.0 AS "DP" FROM SYSIBM.SYSDUMMY1) AS "Values"), 
  "DT_Output_15" AS 
  (SELECT "DT_node_lookup_15"."KEY" AS "KEY", "DT_node_lookup_15".node_id_2 AS node_id_2, "DT_node_data_15".nid AS nid, "DT_node_data_15"."P_0" AS "P_0", "DT_node_data_15"."P_1" AS "P_1", "DT_node_data_15"."P_2" AS "P_2", "DT_node_data_15"."P_3" AS "P_3", "DT_node_data_15"."D" AS "D", "DT_node_data_15"."DP" AS "DP" 
  FROM "DT_node_lookup_15" LEFT OUTER JOIN "DT_node_data_15" ON "DT_node_lookup_15".node_id_2 = "DT_node_data_15".nid), 
  "RF_Model_15" AS 
  (SELECT "DT_Output_15"."KEY" AS "KEY", CAST(NULL AS DOUBLE) AS "Score_0", "DT_Output_15"."P_0" AS "Proba_0", CASE WHEN ("DT_Output_15"."P_0" IS NULL OR "DT_Output_15"."P_0" > 0.0) THEN ln("DT_Output_15"."P_0") ELSE -1.79769313486231e+308 END AS "LogProba_0", CAST(NULL AS DOUBLE) AS "Score_1", "DT_Output_15"."P_1" AS "Proba_1", CASE WHEN ("DT_Output_15"."P_1" IS NULL OR "DT_Output_15"."P_1" > 0.0) THEN ln("DT_Output_15"."P_1") ELSE -1.79769313486231e+308 END AS "LogProba_1", CAST(NULL AS DOUBLE) AS "Score_2", "DT_Output_15"."P_2" AS "Proba_2", CASE WHEN ("DT_Output_15"."P_2" IS NULL OR "DT_Output_15"."P_2" > 0.0) THEN ln("DT_Output_15"."P_2") ELSE -1.79769313486231e+308 END AS "LogProba_2", CAST(NULL AS DOUBLE) AS "Score_3", "DT_Output_15"."P_3" AS "Proba_3", CASE WHEN ("DT_Output_15"."P_3" IS NULL OR "DT_Output_15"."P_3" > 0.0) THEN ln("DT_Output_15"."P_3") ELSE -1.79769313486231e+308 END AS "LogProba_3" 
  FROM "DT_Output_15"), 
  "RF_1" AS 
  (SELECT "RF_esu_1"."KEY" AS "KEY", "RF_esu_1"."Score_0" AS "Score_0", "RF_esu_1"."Proba_0" AS "Proba_0", "RF_esu_1"."LogProba_0" AS "LogProba_0", "RF_esu_1"."Score_1" AS "Score_1", "RF_esu_1"."Proba_1" AS "Proba_1", "RF_esu_1"."LogProba_1" AS "LogProba_1", "RF_esu_1"."Score_2" AS "Score_2", "RF_esu_1"."Proba_2" AS "Proba_2", "RF_esu_1"."LogProba_2" AS "LogProba_2", "RF_esu_1"."Score_3" AS "Score_3", "RF_esu_1"."Proba_3" AS "Proba_3", "RF_esu_1"."LogProba_3" AS "LogProba_3" 
  FROM (SELECT "RF_Model_10"."KEY" AS "KEY", CAST("RF_Model_10"."Score_0" AS DOUBLE) AS "Score_0", CAST("RF_Model_10"."Proba_0" AS DOUBLE) AS "Proba_0", CAST("RF_Model_10"."LogProba_0" AS DOUBLE) AS "LogProba_0", CAST("RF_Model_10"."Score_1" AS DOUBLE) AS "Score_1", CAST("RF_Model_10"."Proba_1" AS DOUBLE) AS "Proba_1", CAST("RF_Model_10"."LogProba_1" AS DOUBLE) AS "LogProba_1", CAST("RF_Model_10"."Score_2" AS DOUBLE) AS "Score_2", CAST("RF_Model_10"."Proba_2" AS DOUBLE) AS "Proba_2", CAST("RF_Model_10"."LogProba_2" AS DOUBLE) AS "LogProba_2", CAST("RF_Model_10"."Score_3" AS DOUBLE) AS "Score_3", CAST("RF_Model_10"."Proba_3" AS DOUBLE) AS "Proba_3", CAST("RF_Model_10"."LogProba_3" AS DOUBLE) AS "LogProba_3" 
  FROM "RF_Model_10" UNION ALL SELECT "RF_Model_11"."KEY" AS "KEY", CAST("RF_Model_11"."Score_0" AS DOUBLE) AS "Score_0", CAST("RF_Model_11"."Proba_0" AS DOUBLE) AS "Proba_0", CAST("RF_Model_11"."LogProba_0" AS DOUBLE) AS "LogProba_0", CAST("RF_Model_11"."Score_1" AS DOUBLE) AS "Score_1", CAST("RF_Model_11"."Proba_1" AS DOUBLE) AS "Proba_1", CAST("RF_Model_11"."LogProba_1" AS DOUBLE) AS "LogProba_1", CAST("RF_Model_11"."Score_2" AS DOUBLE) AS "Score_2", CAST("RF_Model_11"."Proba_2" AS DOUBLE) AS "Proba_2", CAST("RF_Model_11"."LogProba_2" AS DOUBLE) AS "LogProba_2", CAST("RF_Model_11"."Score_3" AS DOUBLE) AS "Score_3", CAST("RF_Model_11"."Proba_3" AS DOUBLE) AS "Proba_3", CAST("RF_Model_11"."LogProba_3" AS DOUBLE) AS "LogProba_3" 
  FROM "RF_Model_11" UNION ALL SELECT "RF_Model_12"."KEY" AS "KEY", CAST("RF_Model_12"."Score_0" AS DOUBLE) AS "Score_0", CAST("RF_Model_12"."Proba_0" AS DOUBLE) AS "Proba_0", CAST("RF_Model_12"."LogProba_0" AS DOUBLE) AS "LogProba_0", CAST("RF_Model_12"."Score_1" AS DOUBLE) AS "Score_1", CAST("RF_Model_12"."Proba_1" AS DOUBLE) AS "Proba_1", CAST("RF_Model_12"."LogProba_1" AS DOUBLE) AS "LogProba_1", CAST("RF_Model_12"."Score_2" AS DOUBLE) AS "Score_2", CAST("RF_Model_12"."Proba_2" AS DOUBLE) AS "Proba_2", CAST("RF_Model_12"."LogProba_2" AS DOUBLE) AS "LogProba_2", CAST("RF_Model_12"."Score_3" AS DOUBLE) AS "Score_3", CAST("RF_Model_12"."Proba_3" AS DOUBLE) AS "Proba_3", CAST("RF_Model_12"."LogProba_3" AS DOUBLE) AS "LogProba_3" 
  FROM "RF_Model_12" UNION ALL SELECT "RF_Model_13"."KEY" AS "KEY", CAST("RF_Model_13"."Score_0" AS DOUBLE) AS "Score_0", CAST("RF_Model_13"."Proba_0" AS DOUBLE) AS "Proba_0", CAST("RF_Model_13"."LogProba_0" AS DOUBLE) AS "LogProba_0", CAST("RF_Model_13"."Score_1" AS DOUBLE) AS "Score_1", CAST("RF_Model_13"."Proba_1" AS DOUBLE) AS "Proba_1", CAST("RF_Model_13"."LogProba_1" AS DOUBLE) AS "LogProba_1", CAST("RF_Model_13"."Score_2" AS DOUBLE) AS "Score_2", CAST("RF_Model_13"."Proba_2" AS DOUBLE) AS "Proba_2", CAST("RF_Model_13"."LogProba_2" AS DOUBLE) AS "LogProba_2", CAST("RF_Model_13"."Score_3" AS DOUBLE) AS "Score_3", CAST("RF_Model_13"."Proba_3" AS DOUBLE) AS "Proba_3", CAST("RF_Model_13"."LogProba_3" AS DOUBLE) AS "LogProba_3" 
  FROM "RF_Model_13" UNION ALL SELECT "RF_Model_14"."KEY" AS "KEY", CAST("RF_Model_14"."Score_0" AS DOUBLE) AS "Score_0", CAST("RF_Model_14"."Proba_0" AS DOUBLE) AS "Proba_0", CAST("RF_Model_14"."LogProba_0" AS DOUBLE) AS "LogProba_0", CAST("RF_Model_14"."Score_1" AS DOUBLE) AS "Score_1", CAST("RF_Model_14"."Proba_1" AS DOUBLE) AS "Proba_1", CAST("RF_Model_14"."LogProba_1" AS DOUBLE) AS "LogProba_1", CAST("RF_Model_14"."Score_2" AS DOUBLE) AS "Score_2", CAST("RF_Model_14"."Proba_2" AS DOUBLE) AS "Proba_2", CAST("RF_Model_14"."LogProba_2" AS DOUBLE) AS "LogProba_2", CAST("RF_Model_14"."Score_3" AS DOUBLE) AS "Score_3", CAST("RF_Model_14"."Proba_3" AS DOUBLE) AS "Proba_3", CAST("RF_Model_14"."LogProba_3" AS DOUBLE) AS "LogProba_3" 
  FROM "RF_Model_14" UNION ALL SELECT "RF_Model_15"."KEY" AS "KEY", CAST("RF_Model_15"."Score_0" AS DOUBLE) AS "Score_0", CAST("RF_Model_15"."Proba_0" AS DOUBLE) AS "Proba_0", CAST("RF_Model_15"."LogProba_0" AS DOUBLE) AS "LogProba_0", CAST("RF_Model_15"."Score_1" AS DOUBLE) AS "Score_1", CAST("RF_Model_15"."Proba_1" AS DOUBLE) AS "Proba_1", CAST("RF_Model_15"."LogProba_1" AS DOUBLE) AS "LogProba_1", CAST("RF_Model_15"."Score_2" AS DOUBLE) AS "Score_2", CAST("RF_Model_15"."Proba_2" AS DOUBLE) AS "Proba_2", CAST("RF_Model_15"."LogProba_2" AS DOUBLE) AS "LogProba_2", CAST("RF_Model_15"."Score_3" AS DOUBLE) AS "Score_3", CAST("RF_Model_15"."Proba_3" AS DOUBLE) AS "Proba_3", CAST("RF_Model_15"."LogProba_3" AS DOUBLE) AS "LogProba_3" 
  FROM "RF_Model_15") AS "RF_esu_1"), 
  "RF" AS 
  (SELECT "RFbig_esu"."KEY" AS "KEY", "RFbig_esu"."Score_0" AS "Score_0", "RFbig_esu"."Proba_0" AS "Proba_0", "RFbig_esu"."LogProba_0" AS "LogProba_0", "RFbig_esu"."Score_1" AS "Score_1", "RFbig_esu"."Proba_1" AS "Proba_1", "RFbig_esu"."LogProba_1" AS "LogProba_1", "RFbig_esu"."Score_2" AS "Score_2", "RFbig_esu"."Proba_2" AS "Proba_2", "RFbig_esu"."LogProba_2" AS "LogProba_2", "RFbig_esu"."Score_3" AS "Score_3", "RFbig_esu"."Proba_3" AS "Proba_3", "RFbig_esu"."LogProba_3" AS "LogProba_3" 
  FROM (SELECT "RF_0"."KEY" AS "KEY", CAST("RF_0"."Score_0" AS DOUBLE) AS "Score_0", CAST("RF_0"."Proba_0" AS DOUBLE) AS "Proba_0", CAST("RF_0"."LogProba_0" AS DOUBLE) AS "LogProba_0", CAST("RF_0"."Score_1" AS DOUBLE) AS "Score_1", CAST("RF_0"."Proba_1" AS DOUBLE) AS "Proba_1", CAST("RF_0"."LogProba_1" AS DOUBLE) AS "LogProba_1", CAST("RF_0"."Score_2" AS DOUBLE) AS "Score_2", CAST("RF_0"."Proba_2" AS DOUBLE) AS "Proba_2", CAST("RF_0"."LogProba_2" AS DOUBLE) AS "LogProba_2", CAST("RF_0"."Score_3" AS DOUBLE) AS "Score_3", CAST("RF_0"."Proba_3" AS DOUBLE) AS "Proba_3", CAST("RF_0"."LogProba_3" AS DOUBLE) AS "LogProba_3" 
  FROM "RF_0" UNION ALL SELECT "RF_1"."KEY" AS "KEY", CAST("RF_1"."Score_0" AS DOUBLE) AS "Score_0", CAST("RF_1"."Proba_0" AS DOUBLE) AS "Proba_0", CAST("RF_1"."LogProba_0" AS DOUBLE) AS "LogProba_0", CAST("RF_1"."Score_1" AS DOUBLE) AS "Score_1", CAST("RF_1"."Proba_1" AS DOUBLE) AS "Proba_1", CAST("RF_1"."LogProba_1" AS DOUBLE) AS "LogProba_1", CAST("RF_1"."Score_2" AS DOUBLE) AS "Score_2", CAST("RF_1"."Proba_2" AS DOUBLE) AS "Proba_2", CAST("RF_1"."LogProba_2" AS DOUBLE) AS "LogProba_2", CAST("RF_1"."Score_3" AS DOUBLE) AS "Score_3", CAST("RF_1"."Proba_3" AS DOUBLE) AS "Proba_3", CAST("RF_1"."LogProba_3" AS DOUBLE) AS "LogProba_3" 
  FROM "RF_1") AS "RFbig_esu"), 
  "RF_avg" AS 
  (SELECT "T"."KEY" AS "KEY", CAST("T"."Score_0" AS DOUBLE) AS "Score_0", CAST("T"."Proba_0" AS DOUBLE) AS "Proba_0", CAST("T"."LogProba_0" AS DOUBLE) AS "LogProba_0", CAST("T"."Score_1" AS DOUBLE) AS "Score_1", CAST("T"."Proba_1" AS DOUBLE) AS "Proba_1", CAST("T"."LogProba_1" AS DOUBLE) AS "LogProba_1", CAST("T"."Score_2" AS DOUBLE) AS "Score_2", CAST("T"."Proba_2" AS DOUBLE) AS "Proba_2", CAST("T"."LogProba_2" AS DOUBLE) AS "LogProba_2", CAST("T"."Score_3" AS DOUBLE) AS "Score_3", CAST("T"."Proba_3" AS DOUBLE) AS "Proba_3", CAST("T"."LogProba_3" AS DOUBLE) AS "LogProba_3" 
  FROM (SELECT "RF"."KEY" AS "KEY", AVG(DOUBLE((CAST("RF"."Score_0" AS DOUBLE)))) AS "Score_0", AVG(DOUBLE((CAST("RF"."Proba_0" AS DOUBLE)))) AS "Proba_0", CAST(NULL AS DOUBLE) AS "LogProba_0", AVG(DOUBLE((CAST("RF"."Score_1" AS DOUBLE)))) AS "Score_1", AVG(DOUBLE((CAST("RF"."Proba_1" AS DOUBLE)))) AS "Proba_1", CAST(NULL AS DOUBLE) AS "LogProba_1", AVG(DOUBLE((CAST("RF"."Score_2" AS DOUBLE)))) AS "Score_2", AVG(DOUBLE((CAST("RF"."Proba_2" AS DOUBLE)))) AS "Proba_2", CAST(NULL AS DOUBLE) AS "LogProba_2", AVG(DOUBLE((CAST("RF"."Score_3" AS DOUBLE)))) AS "Score_3", AVG(DOUBLE((CAST("RF"."Proba_3" AS DOUBLE)))) AS "Proba_3", CAST(NULL AS DOUBLE) AS "LogProba_3" 
  FROM "RF" GROUP BY "RF"."KEY") AS "T"), 
  orig_cte AS 
  (SELECT "RF_avg"."KEY" AS "KEY", "RF_avg"."Score_0" AS "Score_0", "RF_avg"."Score_1" AS "Score_1", "RF_avg"."Score_2" AS "Score_2", "RF_avg"."Score_3" AS "Score_3", "RF_avg"."Proba_0" AS "Proba_0", "RF_avg"."Proba_1" AS "Proba_1", "RF_avg"."Proba_2" AS "Proba_2", "RF_avg"."Proba_3" AS "Proba_3", "RF_avg"."LogProba_0" AS "LogProba_0", "RF_avg"."LogProba_1" AS "LogProba_1", "RF_avg"."LogProba_2" AS "LogProba_2", "RF_avg"."LogProba_3" AS "LogProba_3", NULL AS "Decision", CAST(NULL AS DOUBLE) AS "DecisionProba" 
  FROM "RF_avg"), 
  score_class_union AS 
  (SELECT scu."KEY_u" AS "KEY_u", scu.class AS class, scu."LogProba" AS "LogProba", scu."Proba" AS "Proba", scu."Score" AS "Score" 
  FROM (SELECT orig_cte."KEY" AS "KEY_u", 0 AS class, orig_cte."LogProba_0" AS "LogProba", orig_cte."Proba_0" AS "Proba", orig_cte."Score_0" AS "Score" 
  FROM orig_cte UNION ALL SELECT orig_cte."KEY" AS "KEY_u", 1 AS class, orig_cte."LogProba_1" AS "LogProba", orig_cte."Proba_1" AS "Proba", orig_cte."Score_1" AS "Score" 
  FROM orig_cte UNION ALL SELECT orig_cte."KEY" AS "KEY_u", 2 AS class, orig_cte."LogProba_2" AS "LogProba", orig_cte."Proba_2" AS "Proba", orig_cte."Score_2" AS "Score" 
  FROM orig_cte UNION ALL SELECT orig_cte."KEY" AS "KEY_u", 3 AS class, orig_cte."LogProba_3" AS "LogProba", orig_cte."Proba_3" AS "Proba", orig_cte."Score_3" AS "Score" 
  FROM orig_cte) AS scu), 
  score_max AS 
  (SELECT orig_cte."KEY" AS "KEY", orig_cte."Score_0" AS "Score_0", orig_cte."Score_1" AS "Score_1", orig_cte."Score_2" AS "Score_2", orig_cte."Score_3" AS "Score_3", orig_cte."Proba_0" AS "Proba_0", orig_cte."Proba_1" AS "Proba_1", orig_cte."Proba_2" AS "Proba_2", orig_cte."Proba_3" AS "Proba_3", orig_cte."LogProba_0" AS "LogProba_0", orig_cte."LogProba_1" AS "LogProba_1", orig_cte."LogProba_2" AS "LogProba_2", orig_cte."LogProba_3" AS "LogProba_3", orig_cte."Decision" AS "Decision", orig_cte."DecisionProba" AS "DecisionProba", max_select."KEY_m" AS "KEY_m", max_select."max_Proba" AS "max_Proba" 
  FROM orig_cte LEFT OUTER JOIN (SELECT score_class_union."KEY_u" AS "KEY_m", max(score_class_union."Proba") AS "max_Proba" 
  FROM score_class_union GROUP BY score_class_union."KEY_u") AS max_select ON orig_cte."KEY" = max_select."KEY_m"), 
  union_with_max AS 
  (SELECT score_class_union."KEY_u" AS "KEY_u", score_class_union.class AS class, score_class_union."LogProba" AS "LogProba", score_class_union."Proba" AS "Proba", score_class_union."Score" AS "Score", score_max."KEY" AS "KEY", score_max."Score_0" AS "Score_0", score_max."Score_1" AS "Score_1", score_max."Score_2" AS "Score_2", score_max."Score_3" AS "Score_3", score_max."Proba_0" AS "Proba_0", score_max."Proba_1" AS "Proba_1", score_max."Proba_2" AS "Proba_2", score_max."Proba_3" AS "Proba_3", score_max."LogProba_0" AS "LogProba_0", score_max."LogProba_1" AS "LogProba_1", score_max."LogProba_2" AS "LogProba_2", score_max."LogProba_3" AS "LogProba_3", score_max."Decision" AS "Decision", score_max."DecisionProba" AS "DecisionProba", score_max."KEY_m" AS "KEY_m", score_max."max_Proba" AS "max_Proba" 
  FROM score_class_union LEFT OUTER JOIN score_max ON score_class_union."KEY_u" = score_max."KEY"), 
  arg_max_cte AS 
  (SELECT score_max."KEY" AS "KEY", score_max."Score_0" AS "Score_0", score_max."Score_1" AS "Score_1", score_max."Score_2" AS "Score_2", score_max."Score_3" AS "Score_3", score_max."Proba_0" AS "Proba_0", score_max."Proba_1" AS "Proba_1", score_max."Proba_2" AS "Proba_2", score_max."Proba_3" AS "Proba_3", score_max."LogProba_0" AS "LogProba_0", score_max."LogProba_1" AS "LogProba_1", score_max."LogProba_2" AS "LogProba_2", score_max."LogProba_3" AS "LogProba_3", score_max."Decision" AS "Decision", score_max."DecisionProba" AS "DecisionProba", score_max."KEY_m" AS "KEY_m", score_max."max_Proba" AS "max_Proba", "arg_max_t_Proba"."KEY_Proba" AS "KEY_Proba", "arg_max_t_Proba"."arg_max_Proba" AS "arg_max_Proba" 
  FROM score_max LEFT OUTER JOIN (SELECT union_with_max."KEY" AS "KEY_Proba", max(union_with_max.class) AS "arg_max_Proba" 
  FROM union_with_max 
  WHERE union_with_max."max_Proba" <= union_with_max."Proba" GROUP BY union_with_max."KEY") AS "arg_max_t_Proba" ON score_max."KEY" = "arg_max_t_Proba"."KEY_Proba")
   SELECT arg_max_cte."KEY" AS "KEY", arg_max_cte."Score_0" AS "Score_0", arg_max_cte."Score_1" AS "Score_1", arg_max_cte."Score_2" AS "Score_2", arg_max_cte."Score_3" AS "Score_3", arg_max_cte."Proba_0" AS "Proba_0", arg_max_cte."Proba_1" AS "Proba_1", arg_max_cte."Proba_2" AS "Proba_2", arg_max_cte."Proba_3" AS "Proba_3", CASE WHEN (arg_max_cte."Proba_0" IS NULL OR arg_max_cte."Proba_0" > 0.0) THEN ln(arg_max_cte."Proba_0") ELSE -1.79769313486231e+308 END AS "LogProba_0", CASE WHEN (arg_max_cte."Proba_1" IS NULL OR arg_max_cte."Proba_1" > 0.0) THEN ln(arg_max_cte."Proba_1") ELSE -1.79769313486231e+308 END AS "LogProba_1", CASE WHEN (arg_max_cte."Proba_2" IS NULL OR arg_max_cte."Proba_2" > 0.0) THEN ln(arg_max_cte."Proba_2") ELSE -1.79769313486231e+308 END AS "LogProba_2", CASE WHEN (arg_max_cte."Proba_3" IS NULL OR arg_max_cte."Proba_3" > 0.0) THEN ln(arg_max_cte."Proba_3") ELSE -1.79769313486231e+308 END AS "LogProba_3", arg_max_cte."arg_max_Proba" AS "Decision", arg_max_cte."max_Proba" AS "DecisionProba" 
  FROM arg_max_cte