text: -- This SQL code was generated by sklearn2sql (development version).
  -- Copyright 2018
  
  -- Model : CaretClassifier_svmPoly
  -- Dataset : FourClass_10
  -- Database : oracle
  
  
  -- This SQL code can contain one or more statements, to be executed in the order they appear in this file.
  
  
  
  -- Model deployment code
  
  WITH kernel_input_with_scaling AS 
  (SELECT "ADS"."KEY" AS "KEY", (CAST("ADS"."Feature_0" AS BINARY_DOUBLE) - -0.003903374463034224) / 0.985685974308334 AS "Feature_0", (CAST("ADS"."Feature_1" AS BINARY_DOUBLE) - 0.6152232215702326) / 1.398851036008891 AS "Feature_1", (CAST("ADS"."Feature_2" AS BINARY_DOUBLE) - 0.04279623691429167) / 1.5057087871323842 AS "Feature_2", (CAST("ADS"."Feature_3" AS BINARY_DOUBLE) - 0.770981955890407) / 2.3480777416797296 AS "Feature_3", (CAST("ADS"."Feature_4" AS BINARY_DOUBLE) - -0.43300733624893323) / 1.4118274472656485 AS "Feature_4", (CAST("ADS"."Feature_5" AS BINARY_DOUBLE) - -0.04249569657940362) / 0.961839508883184 AS "Feature_5", (CAST("ADS"."Feature_6" AS BINARY_DOUBLE) - -0.29809080119845444) / 1.0234297313191445 AS "Feature_6", (CAST("ADS"."Feature_7" AS BINARY_DOUBLE) - 0.14672241507251668) / 1.610898315451602 AS "Feature_7", (CAST("ADS"."Feature_8" AS BINARY_DOUBLE) - 0.01746942384662041) / 1.1559772136551034 AS "Feature_8", (CAST("ADS"."Feature_9" AS BINARY_DOUBLE) - 0.11507331415602873) / 0.975205386360447 AS "Feature_9" 
  FROM "FOURCLASS_10" "ADS"), 
  "SV_data_0" AS 
  (SELECT "Values".sv_idx AS sv_idx, "Values".dual_coeff AS dual_coeff, "Values".sv_0 AS sv_0, "Values".sv_1 AS sv_1, "Values".sv_2 AS sv_2, "Values".sv_3 AS sv_3, "Values".sv_4 AS sv_4, "Values".sv_5 AS sv_5, "Values".sv_6 AS sv_6, "Values".sv_7 AS sv_7, "Values".sv_8 AS sv_8, "Values".sv_9 AS sv_9 
  FROM (SELECT 0 AS sv_idx, -0.7499654569414166 AS dual_coeff, 0.9653189877766962 AS sv_0, -1.1291621488743975 AS sv_1, 1.4033108967436836 AS sv_2, 0.166436860575433 AS sv_3, 1.9070968364879664 AS sv_4, -1.3730216493299696 AS sv_5, -0.2627922021605201 AS sv_6, 0.5698937636829208 AS sv_7, -0.7951655896962079 AS sv_8, 0.527928088999354 AS sv_9 FROM DUAL UNION ALL SELECT 1 AS sv_idx, 1.0 AS dual_coeff, -0.534068447665566 AS sv_0, -0.7250564587401706 AS sv_1, 1.4687181411056154 AS sv_2, 0.5031276041559013 AS sv_3, 0.6922226883950333 AS sv_4, -0.3357043626906869 AS sv_5, -0.6149155583973254 AS sv_6, 0.2836079644618815 AS sv_7, -0.7701110839621257 AS sv_8, -0.1375768199798532 AS sv_9 FROM DUAL UNION ALL SELECT 2 AS sv_idx, 1.0 AS dual_coeff, -0.6344351312553284 AS sv_0, 0.7132129305052649 AS sv_1, -0.02925722300628685 AS sv_2, 0.19332104308971518 AS sv_3, 0.420914159253668 AS sv_4, 0.4964981036981304 AS sv_5, -0.01461764946122885 AS sv_6, -0.215467293186018 AS sv_7, 0.8676890488105719 AS sv_8, 0.397098416578503 AS sv_9 FROM DUAL UNION ALL SELECT 3 AS sv_idx, 0.6054582128735412 AS dual_coeff, -0.5060071158350985 AS sv_0, 1.163962788839711 AS sv_1, -0.4819069534632626 AS sv_2, -0.008842762321022856 AS sv_3, 1.3647350359142414 AS sv_4, -0.30945042838315684 AS sv_5, 0.3572152031760079 AS sv_6, -0.2274783732313642 AS sv_7, 0.6258724978682056 AS sv_8, -1.2519043832847112 AS sv_9 FROM DUAL UNION ALL SELECT 4 AS sv_idx, -1.0 AS dual_coeff, 0.746587766190979 AS sv_0, -0.9092462040564429 AS sv_1, 0.28349368308132317 AS sv_2, -0.11486333526626365 AS sv_3, 0.24593744912504 AS sv_4, 0.28475279877899257 AS sv_5, -0.07477430124797411 AS sv_6, 0.569327022386036 AS sv_7, 0.6815856403250108 AS sv_8, -0.616343812965098 AS sv_9 FROM DUAL UNION ALL SELECT 5 AS sv_idx, 0.06323868157011665 AS dual_coeff, -0.0814603576701861 AS sv_0, -0.0002181785146272345 AS sv_1, 1.1731536033080547 AS sv_2, 0.8950077554090936 AS sv_3, 2.407081682002816 AS sv_4, 1.2789928223444862 AS sv_5, -0.8438992577278722 AS sv_6, 1.5274746798891743 AS sv_7, -0.1281140451982438 AS sv_8, 1.3446815669504368 AS sv_9 FROM DUAL UNION ALL SELECT 6 AS sv_idx, 0.049000006800995886 AS dual_coeff, -0.817841939181895 AS sv_0, 0.05383618720137904 AS sv_1, 0.931686907094515 AS sv_2, 0.7298051435478373 AS sv_3, 2.164733388616483 AS sv_4, -0.955534249490852 AS sv_5, -0.6655594430642205 AS sv_6, 1.2993257831092162 AS sv_7, -1.5835530998600886 AS sv_8, -0.6618036812819796 AS sv_9 FROM DUAL UNION ALL SELECT 7 AS sv_idx, -0.4111001573390208 AS dual_coeff, -1.6422289715234075 AS sv_0, -0.9828720617187806 AS sv_1, -0.3407773773084964 AS sv_2, -0.4760869057466098 AS sv_3, -0.5223185639022023 AS sv_4, 0.9435870766957436 AS sv_5, 0.23475309582295506 AS sv_6, 0.3688788785033191 AS sv_7, -0.8611137239029116 AS sv_8, -0.2532261907559945 AS sv_9 FROM DUAL UNION ALL SELECT 8 AS sv_idx, -1.0 AS dual_coeff, -0.3245823608155715 AS sv_0, -1.0684827511598158 AS sv_1, 0.3048964602416445 AS sv_2, -0.1595668211913016 AS sv_3, 0.4267275396003094 AS sv_4, -0.8616221061805942 AS sv_5, -0.054121251151750566 AS sv_6, 0.7082309729003907 AS sv_7, 0.3958045898628016 AS sv_8, 0.2856186114462042 AS sv_9 FROM DUAL UNION ALL SELECT 9 AS sv_idx, 1.0 AS dual_coeff, -0.6129023540315577 AS sv_0, -0.21598686971241213 AS sv_1, 0.4510722721220325 AS sv_2, 0.17953821065082076 AS sv_3, 0.6084446290467944 AS sv_4, -2.055001061099748 AS sv_5, -0.19851362326334168 AS sv_6, 0.312143561955962 AS sv_7, -0.7074851645280955 AS sv_8, -0.323968020196474 AS sv_9 FROM DUAL UNION ALL SELECT 10 AS sv_idx, -0.02426558427180221 AS dual_coeff, 0.3726544867442346 AS sv_0, 0.08783738207953555 AS sv_1, -1.1428889985267379 AS sv_2, -0.7062390799367324 AS sv_3, 0.8163135005779466 AS sv_4, 0.02748350785691835 AS sv_5, 0.7974615346397282 AS sv_6, 0.176440468015556 AS sv_7, 0.5170504647501135 AS sv_8, -0.3451621353879637 AS sv_9 FROM DUAL UNION ALL SELECT 11 AS sv_idx, -0.17824181860609992 AS dual_coeff, -2.0310948160946154 AS sv_0, 1.5944877374777835 AS sv_1, -1.5977214943976648 AS sv_2, -0.8499695701457389 AS sv_3, 1.93610321723148 AS sv_4, -1.186483311820281 AS sv_5, 1.4144550861836087 AS sv_6, -0.9952170986599872 AS sv_7, 2.6411862022174053 AS sv_8, 0.222434026453808 AS sv_9 FROM DUAL UNION ALL SELECT 12 AS sv_idx, 1.0 AS dual_coeff, -0.3828798765771476 AS sv_0, -0.3376549285038293 AS sv_1, 1.1449614916221313 AS sv_2, 0.6238316550097746 AS sv_3, 1.4514295957971968 AS sv_4, -0.577515979518606 AS sv_5, -0.6560114275285577 AS sv_6, 0.9079472108915104 AS sv_7, 0.109089529243638 AS sv_8, -0.3669969300560157 AS sv_9 FROM DUAL UNION ALL SELECT 13 AS sv_idx, 0.17509609888009145 AS dual_coeff, -1.2846269814249154 AS sv_0, 0.5592997794233919 AS sv_1, 0.007082653900540916 AS sv_2, 0.3705133232062586 AS sv_3, 0.7063996807346863 AS sv_4, 1.5583402697602275 AS sv_5, -0.2615309705479041 AS sv_6, 0.5090213477296841 AS sv_7, 0.5188466232772484 AS sv_8, 0.4488611946224697 AS sv_9 FROM DUAL UNION ALL SELECT 14 AS sv_idx, -0.539033246210395 AS dual_coeff, -0.8951765304218519 AS sv_0, -0.7013828432736817 AS sv_1, -0.19426149008581958 AS sv_2, -0.14198617757466067 AS sv_3, 0.7291437582475919 AS sv_4, -0.3702792797463425 AS sv_5, -0.0179876195292146 AS sv_6, 1.1683875592105193 AS sv_7, -0.7230148792591475 AS sv_8, -1.4745316531232768 AS sv_9 FROM DUAL UNION ALL SELECT 15 AS sv_idx, -0.2724389287233181 AS dual_coeff, 1.6103770295223283 AS sv_0, 0.24434197665869056 AS sv_1, 0.17252830612151454 AS sv_2, -0.854028550176394 AS sv_3, 1.0295243109749352 AS sv_4, -0.22665202291510214 AS sv_5, 1.207790919584385 AS sv_6, -2.342733711955032 AS sv_7, -0.2298046310475645 AS sv_8, 1.1003554361347123 AS sv_9 FROM DUAL UNION ALL SELECT 16 AS sv_idx, -0.7787977795092011 AS dual_coeff, -2.033526627875754 AS sv_0, 0.02171769142849912 AS sv_1, -0.4562604441575269 AS sv_2, -0.26282812447970083 AS sv_3, 1.4058164514728495 AS sv_4, -0.25324864921329016 AS sv_5, 0.34390671259067346 AS sv_6, 0.5995599430849904 AS sv_7, 0.665275283777464 AS sv_8, 1.2855956397049193 AS sv_9 FROM DUAL UNION ALL SELECT 17 AS sv_idx, 0.6107774383263164 AS dual_coeff, 0.371360969615878 AS sv_0, 0.38126134935447453 AS sv_1, 0.22486948679242974 AS sv_2, 0.452648032224015 AS sv_3, -0.2365556340227178 AS sv_4, -0.39177538327057615 AS sv_5, -0.43431767867555177 AS sv_6, 0.2154878761804312 AS sv_7, 0.4581497218974364 AS sv_8, -1.4242552825858907 AS sv_9 FROM DUAL UNION ALL SELECT 18 AS sv_idx, -1.0 AS dual_coeff, -0.1667454116817392 AS sv_0, -0.6055150702415805 AS sv_1, 0.7804724109726113 AS sv_2, 0.30331989318522373 AS sv_3, 0.9117741640767132 AS sv_4, -0.35818297553001105 AS sv_5, -0.4092563016487761 AS sv_6, 0.7657209942383278 AS sv_7, -0.6676186899989883 AS sv_8, -1.9156917752257356 AS sv_9 FROM DUAL UNION ALL SELECT 19 AS sv_idx, 0.2739911358792113 AS dual_coeff, 0.1281394524133444 AS sv_0, 0.6465276417559809 AS sv_1, -0.22744275392229146 AS sv_2, 0.3289475455818557 AS sv_3, -0.4672036958266672 AS sv_4, 0.936980748863176 AS sv_5, -0.2723974802146037 AS sv_6, 0.1458300822718797 AS sv_7, -1.3041858355315743 AS sv_8, -0.3205568271885453 AS sv_9 FROM DUAL UNION ALL SELECT 20 AS sv_idx, 0.1762813972709812 AS dual_coeff, -0.5170654608645331 AS sv_0, -1.5117730954817024 AS sv_1, 2.416273663754718 AS sv_2, 0.35702696606266354 AS sv_3, 0.3241836570343565 AS sv_4, 1.184221316298912 AS sv_5, -0.5593595841433888 AS sv_6, -0.6734769099306842 AS sv_7, -0.2924383880888706 AS sv_8, 1.3883831874463035 AS sv_9 FROM DUAL) "Values"), 
  kernel_dp_0 AS 
  (SELECT t."KEY" AS "KEY", t.dot_product AS dot_product 
  FROM (SELECT full_join_data_sv."KEY" AS "KEY", sum(CAST(full_join_data_sv.dot_prod1 AS BINARY_DOUBLE)) + 0.250681341451124 AS dot_product 
  FROM (SELECT kernel_input_with_scaling."KEY" AS "KEY", "SV_data_0".dual_coeff * power(0.1 * (kernel_input_with_scaling."Feature_0" * "SV_data_0".sv_0 + kernel_input_with_scaling."Feature_1" * "SV_data_0".sv_1 + kernel_input_with_scaling."Feature_2" * "SV_data_0".sv_2 + kernel_input_with_scaling."Feature_3" * "SV_data_0".sv_3 + kernel_input_with_scaling."Feature_4" * "SV_data_0".sv_4 + kernel_input_with_scaling."Feature_5" * "SV_data_0".sv_5 + kernel_input_with_scaling."Feature_6" * "SV_data_0".sv_6 + kernel_input_with_scaling."Feature_7" * "SV_data_0".sv_7 + kernel_input_with_scaling."Feature_8" * "SV_data_0".sv_8 + kernel_input_with_scaling."Feature_9" * "SV_data_0".sv_9) + 1.0, 2.0) AS dot_prod1 
  FROM kernel_input_with_scaling, "SV_data_0") full_join_data_sv GROUP BY full_join_data_sv."KEY") t), 
  "OVR_Score_0" AS 
  (SELECT kernel_dp_0."KEY" AS "KEY_0", CAST(NULL AS BINARY_DOUBLE) AS "Proba_0", kernel_dp_0.dot_product AS "Score_0" 
  FROM kernel_dp_0), 
  "SV_data_1" AS 
  (SELECT "Values".sv_idx AS sv_idx, "Values".dual_coeff AS dual_coeff, "Values".sv_0 AS sv_0, "Values".sv_1 AS sv_1, "Values".sv_2 AS sv_2, "Values".sv_3 AS sv_3, "Values".sv_4 AS sv_4, "Values".sv_5 AS sv_5, "Values".sv_6 AS sv_6, "Values".sv_7 AS sv_7, "Values".sv_8 AS sv_8, "Values".sv_9 AS sv_9 
  FROM (SELECT 0 AS sv_idx, 1.0 AS dual_coeff, 0.37051016889446814 AS sv_0, 0.21371270943759044 AS sv_1, 0.08341044950704032 AS sv_2, 0.6985406703820334 AS sv_3, -0.8723098328043123 AS sv_4, 0.6018505414221271 AS sv_5, -0.8391492201064995 AS sv_6, 1.0138047516218038 AS sv_7, 0.9016682906461144 AS sv_8, 0.5911888283360884 AS sv_9 FROM DUAL UNION ALL SELECT 1 AS sv_idx, 0.2017672829532239 AS dual_coeff, 1.403430061696336 AS sv_0, 0.8805343704420019 AS sv_1, -1.9283522422441743 AS sv_2, -0.07427219396655321 AS sv_3, -0.7744581834647987 AS sv_4, -2.653461350953862 AS sv_5, 0.06319631717541911 AS sv_6, 1.2871863708830285 AS sv_7, -0.9817704259620542 AS sv_8, -0.9623792140136957 AS sv_9 FROM DUAL UNION ALL SELECT 2 AS sv_idx, -0.7615462763226446 AS dual_coeff, 0.5122860245908684 AS sv_0, -0.8660059948483635 AS sv_1, -0.2423641028765693 AS sv_2, -0.7941284178643379 AS sv_3, -0.18464586504890929 AS sv_4, -0.02344078915576573 AS sv_5, 0.6942797156907662 AS sv_6, -0.6097423195855596 AS sv_7, 0.1993901271293015 AS sv_8, 2.5633016381542224 AS sv_9 FROM DUAL UNION ALL SELECT 3 AS sv_idx, 0.7732045816380275 AS dual_coeff, -0.6252581473182629 AS sv_0, 0.19000876468809869 AS sv_1, -1.8321897862472636 AS sv_2, -0.7941026229834349 AS sv_3, 0.6575342282091212 AS sv_4, 1.7728198329985967 AS sv_5, 0.8398868709488634 AS sv_6, 0.808964205974237 AS sv_7, 0.08736902578743865 AS sv_8, 0.9887876921720676 AS sv_9 FROM DUAL UNION ALL SELECT 4 AS sv_idx, -1.0 AS dual_coeff, 0.746587766190979 AS sv_0, -0.9092462040564429 AS sv_1, 0.2834936830813231 AS sv_2, -0.11486333526626365 AS sv_3, 0.24593744912504 AS sv_4, 0.28475279877899257 AS sv_5, -0.07477430124797411 AS sv_6, 0.569327022386036 AS sv_7, 0.6815856403250108 AS sv_8, -0.616343812965098 AS sv_9 FROM DUAL UNION ALL SELECT 5 AS sv_idx, 0.1486771206270931 AS dual_coeff, 0.3320749737655567 AS sv_0, -2.64578935398865 AS sv_1, 0.07794341990148089 AS sv_2, -1.8478595255007768 AS sv_3, 0.009832166329223454 AS sv_4, 0.4980104682843566 AS sv_5, 1.5352722895835187 AS sv_6, -1.3891324123418423 AS sv_7, 0.7963342666057026 AS sv_8, 1.6484022551831778 AS sv_9 FROM DUAL UNION ALL SELECT 6 AS sv_idx, 1.0 AS dual_coeff, 0.2692791002983145 AS sv_0, -2.037390402727876 AS sv_1, -0.451364989495158 AS sv_2, -1.6306423145032547 AS sv_3, 1.218895303339371 AS sv_4, 0.3903003119058148 AS sv_5, 1.4344367283138 AS sv_6, -0.29821413159179894 AS sv_7, 0.3848788472553645 AS sv_8, -0.3070954173709102 AS sv_9 FROM DUAL UNION ALL SELECT 7 AS sv_idx, 1.0 AS dual_coeff, -2.3417420658462977 AS sv_0, -0.3006135059035945 AS sv_1, -0.3121275888835497 AS sv_2, -0.23698575292726196 AS sv_3, -0.0571917114802659 AS sv_4, 0.35620931828695696 AS sv_5, 0.16373689827494506 AS sv_6, 0.2416819773507595 AS sv_7, -0.3431968054611256 AS sv_8, 0.1935622147244732 AS sv_9 FROM DUAL UNION ALL SELECT 8 AS sv_idx, 0.3717313626029208 AS dual_coeff, -0.2388114511379498 AS sv_0, -1.4494245161618156 AS sv_1, -0.44656681127053777 AS sv_2, -1.252717439683822 AS sv_3, -0.3776253351622638 AS sv_4, -0.4769149203011973 AS sv_5, 1.0582261028753415 AS sv_6, -0.7903723206000702 AS sv_7, -0.840518752454899 AS sv_8, -0.4688914710163633 AS sv_9 FROM DUAL UNION ALL SELECT 9 AS sv_idx, -1.0 AS dual_coeff, -0.7675690837174483 AS sv_0, -1.513559041382322 AS sv_1, -0.06890976682212181 AS sv_2, -0.8171376197349826 AS sv_3, 0.6297613851647135 AS sv_4, 0.18534890535096 AS sv_5, 0.5956846232853622 AS sv_6, 0.26444804343875833 AS sv_7, -0.4304994354203058 AS sv_8, -0.002177915463207932 AS sv_9 FROM DUAL UNION ALL SELECT 10 AS sv_idx, 0.2158236652328554 AS dual_coeff, 0.8941555735060166 AS sv_0, 0.16963642505801246 AS sv_1, -0.05864953949037403 AS sv_2, 0.5034711013046084 AS sv_3, -1.0320072734693313 AS sv_4, 2.2638165329454485 AS sv_5, -0.6354740482842186 AS sv_6, 0.7202851629619561 AS sv_7, 1.4284745908150862 AS sv_8, 0.32751940799074947 AS sv_9 FROM DUAL UNION ALL SELECT 11 AS sv_idx, 0.348472822147023 AS dual_coeff, -1.0608034307100531 AS sv_0, 0.10671374309142 AS sv_1, -1.3650046025983515 AS sv_2, -0.923663740420346 AS sv_3, -0.2574773246348662 AS sv_4, -2.076872584399772 AS sv_5, 0.9919974477543582 AS sv_6, -0.5255546587012939 AS sv_7, -0.2474009757616925 AS sv_8, -0.200366974026928 AS sv_9 FROM DUAL UNION ALL SELECT 12 AS sv_idx, -1.0 AS dual_coeff, -1.6422289715234075 AS sv_0, -0.9828720617187808 AS sv_1, -0.3407773773084964 AS sv_2, -0.4760869057466098 AS sv_3, -0.5223185639022023 AS sv_4, 0.9435870766957436 AS sv_5, 0.23475309582295506 AS sv_6, 0.3688788785033191 AS sv_7, -0.8611137239029117 AS sv_8, -0.25322619075599445 AS sv_9 FROM DUAL UNION ALL SELECT 13 AS sv_idx, 0.2138225091681318 AS dual_coeff, 0.6729447468808548 AS sv_0, 1.0652480272287148 AS sv_1, 0.521242011698192 AS sv_2, 1.6388167272903915 AS sv_3, 0.003774221301854632 AS sv_4, 1.0796331514318391 AS sv_5, -1.660244423348102 AS sv_6, 2.013712020397198 AS sv_7, 0.8935386203698094 AS sv_8, -2.973216876317563 AS sv_9 FROM DUAL UNION ALL SELECT 14 AS sv_idx, -0.7048208264606176 AS dual_coeff, 0.7764142609987683 AS sv_0, 0.6308030787525839 AS sv_1, -0.8984507241107926 AS sv_2, -0.9241877693198148 AS sv_3, 1.3185726156409718 AS sv_4, 0.13105854576631315 AS sv_5, 1.2842732272040789 AS sv_6, -1.259375270285691 AS sv_7, 0.5599853302955418 AS sv_8, 1.1849489895846768 AS sv_9 FROM DUAL UNION ALL SELECT 15 AS sv_idx, -1.0 AS dual_coeff, 0.37265448674423457 AS sv_0, 0.08783738207953555 AS sv_1, -1.1428889985267379 AS sv_2, -0.7062390799367324 AS sv_3, 0.8163135005779466 AS sv_4, 0.02748350785691835 AS sv_5, 0.7974615346397282 AS sv_6, 0.176440468015556 AS sv_7, 0.5170504647501135 AS sv_8, -0.34516213538796364 AS sv_9 FROM DUAL UNION ALL SELECT 16 AS sv_idx, -0.1149207195768764 AS dual_coeff, -2.0310948160946154 AS sv_0, 1.5944877374777835 AS sv_1, -1.5977214943976645 AS sv_2, -0.8499695701457389 AS sv_3, 1.93610321723148 AS sv_4, -1.186483311820281 AS sv_5, 1.4144550861836087 AS sv_6, -0.9952170986599872 AS sv_7, 2.6411862022174053 AS sv_8, 0.222434026453808 AS sv_9 FROM DUAL UNION ALL SELECT 17 AS sv_idx, -0.3406517826097524 AS dual_coeff, -0.8951765304218517 AS sv_0, -0.7013828432736816 AS sv_1, -0.1942614900858196 AS sv_2, -0.14198617757466067 AS sv_3, 0.7291437582475918 AS sv_4, -0.3702792797463425 AS sv_5, -0.0179876195292146 AS sv_6, 1.1683875592105195 AS sv_7, -0.7230148792591475 AS sv_8, -1.4745316531232768 AS sv_9 FROM DUAL UNION ALL SELECT 18 AS sv_idx, -0.1726570141905936 AS dual_coeff, -2.033526627875754 AS sv_0, 0.02171769142849912 AS sv_1, -0.4562604441575269 AS sv_2, -0.2628281244797009 AS sv_3, 1.4058164514728495 AS sv_4, -0.25324864921329016 AS sv_5, 0.34390671259067346 AS sv_6, 0.5995599430849904 AS sv_7, 0.665275283777464 AS sv_8, 1.285595639704919 AS sv_9 FROM DUAL UNION ALL SELECT 19 AS sv_idx, 0.5593646381493437 AS dual_coeff, 0.7505867392487702 AS sv_0, -1.2791773924861467 AS sv_1, -0.8756408623284699 AS sv_2, -0.9188747921762456 AS sv_3, -1.6110014784533648 AS sv_4, 0.7130658518661693 AS sv_5, 0.5762935015625198 AS sv_6, -0.02331399117093269 AS sv_7, 0.1828629403319343 AS sv_8, -0.008116036169301266 AS sv_9 FROM DUAL UNION ALL SELECT 20 AS sv_idx, -0.190631713477784 AS dual_coeff, 2.85554798990547 AS sv_0, -0.5836089991738348 AS sv_1, -1.0297237688356382 AS sv_2, -1.0259779926697603 AS sv_3, 0.06521068077690705 AS sv_4, -0.20001043624822 AS sv_5, 0.976248728467216 AS sv_6, -0.25870397964966524 AS sv_7, 1.7116931065339664 AS sv_8, 0.7734144745931457 AS sv_9 FROM DUAL UNION ALL SELECT 21 AS sv_idx, 1.0 AS dual_coeff, -0.02885028701726715 AS sv_0, -0.6412885656652372 AS sv_1, -1.1101991774366236 AS sv_2, -1.5520757330205903 AS sv_3, 1.1647654200977513 AS sv_4, -0.10621953675392076 AS sv_5, 1.6580594323529652 AS sv_6, -0.9413821759969304 AS sv_7, -0.04346275467746182 AS sv_8, 0.35194086231521254 AS sv_9 FROM DUAL UNION ALL SELECT 22 AS sv_idx, -0.547635649880351 AS dual_coeff, -0.6091106054973222 AS sv_0, -1.192786230476005 AS sv_1, 0.16812817753919568 AS sv_2, -0.24032509549173034 AS sv_3, 0.3728940545375261 AS sv_4, 0.4949757759171033 AS sv_5, -0.01035468001417454 AS sv_6, 0.8514296269291579 AS sv_7, 1.0310341755221628 AS sv_8, 0.410720951765902 AS sv_9 FROM DUAL) "Values"), 
  kernel_dp_1 AS 
  (SELECT t_1."KEY" AS "KEY", t_1.dot_product AS dot_product 
  FROM (SELECT full_join_data_sv_1."KEY" AS "KEY", sum(CAST(full_join_data_sv_1.dot_prod1 AS BINARY_DOUBLE)) + -0.639154154630491 AS dot_product 
  FROM (SELECT kernel_input_with_scaling."KEY" AS "KEY", "SV_data_1".dual_coeff * power(0.1 * (kernel_input_with_scaling."Feature_0" * "SV_data_1".sv_0 + kernel_input_with_scaling."Feature_1" * "SV_data_1".sv_1 + kernel_input_with_scaling."Feature_2" * "SV_data_1".sv_2 + kernel_input_with_scaling."Feature_3" * "SV_data_1".sv_3 + kernel_input_with_scaling."Feature_4" * "SV_data_1".sv_4 + kernel_input_with_scaling."Feature_5" * "SV_data_1".sv_5 + kernel_input_with_scaling."Feature_6" * "SV_data_1".sv_6 + kernel_input_with_scaling."Feature_7" * "SV_data_1".sv_7 + kernel_input_with_scaling."Feature_8" * "SV_data_1".sv_8 + kernel_input_with_scaling."Feature_9" * "SV_data_1".sv_9) + 1.0, 2.0) AS dot_prod1 
  FROM kernel_input_with_scaling, "SV_data_1") full_join_data_sv_1 GROUP BY full_join_data_sv_1."KEY") t_1), 
  "OVR_Score_1" AS 
  (SELECT kernel_dp_1."KEY" AS "KEY_1", CAST(NULL AS BINARY_DOUBLE) AS "Proba_1", kernel_dp_1.dot_product AS "Score_1" 
  FROM kernel_dp_1), 
  "SV_data_2" AS 
  (SELECT "Values".sv_idx AS sv_idx, "Values".dual_coeff AS dual_coeff, "Values".sv_0 AS sv_0, "Values".sv_1 AS sv_1, "Values".sv_2 AS sv_2, "Values".sv_3 AS sv_3, "Values".sv_4 AS sv_4, "Values".sv_5 AS sv_5, "Values".sv_6 AS sv_6, "Values".sv_7 AS sv_7, "Values".sv_8 AS sv_8, "Values".sv_9 AS sv_9 
  FROM (SELECT 0 AS sv_idx, -0.6173571317888753 AS dual_coeff, 0.5122860245908684 AS sv_0, -0.8660059948483635 AS sv_1, -0.2423641028765693 AS sv_2, -0.7941284178643379 AS sv_3, -0.18464586504890929 AS sv_4, -0.02344078915576573 AS sv_5, 0.6942797156907662 AS sv_6, -0.6097423195855596 AS sv_7, 0.1993901271293015 AS sv_8, 2.5633016381542224 AS sv_9 FROM DUAL UNION ALL SELECT 1 AS sv_idx, -0.6810006851853981 AS dual_coeff, 0.746587766190979 AS sv_0, -0.9092462040564429 AS sv_1, 0.2834936830813231 AS sv_2, -0.11486333526626365 AS sv_3, 0.24593744912504 AS sv_4, 0.28475279877899257 AS sv_5, -0.07477430124797411 AS sv_6, 0.569327022386036 AS sv_7, 0.6815856403250108 AS sv_8, -0.616343812965098 AS sv_9 FROM DUAL UNION ALL SELECT 2 AS sv_idx, 0.6792855411417453 AS dual_coeff, 0.5737678655442947 AS sv_0, -0.047107075662746835 AS sv_1, -1.2157978820344086 AS sv_2, -1.0064905406166416 AS sv_3, -0.37950416430374095 AS sv_4, 1.6606202363808453 AS sv_5, 1.063276118322697 AS sv_6, -0.8181890232024082 AS sv_7, -1.4600300482657684 AS sv_8, 0.005688492215430692 AS sv_9 FROM DUAL UNION ALL SELECT 3 AS sv_idx, -1.0 AS dual_coeff, -1.6422289715234075 AS sv_0, -0.9828720617187808 AS sv_1, -0.3407773773084964 AS sv_2, -0.4760869057466098 AS sv_3, -0.5223185639022023 AS sv_4, 0.9435870766957436 AS sv_5, 0.23475309582295506 AS sv_6, 0.3688788785033191 AS sv_7, -0.8611137239029117 AS sv_8, -0.25322619075599445 AS sv_9 FROM DUAL UNION ALL SELECT 4 AS sv_idx, 0.6406126191486129 AS dual_coeff, 0.33005759893851827 AS sv_0, 0.8628521170152545 AS sv_1, -0.4981960275040118 AS sv_2, -0.03260960341088439 AS sv_3, -0.00321544011067143 AS sv_4, 0.20900672881585916 AS sv_5, 0.2289785951797429 AS sv_6, -0.4532652498298141 AS sv_7, -0.07668019416798179 AS sv_8, -0.10959534249219041 AS sv_9 FROM DUAL UNION ALL SELECT 5 AS sv_idx, 0.2389991523731385 AS dual_coeff, -1.1307713165788853 AS sv_0, -0.5605255026046772 AS sv_1, -0.1766409121128962 AS sv_2, -1.0291573580074835 AS sv_3, -0.6545730814648799 AS sv_4, 1.2241184493474675 AS sv_5, 1.0617091368655212 AS sv_6, -1.9183812291161584 AS sv_7, -0.5445919841484471 AS sv_8, -0.9691237772089728 AS sv_9 FROM DUAL UNION ALL SELECT 6 AS sv_idx, -0.15438183346748116 AS dual_coeff, 0.7764142609987683 AS sv_0, 0.6308030787525839 AS sv_1, -0.8984507241107926 AS sv_2, -0.9241877693198148 AS sv_3, 1.3185726156409718 AS sv_4, 0.13105854576631315 AS sv_5, 1.2842732272040789 AS sv_6, -1.2593752702856913 AS sv_7, 0.5599853302955418 AS sv_8, 1.1849489895846768 AS sv_9 FROM DUAL UNION ALL SELECT 7 AS sv_idx, 1.0 AS dual_coeff, -0.2986572776141354 AS sv_0, 0.744181237143093 AS sv_1, -1.0384495264265337 AS sv_2, -0.4566080732485856 AS sv_3, 0.04551959726276949 AS sv_4, -0.0587885629567723 AS sv_5, 0.6545891978934266 AS sv_6, -0.5354295880442635 AS sv_7, -0.09122343379357656 AS sv_8, 1.3941027569453392 AS sv_9 FROM DUAL UNION ALL SELECT 8 AS sv_idx, -1.0 AS dual_coeff, 0.37265448674423457 AS sv_0, 0.08783738207953555 AS sv_1, -1.142888998526738 AS sv_2, -0.7062390799367324 AS sv_3, 0.8163135005779466 AS sv_4, 0.02748350785691835 AS sv_5, 0.7974615346397282 AS sv_6, 0.176440468015556 AS sv_7, 0.5170504647501135 AS sv_8, -0.34516213538796364 AS sv_9 FROM DUAL UNION ALL SELECT 9 AS sv_idx, -0.04750715550926229 AS dual_coeff, -2.0310948160946154 AS sv_0, 1.5944877374777835 AS sv_1, -1.5977214943976648 AS sv_2, -0.8499695701457389 AS sv_3, 1.93610321723148 AS sv_4, -1.186483311820281 AS sv_5, 1.4144550861836087 AS sv_6, -0.9952170986599872 AS sv_7, 2.6411862022174053 AS sv_8, 0.222434026453808 AS sv_9 FROM DUAL UNION ALL SELECT 10 AS sv_idx, -0.8598035650967093 AS dual_coeff, 1.6103770295223283 AS sv_0, 0.24434197665869056 AS sv_1, 0.1725283061215146 AS sv_2, -0.8540285501763939 AS sv_3, 1.0295243109749352 AS sv_4, -0.22665202291510214 AS sv_5, 1.207790919584385 AS sv_6, -2.342733711955032 AS sv_7, -0.2298046310475645 AS sv_8, 1.1003554361347123 AS sv_9 FROM DUAL UNION ALL SELECT 11 AS sv_idx, -0.25346675608679475 AS dual_coeff, -2.033526627875754 AS sv_0, 0.02171769142849912 AS sv_1, -0.4562604441575269 AS sv_2, -0.2628281244797009 AS sv_3, 1.4058164514728495 AS sv_4, -0.25324864921329016 AS sv_5, 0.34390671259067346 AS sv_6, 0.5995599430849904 AS sv_7, 0.665275283777464 AS sv_8, 1.285595639704919 AS sv_9 FROM DUAL UNION ALL SELECT 12 AS sv_idx, -0.2941397504512501 AS dual_coeff, -0.16674541168173926 AS sv_0, -0.6055150702415805 AS sv_1, 0.7804724109726113 AS sv_2, 0.3033198931852237 AS sv_3, 0.9117741640767134 AS sv_4, -0.35818297553001105 AS sv_5, -0.4092563016487761 AS sv_6, 0.7657209942383278 AS sv_7, -0.6676186899989883 AS sv_8, -1.9156917752257356 AS sv_9 FROM DUAL UNION ALL SELECT 13 AS sv_idx, 1.0 AS dual_coeff, 0.02083316528821605 AS sv_0, 0.21319703942432994 AS sv_1, 0.4188069162375979 AS sv_2, -0.3841281323286839 AS sv_3, -0.12919568101912707 AS sv_4, -0.5261577363291926 AS sv_5, 0.5884060155627502 AS sv_6, -1.9683010949095208 AS sv_7, -0.08468812449341878 AS sv_8, 0.5374547268638893 AS sv_9 FROM DUAL UNION ALL SELECT 14 AS sv_idx, 0.9088207831860612 AS dual_coeff, -0.2918477293963169 AS sv_0, 0.18343989977379535 AS sv_1, 1.18736067212872 AS sv_2, 0.8901180068559934 AS sv_3, 0.07946130011611638 AS sv_4, 0.6182944610949059 AS sv_5, -0.8969220682743312 AS sv_6, 0.2548618262156706 AS sv_7, 0.39278495438479377 AS sv_8, 0.11188786124737114 AS sv_9 FROM DUAL UNION ALL SELECT 15 AS sv_idx, 0.4399387817362128 AS dual_coeff, 0.44317812038304255 AS sv_0, 0.9840848125930092 AS sv_1, -0.8109221462748765 AS sv_2, 0.3552219648785532 AS sv_3, -0.2674049439975923 AS sv_4, -0.9570651546257504 AS sv_5, -0.2717012935377045 AS sv_6, 0.7530382009692907 AS sv_7, 0.4593823139531145 AS sv_8, 0.6502280506247785 AS sv_9 FROM DUAL) "Values"), 
  kernel_dp_2 AS 
  (SELECT t_2."KEY" AS "KEY", t_2.dot_product AS dot_product 
  FROM (SELECT full_join_data_sv_2."KEY" AS "KEY", sum(CAST(full_join_data_sv_2.dot_prod1 AS BINARY_DOUBLE)) + 0.277927656475803 AS dot_product 
  FROM (SELECT kernel_input_with_scaling."KEY" AS "KEY", "SV_data_2".dual_coeff * power(0.1 * (kernel_input_with_scaling."Feature_0" * "SV_data_2".sv_0 + kernel_input_with_scaling."Feature_1" * "SV_data_2".sv_1 + kernel_input_with_scaling."Feature_2" * "SV_data_2".sv_2 + kernel_input_with_scaling."Feature_3" * "SV_data_2".sv_3 + kernel_input_with_scaling."Feature_4" * "SV_data_2".sv_4 + kernel_input_with_scaling."Feature_5" * "SV_data_2".sv_5 + kernel_input_with_scaling."Feature_6" * "SV_data_2".sv_6 + kernel_input_with_scaling."Feature_7" * "SV_data_2".sv_7 + kernel_input_with_scaling."Feature_8" * "SV_data_2".sv_8 + kernel_input_with_scaling."Feature_9" * "SV_data_2".sv_9) + 1.0, 2.0) AS dot_prod1 
  FROM kernel_input_with_scaling, "SV_data_2") full_join_data_sv_2 GROUP BY full_join_data_sv_2."KEY") t_2), 
  "OVR_Score_2" AS 
  (SELECT kernel_dp_2."KEY" AS "KEY_2", CAST(NULL AS BINARY_DOUBLE) AS "Proba_2", kernel_dp_2.dot_product AS "Score_2" 
  FROM kernel_dp_2), 
  "SV_data_3" AS 
  (SELECT "Values".sv_idx AS sv_idx, "Values".dual_coeff AS dual_coeff, "Values".sv_0 AS sv_0, "Values".sv_1 AS sv_1, "Values".sv_2 AS sv_2, "Values".sv_3 AS sv_3, "Values".sv_4 AS sv_4, "Values".sv_5 AS sv_5, "Values".sv_6 AS sv_6, "Values".sv_7 AS sv_7, "Values".sv_8 AS sv_8, "Values".sv_9 AS sv_9 
  FROM (SELECT 0 AS sv_idx, 1.0 AS dual_coeff, 0.37051016889446814 AS sv_0, 0.21371270943759044 AS sv_1, 0.08341044950704032 AS sv_2, 0.6985406703820334 AS sv_3, -0.8723098328043123 AS sv_4, 0.6018505414221271 AS sv_5, -0.8391492201064995 AS sv_6, 1.0138047516218038 AS sv_7, 0.9016682906461144 AS sv_8, 0.5911888283360884 AS sv_9 FROM DUAL UNION ALL SELECT 1 AS sv_idx, 0.42597934379248853 AS dual_coeff, 1.403430061696336 AS sv_0, 0.8805343704420018 AS sv_1, -1.9283522422441743 AS sv_2, -0.07427219396655321 AS sv_3, -0.7744581834647987 AS sv_4, -2.653461350953862 AS sv_5, 0.06319631717541911 AS sv_6, 1.2871863708830285 AS sv_7, -0.9817704259620542 AS sv_8, -0.962379214013696 AS sv_9 FROM DUAL UNION ALL SELECT 2 AS sv_idx, -1.0 AS dual_coeff, -0.6344351312553284 AS sv_0, 0.7132129305052649 AS sv_1, -0.02925722300628685 AS sv_2, 0.19332104308971515 AS sv_3, 0.42091415925366793 AS sv_4, 0.4964981036981304 AS sv_5, -0.01461764946122885 AS sv_6, -0.215467293186018 AS sv_7, 0.8676890488105719 AS sv_8, 0.397098416578503 AS sv_9 FROM DUAL UNION ALL SELECT 3 AS sv_idx, 0.4193095202316039 AS dual_coeff, -0.6252581473182629 AS sv_0, 0.1900087646880987 AS sv_1, -1.8321897862472636 AS sv_2, -0.7941026229834349 AS sv_3, 0.6575342282091212 AS sv_4, 1.7728198329985967 AS sv_5, 0.8398868709488634 AS sv_6, 0.808964205974237 AS sv_7, 0.08736902578743865 AS sv_8, 0.9887876921720676 AS sv_9 FROM DUAL UNION ALL SELECT 4 AS sv_idx, -0.10489262032086777 AS dual_coeff, -0.0814603576701861 AS sv_0, -0.0002181785146272345 AS sv_1, 1.1731536033080547 AS sv_2, 0.8950077554090936 AS sv_3, 2.407081682002816 AS sv_4, 1.2789928223444862 AS sv_5, -0.8438992577278722 AS sv_6, 1.5274746798891743 AS sv_7, -0.12811404519824385 AS sv_8, 1.3446815669504368 AS sv_9 FROM DUAL UNION ALL SELECT 5 AS sv_idx, 1.0 AS dual_coeff, 0.716621273219137 AS sv_0, 1.4481519266516791 AS sv_1, 0.03981166285689751 AS sv_2, 1.683351562183366 AS sv_3, -0.4306835523666838 AS sv_4, -1.0038301659277 AS sv_5, -1.68707726070564 AS sv_6, 2.179617237458656 AS sv_7, -0.3264760716832653 AS sv_8, 1.085751971658472 AS sv_9 FROM DUAL UNION ALL SELECT 6 AS sv_idx, 1.0 AS dual_coeff, -2.3417420658462977 AS sv_0, -0.3006135059035945 AS sv_1, -0.3121275888835497 AS sv_2, -0.23698575292726196 AS sv_3, -0.0571917114802659 AS sv_4, 0.356209318286957 AS sv_5, 0.16373689827494506 AS sv_6, 0.2416819773507595 AS sv_7, -0.3431968054611256 AS sv_8, 0.1935622147244732 AS sv_9 FROM DUAL UNION ALL SELECT 7 AS sv_idx, 0.3165365655537445 AS dual_coeff, -0.2388114511379498 AS sv_0, -1.4494245161618156 AS sv_1, -0.44656681127053777 AS sv_2, -1.252717439683822 AS sv_3, -0.3776253351622638 AS sv_4, -0.4769149203011973 AS sv_5, 1.0582261028753415 AS sv_6, -0.7903723206000702 AS sv_7, -0.840518752454899 AS sv_8, -0.4688914710163633 AS sv_9 FROM DUAL UNION ALL SELECT 8 AS sv_idx, 0.6866798802681855 AS dual_coeff, 0.8941555735060166 AS sv_0, 0.16963642505801246 AS sv_1, -0.05864953949037401 AS sv_2, 0.5034711013046084 AS sv_3, -1.0320072734693313 AS sv_4, 2.2638165329454485 AS sv_5, -0.6354740482842186 AS sv_6, 0.7202851629619561 AS sv_7, 1.4284745908150862 AS sv_8, 0.3275194079907495 AS sv_9 FROM DUAL UNION ALL SELECT 9 AS sv_idx, 0.16064627935705278 AS dual_coeff, -1.0608034307100531 AS sv_0, 0.10671374309142 AS sv_1, -1.3650046025983515 AS sv_2, -0.923663740420346 AS sv_3, -0.2574773246348662 AS sv_4, -2.076872584399772 AS sv_5, 0.9919974477543582 AS sv_6, -0.5255546587012939 AS sv_7, -0.2474009757616925 AS sv_8, -0.200366974026928 AS sv_9 FROM DUAL UNION ALL SELECT 10 AS sv_idx, 0.9211567064483553 AS dual_coeff, 0.6729447468808548 AS sv_0, 1.0652480272287148 AS sv_1, 0.521242011698192 AS sv_2, 1.6388167272903915 AS sv_3, 0.003774221301854632 AS sv_4, 1.0796331514318391 AS sv_5, -1.660244423348102 AS sv_6, 2.013712020397198 AS sv_7, 0.8935386203698094 AS sv_8, -2.973216876317563 AS sv_9 FROM DUAL UNION ALL SELECT 11 AS sv_idx, -0.8675441521591498 AS dual_coeff, 1.4891693623776505 AS sv_0, 1.4789861920599603 AS sv_1, -0.9138294939265982 AS sv_2, 0.4521122968775041 AS sv_3, -0.8776069894337247 AS sv_4, 0.1595685563928801 AS sv_5, -0.29063434850775977 AS sv_6, 0.2484976911199843 AS sv_7, 0.8670107195496926 AS sv_8, -1.5808581449802086 AS sv_9 FROM DUAL UNION ALL SELECT 12 AS sv_idx, 0.07873361919852923 AS dual_coeff, 1.10992036362189 AS sv_0, -1.0750328673033909 AS sv_1, -0.7270444585114908 AS sv_2, -0.8008301650507826 AS sv_3, -2.59287985998123 AS sv_4, 0.2657241490357266 AS sv_5, 0.4599707598217821 AS sv_6, -0.6372816337347106 AS sv_7, 0.4767918197878343 AS sv_8, 0.209637726293863 AS sv_9 FROM DUAL UNION ALL SELECT 13 AS sv_idx, -0.53884050233268 AS dual_coeff, -0.6129023540315577 AS sv_0, -0.21598686971241213 AS sv_1, 0.4510722721220325 AS sv_2, 0.17953821065082076 AS sv_3, 0.6084446290467944 AS sv_4, -2.055001061099748 AS sv_5, -0.19851362326334168 AS sv_6, 0.312143561955962 AS sv_7, -0.7074851645280955 AS sv_8, -0.323968020196474 AS sv_9 FROM DUAL UNION ALL SELECT 14 AS sv_idx, -1.0 AS dual_coeff, -0.7136577948086478 AS sv_0, 0.4733733611580167 AS sv_1, 0.21254560083320403 AS sv_2, 1.1093539071157557 AS sv_3, -0.4937071811151396 AS sv_4, -0.5040422407653176 AS sv_5, -1.2390693757692106 AS sv_6, 1.692346981673289 AS sv_7, -0.997089556557624 AS sv_8, 0.6383103188218416 AS sv_9 FROM DUAL UNION ALL SELECT 15 AS sv_idx, -1.0 AS dual_coeff, -1.2846269814249152 AS sv_0, 0.5592997794233919 AS sv_1, 0.007082653900540916 AS sv_2, 0.3705133232062586 AS sv_3, 0.7063996807346863 AS sv_4, 1.5583402697602275 AS sv_5, -0.2615309705479041 AS sv_6, 0.5090213477296841 AS sv_7, 0.5188466232772484 AS sv_8, 0.4488611946224697 AS sv_9 FROM DUAL UNION ALL SELECT 16 AS sv_idx, 0.26775550046649493 AS dual_coeff, -0.02885028701726715 AS sv_0, -0.6412885656652372 AS sv_1, -1.1101991774366236 AS sv_2, -1.5520757330205903 AS sv_3, 1.1647654200977513 AS sv_4, -0.1062195367539208 AS sv_5, 1.6580594323529652 AS sv_6, -0.9413821759969304 AS sv_7, -0.04346275467746182 AS sv_8, 0.3519408623152126 AS sv_9 FROM DUAL UNION ALL SELECT 17 AS sv_idx, -1.0 AS dual_coeff, 0.12813945241334446 AS sv_0, 0.6465276417559809 AS sv_1, -0.22744275392229146 AS sv_2, 0.3289475455818557 AS sv_3, -0.4672036958266672 AS sv_4, 0.936980748863176 AS sv_5, -0.2723974802146037 AS sv_6, 0.1458300822718797 AS sv_7, -1.3041858355315743 AS sv_8, -0.3205568271885453 AS sv_9 FROM DUAL UNION ALL SELECT 18 AS sv_idx, -0.765520140503757 AS dual_coeff, 1.9699105459846051 AS sv_0, 1.0350033160873242 AS sv_1, 1.166829911213637 AS sv_2, 2.1315352729299124 AS sv_3, -1.6527434283963056 AS sv_4, -0.74317199834661 AS sv_5, -2.280720751009571 AS sv_6, 1.6179450187131073 AS sv_7, 1.6293532004118831 AS sv_8, -1.5164104644084235 AS sv_9 FROM DUAL) "Values"), 
  kernel_dp_3 AS 
  (SELECT t_3."KEY" AS "KEY", t_3.dot_product AS dot_product 
  FROM (SELECT full_join_data_sv_3."KEY" AS "KEY", sum(CAST(full_join_data_sv_3.dot_prod1 AS BINARY_DOUBLE)) + -0.612189450518833 AS dot_product 
  FROM (SELECT kernel_input_with_scaling."KEY" AS "KEY", "SV_data_3".dual_coeff * power(0.1 * (kernel_input_with_scaling."Feature_0" * "SV_data_3".sv_0 + kernel_input_with_scaling."Feature_1" * "SV_data_3".sv_1 + kernel_input_with_scaling."Feature_2" * "SV_data_3".sv_2 + kernel_input_with_scaling."Feature_3" * "SV_data_3".sv_3 + kernel_input_with_scaling."Feature_4" * "SV_data_3".sv_4 + kernel_input_with_scaling."Feature_5" * "SV_data_3".sv_5 + kernel_input_with_scaling."Feature_6" * "SV_data_3".sv_6 + kernel_input_with_scaling."Feature_7" * "SV_data_3".sv_7 + kernel_input_with_scaling."Feature_8" * "SV_data_3".sv_8 + kernel_input_with_scaling."Feature_9" * "SV_data_3".sv_9) + 1.0, 2.0) AS dot_prod1 
  FROM kernel_input_with_scaling, "SV_data_3") full_join_data_sv_3 GROUP BY full_join_data_sv_3."KEY") t_3), 
  "OVR_Score_3" AS 
  (SELECT kernel_dp_3."KEY" AS "KEY_3", CAST(NULL AS BINARY_DOUBLE) AS "Proba_3", kernel_dp_3.dot_product AS "Score_3" 
  FROM kernel_dp_3), 
  "OVR_Join_CTE" AS 
  (SELECT "OVR_Score_0"."KEY_0" AS "KEY_0", "OVR_Score_0"."Proba_0" AS "Proba_0", "OVR_Score_0"."Score_0" AS "Score_0", "OVR_Score_1"."KEY_1" AS "KEY_1", "OVR_Score_1"."Proba_1" AS "Proba_1", "OVR_Score_1"."Score_1" AS "Score_1", "OVR_Score_2"."KEY_2" AS "KEY_2", "OVR_Score_2"."Proba_2" AS "Proba_2", "OVR_Score_2"."Score_2" AS "Score_2", "OVR_Score_3"."KEY_3" AS "KEY_3", "OVR_Score_3"."Proba_3" AS "Proba_3", "OVR_Score_3"."Score_3" AS "Score_3" 
  FROM "OVR_Score_0" LEFT OUTER JOIN "OVR_Score_1" ON "OVR_Score_0"."KEY_0" = "OVR_Score_1"."KEY_1" LEFT OUTER JOIN "OVR_Score_2" ON "OVR_Score_2"."KEY_2" = "OVR_Score_1"."KEY_1" LEFT OUTER JOIN "OVR_Score_3" ON "OVR_Score_3"."KEY_3" = "OVR_Score_2"."KEY_2"), 
  orig_cte AS 
  (SELECT "OVR_Join_CTE"."KEY_0" AS "KEY", "OVR_Join_CTE"."Score_0" AS "Score_0", "OVR_Join_CTE"."Score_1" AS "Score_1", "OVR_Join_CTE"."Score_2" AS "Score_2", "OVR_Join_CTE"."Score_3" AS "Score_3", "OVR_Join_CTE"."Proba_0" / ("OVR_Join_CTE"."Proba_0" + "OVR_Join_CTE"."Proba_1" + "OVR_Join_CTE"."Proba_2" + "OVR_Join_CTE"."Proba_3") AS "Proba_0", "OVR_Join_CTE"."Proba_1" / ("OVR_Join_CTE"."Proba_0" + "OVR_Join_CTE"."Proba_1" + "OVR_Join_CTE"."Proba_2" + "OVR_Join_CTE"."Proba_3") AS "Proba_1", "OVR_Join_CTE"."Proba_2" / ("OVR_Join_CTE"."Proba_0" + "OVR_Join_CTE"."Proba_1" + "OVR_Join_CTE"."Proba_2" + "OVR_Join_CTE"."Proba_3") AS "Proba_2", "OVR_Join_CTE"."Proba_3" / ("OVR_Join_CTE"."Proba_0" + "OVR_Join_CTE"."Proba_1" + "OVR_Join_CTE"."Proba_2" + "OVR_Join_CTE"."Proba_3") AS "Proba_3", CAST(NULL AS BINARY_DOUBLE) AS "LogProba_0", CAST(NULL AS BINARY_DOUBLE) AS "LogProba_1", CAST(NULL AS BINARY_DOUBLE) AS "LogProba_2", CAST(NULL AS BINARY_DOUBLE) AS "LogProba_3", CAST(NULL AS NUMBER(19)) AS "Decision", CAST(NULL AS BINARY_DOUBLE) AS "DecisionProba" 
  FROM "OVR_Join_CTE"), 
  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) 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_Score" AS "max_Score" 
  FROM orig_cte LEFT OUTER JOIN (SELECT score_class_union."KEY_u" AS "KEY_m", max(score_class_union."Score") AS "max_Score" 
  FROM score_class_union GROUP BY score_class_union."KEY_u") 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_Score" AS "max_Score" 
  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_Score" AS "max_Score", "arg_max_t_Score"."KEY_Score" AS "KEY_Score", "arg_max_t_Score"."arg_max_Score" AS "arg_max_Score" 
  FROM score_max LEFT OUTER JOIN (SELECT union_with_max."KEY" AS "KEY_Score", max(union_with_max.class) AS "arg_max_Score" 
  FROM union_with_max 
  WHERE union_with_max."max_Score" <= union_with_max."Score" GROUP BY union_with_max."KEY") "arg_max_t_Score" ON score_max."KEY" = "arg_max_t_Score"."KEY_Score")
   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 -BINARY_DOUBLE_INFINITY 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 -BINARY_DOUBLE_INFINITY 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 -BINARY_DOUBLE_INFINITY 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 -BINARY_DOUBLE_INFINITY END AS "LogProba_3", arg_max_cte."arg_max_Score" AS "Decision", CASE WHEN (arg_max_cte."arg_max_Score" = 0) THEN arg_max_cte."Proba_0" WHEN (arg_max_cte."arg_max_Score" = 1) THEN arg_max_cte."Proba_1" WHEN (arg_max_cte."arg_max_Score" = 2) THEN arg_max_cte."Proba_2" WHEN (arg_max_cte."arg_max_Score" = 3) THEN arg_max_cte."Proba_3" END AS "DecisionProba" 
  FROM arg_max_cte