forked from oracle-samples/oracle-db-examples
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Targeting Top Customers.json
1 lines (1 loc) · 168 KB
/
Targeting Top Customers.json
1
{"paragraphs":[{"title":"Targeting “BEST” Lifetime Value (LTV) Customers using Oracle Machine Learning","text":"%md\n### Finding “BEST” Lifetime Value (LTV) Customers using Oracle Machine Learning\n\nHeather has spent most of her time over the past couple of years extracting and preparing data for analysis. The large volumes of data need extracting and processing mean she spends most of her time waiting for jobs to finish and very little of her time analyzing the data. Demands from marketing are forcing a new approach whereby the data remains in the data warehouse and is processed there. The alternative cloud solution is more complex, and has no direct out of the box processes to analyze the data in place. She started taking a look at Oracle, and found the simple SQL commands in ADWC are familiar, and execute extremely fast, leveraging all the performance features of the platform. Further once she is done can can apply the learning models to incoming data on the fly, and allow end user analysts to immediately see mining results. This drastically reduces the cycle of data preparation, analysis, and publishing. It also means there is no change to analysis/reporting Data Visualization toolset that users are familiar with.\n\nScroll down this notebook and learn how to use OML to create predictive perspectives on data in ADWC, WITHOUT moving it. We will process a small 100k data set, but could use a 100M or billion row data set without worrying about processing time.\n\nThis is an extract of Alphaoffice customer information. We will first get acclimated to Apache Zepplin, the open source interface for interactive collaboration in a team environment.\n\n### The Business Problem:\n#### Increase Sales by Targeting our Best Customers; High Lifetime Value Customers!\nHeather has a hunch that weakening sales may be due to the company selling to non-optimal customers; customers who perhaps have poor credit and fail to make their payments for their purchases. Heather has over 100 variables to consider so wants to first explore her data using simple charts and graphs, but then move onto using Oracle Machine Learning's powerful algorithms to automtically sift through her data to find patterns, new insights and to make predictions that target her best customers–those who have good credit.\n\nCreated By: Siddesh Ujjni, Dhvani Sheth, Charlie Berger on 04/03/2019","user":"DHVANI","dateUpdated":"2019-04-03T14:45:21+0000","config":{"colWidth":8,"enabled":true,"results":{},"editorSetting":{"language":"md","editOnDblClick":false},"editorMode":"ace/mode/markdown","title":false,"editorHide":true},"settings":{"params":{},"forms":{}},"results":{"code":"SUCCESS","msg":[{"type":"HTML","data":"<h3>Finding “BEST” Lifetime Value (LTV) Customers using Oracle Machine Learning</h3>\n<p>Heather has spent most of her time over the past couple of years extracting and preparing data for analysis. The large volumes of data need extracting and processing mean she spends most of her time waiting for jobs to finish and very little of her time analyzing the data. Demands from marketing are forcing a new approach whereby the data remains in the data warehouse and is processed there. The alternative cloud solution is more complex, and has no direct out of the box processes to analyze the data in place. She started taking a look at Oracle, and found the simple SQL commands in ADWC are familiar, and execute extremely fast, leveraging all the performance features of the platform. Further once she is done can can apply the learning models to incoming data on the fly, and allow end user analysts to immediately see mining results. This drastically reduces the cycle of data preparation, analysis, and publishing. It also means there is no change to analysis/reporting Data Visualization toolset that users are familiar with.</p>\n<p>Scroll down this notebook and learn how to use OML to create predictive perspectives on data in ADWC, WITHOUT moving it. We will process a small 100k data set, but could use a 100M or billion row data set without worrying about processing time.</p>\n<p>This is an extract of Alphaoffice customer information. We will first get acclimated to Apache Zepplin, the open source interface for interactive collaboration in a team environment.</p>\n<h3>The Business Problem:</h3>\n<h4>Increase Sales by Targeting our Best Customers; High Lifetime Value Customers!</h4>\n<p>Heather has a hunch that weakening sales may be due to the company selling to non-optimal customers; customers who perhaps have poor credit and fail to make their payments for their purchases. Heather has over 100 variables to consider so wants to first explore her data using simple charts and graphs, but then move onto using Oracle Machine Learning's powerful algorithms to automtically sift through her data to find patterns, new insights and to make predictions that target her best customers–those who have good credit.</p>\n<p>Created By: Siddesh Ujjni, Dhvani Sheth, Charlie Berger on 04/03/2019</p>\n"}]},"jobName":"paragraph_1553523132262_-607414022","id":"20190325-141212_968811769","dateCreated":"2019-03-25T14:12:12+0000","dateStarted":"2019-04-03T14:45:18+0000","dateFinished":"2019-04-03T14:45:18+0000","status":"FINISHED","progressUpdateIntervalMs":500,"commited":true,"focus":true,"$$hashKey":"object:8269"},{"text":"%md ![tiny arrow](http://www.oracle.com///technetwork/database/options/advanced-analytics/ltv-5279033.jpg \"tiny arrow\")\n","user":"CHARLIE","dateUpdated":"2019-03-27T22:24:55+0000","config":{"colWidth":4,"enabled":true,"results":{},"editorSetting":{"language":"md","editOnDblClick":false},"editorMode":"ace/mode/markdown","editorHide":true},"settings":{"params":{},"forms":{}},"jobName":"paragraph_1553524905958_506918363","id":"20190325-144145_1610059799","dateCreated":"2019-03-25T14:41:45+0000","dateStarted":"2019-03-25T18:28:50+0000","dateFinished":"2019-03-25T18:28:50+0000","status":"FINISHED","progressUpdateIntervalMs":500,"commited":true,"$$hashKey":"object:8270","errorMessage":""},{"text":"%md\n###Links to Additional Information\n\n#### Oracle Autonomous Data Warehouse Cloud product information: \n##### <https://cloud.oracle.com/en_US/datawarehouse>\n#### Oracle Machine Learning product information: \n##### <http://www.oracle.com/technetwork/database/options/oml/overview/index.html>\n#### Getting Started with Oracle Machine Learning Documentation and Quickstart Tutorials: \n##### <https://docs.oracle.com/en/cloud/paas/autonomous-data-warehouse-cloud/omlug/getting-started-oracle-machine-learning1.html#GUID-2AEC56A4-E751-48A3-AAA0-0659EDD639BA>\n#### Oracle Data Mining Basics:\n##### <https://docs.oracle.com/en/database/oracle/oracle-database/18/dmcon/what-is-data-mining.html#GUID-8232ABAD-E6B9-4C70-B227-E00738040932>\n##### <https://docs.oracle.com/en/database/oracle/oracle-database/18/dmcon/data-mining-basics.html#GUID-2116E665-721E-4EBA-AFE1-A30D6E8078C6>","user":"CHARLIE","dateUpdated":"2019-04-03T14:49:20+0000","config":{"colWidth":12,"enabled":true,"results":{},"editorSetting":{"language":"md","editOnDblClick":false},"editorMode":"ace/mode/markdown","editorHide":true},"settings":{"params":{},"forms":{}},"results":{"code":"SUCCESS","msg":[{"type":"HTML","data":"<h3>Links to Additional Information</h3>\n<h4>Oracle Autonomous Data Warehouse Cloud product information:</h4>\n<h5><a href=\"https://cloud.oracle.com/en_US/datawarehouse\">https://cloud.oracle.com/en_US/datawarehouse</a></h5>\n<h4>Oracle Machine Learning product information:</h4>\n<h5><a href=\"http://www.oracle.com/technetwork/database/options/oml/overview/index.html\">http://www.oracle.com/technetwork/database/options/oml/overview/index.html</a></h5>\n<h4>Getting Started with Oracle Machine Learning Documentation and Quickstart Tutorials:</h4>\n<h5><a href=\"https://docs.oracle.com/en/cloud/paas/autonomous-data-warehouse-cloud/omlug/getting-started-oracle-machine-learning1.html#GUID-2AEC56A4-E751-48A3-AAA0-0659EDD639BA\">https://docs.oracle.com/en/cloud/paas/autonomous-data-warehouse-cloud/omlug/getting-started-oracle-machine-learning1.html#GUID-2AEC56A4-E751-48A3-AAA0-0659EDD639BA</a></h5>\n<h4>Oracle Data Mining Basics:</h4>\n<h5><a href=\"https://docs.oracle.com/en/database/oracle/oracle-database/18/dmcon/what-is-data-mining.html#GUID-8232ABAD-E6B9-4C70-B227-E00738040932\">https://docs.oracle.com/en/database/oracle/oracle-database/18/dmcon/what-is-data-mining.html#GUID-8232ABAD-E6B9-4C70-B227-E00738040932</a></h5>\n<h5><a href=\"https://docs.oracle.com/en/database/oracle/oracle-database/18/dmcon/data-mining-basics.html#GUID-2116E665-721E-4EBA-AFE1-A30D6E8078C6\">https://docs.oracle.com/en/database/oracle/oracle-database/18/dmcon/data-mining-basics.html#GUID-2116E665-721E-4EBA-AFE1-A30D6E8078C6</a></h5>\n"}]},"jobName":"paragraph_1553524946058_951565499","id":"20190325-144226_1012325325","dateCreated":"2019-03-25T14:42:26+0000","dateStarted":"2019-03-28T13:12:50+0000","dateFinished":"2019-03-28T13:12:50+0000","status":"FINISHED","progressUpdateIntervalMs":500,"commited":true,"$$hashKey":"object:8271"},{"text":"%md \n#### **STEP 1: Review Zepplin Basics**\n\n- Note the page is made up of paragraphs such as this one where the text is sitting See [Apache Zepplin Documentation](https://zeppelin.apache.org/contribution/documentation.html). Also note that are four icons in the top left of this panel. Click on each icon to see what happens. Note that the first icon (arrow) runs the panel. This one is %md, which is markdown, or formatted text. Other panels will be of different types (%sql for SQL, #script for PL/SQL).\n- Also see [Oracle Machine Learning documentation](http://www.oracle.com/technetwork/database/options/oml/overview/index.html )\n- Scroll down to the next step.","user":"DHVANI","dateUpdated":"2019-03-28T19:26:28+0000","config":{"colWidth":12,"enabled":true,"results":{},"editorSetting":{"language":"md","editOnDblClick":false},"editorMode":"ace/mode/markdown","editorHide":true},"settings":{"params":{},"forms":{}},"results":{"code":"SUCCESS","msg":[{"type":"HTML","data":"<h4><strong>STEP 1: Review Zepplin Basics</strong></h4>\n<ul>\n<li>Note the page is made up of paragraphs such as this one where the text is sitting See <a href=\"https://zeppelin.apache.org/contribution/documentation.html\">Apache Zepplin Documentation</a>. Also note that are four icons in the top left of this panel. Click on each icon to see what happens. Note that the first icon (arrow) runs the panel. This one is %md, which is markdown, or formatted text. Other panels will be of different types (%sql for SQL, #script for PL/SQL).</li>\n<li>Also see <a href=\"http://www.oracle.com/technetwork/database/options/oml/overview/index.html\">Oracle Machine Learning documentation</a></li>\n<li>Scroll down to the next step.</li>\n</ul>\n"}]},"jobName":"paragraph_1553524981025_2055840814","id":"20190325-144301_1607852623","dateCreated":"2019-03-25T14:43:01+0000","dateStarted":"2019-03-25T20:11:46+0000","dateFinished":"2019-03-25T20:11:46+0000","status":"FINISHED","progressUpdateIntervalMs":500,"commited":true,"$$hashKey":"object:8272"},{"title":"Get data","text":"%md\n##### We have data of customers in table credit_scoring_100k with CUSTOMER_LIFETIME_VALUE as a numeric field. We would like to predict customer's lifetime value as High, Medium or Low and not as a numerical value. This gives us flexibilty to easily identify High Lifetime Value Customers and a company can focus on them. We will use this field to create a categorical field LIFETIME_VALUE_CATEGORY with values High/Medium/Low. \n\n##### <https://go.oracle.com/adwc>","user":"DHVANI","dateUpdated":"2019-04-03T14:49:17+0000","config":{"colWidth":12,"enabled":true,"results":{},"editorSetting":{"language":"md","editOnDblClick":false},"editorMode":"ace/mode/markdown","editorHide":true,"tableHide":false,"title":true},"settings":{"params":{},"forms":{}},"results":{"code":"SUCCESS","msg":[{"type":"HTML","data":"<h5>We have data of customers in table credit_scoring_100k with CUSTOMER_LIFETIME_VALUE as a numeric field. We would like to predict customer's lifetime value as High, Medium or Low and not as a numerical value. This gives us flexibilty to easily identify High Lifetime Value Customers and a company can focus on them. We will use this field to create a categorical field LIFETIME_VALUE_CATEGORY with values High/Medium/Low.</h5>\n<h5><a href=\"https://go.oracle.com/adwc\">https://go.oracle.com/adwc</a></h5>\n"}]},"jobName":"paragraph_1553710484951_558640478","id":"20190327-181444_1769757159","dateCreated":"2019-03-27T18:14:44+0000","dateStarted":"2019-04-03T14:48:19+0000","dateFinished":"2019-04-03T14:48:19+0000","status":"FINISHED","progressUpdateIntervalMs":500,"commited":true,"$$hashKey":"object:8273"},{"title":"STEP 2: Prepare the Data","text":"%script\n\n/* Click on the arrow to the right to execute this.*/\n\nBEGIN\n\nexecute immediate 'create or replace view credit_scoring_100k_v as select * from charlie.credit_scoring_100k';\n\nend;","user":"DHVANI","dateUpdated":"2019-03-28T17:05:38+0000","config":{"colWidth":12,"enabled":true,"results":{},"editorSetting":{"language":"plsql","editOnDblClick":false},"editorMode":"ace/mode/plsql","title":true},"settings":{"params":{},"forms":{}},"results":{"code":"SUCCESS","msg":[{"type":"TEXT","data":"\nPL/SQL procedure successfully completed.\n\n"}]},"jobName":"paragraph_1553792710668_482732824","id":"20190328-170510_1984269451","dateCreated":"2019-03-28T17:05:10+0000","dateStarted":"2019-03-28T17:05:38+0000","dateFinished":"2019-03-28T17:05:40+0000","status":"FINISHED","progressUpdateIntervalMs":500,"commited":true,"$$hashKey":"object:8274"},{"title":"Columns we will use for prediction","text":"%sql \n\n/* Execute this (arrow upper right) */\n\nselect column_name from user_tab_cols where table_name='CREDIT_SCORING_100K_V';","user":"DHVANI","dateUpdated":"2019-03-28T19:27:11+0000","config":{"colWidth":12,"enabled":true,"results":{},"editorSetting":{"language":"sql","editOnDblClick":false},"editorMode":"ace/mode/osql","title":true},"settings":{"params":{},"forms":{}},"results":{"code":"SUCCESS","msg":[{"type":"TABLE","data":"COLUMN_NAME\nMOST_POPULAR_POST_CATEGORY\nLIFECYCLE_STAGE\nNO_OF_FOLLOWERS_ON_TWITTER\nHEALTH_SCORE\nNUMBER_OF_COLLECTIONS\nHAS_COLLATERAL\nNO_OF_LINKEDIN_CONTACTS\nCHURN_RATE_OF_ACCOUNT_NO1\nNUMBER_OF_CURRENT_ACCOUNTS\nNO_OF_RECRUITERS_ON_LINKEDIN\nCREDIT_SCORE_BIN\nCREDIT_CARD_UTILIZATION_RATE\nJOB_FRIENDS_PERCENTAGE\nGENDER\nCITY_SIZE\nAVERAGE_JOB_CHANGING_PERIOD\nMODE_JOB_OF_CONTACTS\nCUSTOMER_VALUE_SEGMENT\nUNEMPLOYMENT_INDEX\nMARITAL_STATUS\nPRODUCTION_INDEX\nNUMBER_OF_PRIOR_LOANS\nPRESENT_EMPLOYMENT_SINCE\nHAS_OWN_PHONE_NO\nNUMBER_OF_LIABLES\nLOAN_TYPE\nCREDIT_HISTORY\nINTEREST_RATE\nCHURN_RATE_OF_CCN\nFIXED_INCOME_RATE\nPERCENTAGE_UG\nRESIDENTAL_STATUS\nNO_OF_DEBTORS_ON_FB\nNO_OF_TOTAL_ENDORSEMENTS\nNUMBER_OF_INACTIVE_ACCOUNTS\nMAX_CC_SPENT_AMOUNT_PREV\nPERCENTAGE_MASTERS\nCHURN_RATE_OF_CC1\nLOAN_AMOUNT\nIS_FOREIGN_WORKER\nNUMBER_OF_OPEN_ACCOUNTS\nNUMBER_OF_CLOSED_ACCOUNTS\nHIGHEST_CREDIT_CARD_LIMIT\nSECOND_MOST_SPENDING_TYPE\nTENURE\nCURRENT_ADDRESS_DURATION\nPERCENTAGE_PHD_ON_LINKEDIN\nINCOME\nCHURN_RATE__OF_ACCOUNT_NO2\nMAX_CC_SPENT_AMOUNT\nTHIRD_MOST_SPENDING_TYPE\nREGION\nDEBTOR_GUARANTORS\nNUMBER_OF_INQUIRIES\nNUMBER_OF_PROTESTOR_LIKES\nCUSTOMER_LIFETIME_VALUE\nWEALTH\nCUSTOMER_DEPTH\nNUMBER_OF_SAVING_ACCOUNTS\nMOST_SPENDING_TYPE\nNO_OF_PROTESTOR_COMMENTS\nEARNINGS\nCUSTOMER_ID\nSCHOOL_FRIENDS_PERCENTAGE\nIS_POSTED_STH_WITHIN_A_MONTH\nHOUSING_INDEX\nCUSTOMER_DMG_SEGMENT\nCHURN_RATE_OF_CC2\nNEW_BANKRUPTCY\nINFLATION_RATE\nCHURN_RATE_OF_ACCOUNT_NON\nAGE\nMOTHERS_JOB\nAVERAGE_NO_OF_RETWEETS\nCONSUMER_CONFIDENCE_INDEX\nEDUCATION_LEVEL\nFATHERS_JOB\nPERCENTAGE_HIGH_SCHOOL\nFACEBOOK_INFLUENCE_SCORE\nLOAN_LENGTH\nDELINQUENCY_STATUS\nPERCENTAGE_OTHER\nOCCUPATION\nHAS_CHECKING_ACCOUNT\nHAS_SAME_PHONE_NO_SINCE\nFAMILY_SIZE\n"}]},"jobName":"paragraph_1553792908433_-1372081971","id":"20190328-170828_1054264459","dateCreated":"2019-03-28T17:08:28+0000","dateStarted":"2019-03-28T17:08:35+0000","dateFinished":"2019-03-28T17:08:35+0000","status":"FINISHED","progressUpdateIntervalMs":500,"commited":true,"$$hashKey":"object:8275"},{"title":"View 100 rows of data","text":"%sql\n\n/* This shows the credit scoring data we will use to predict the lifetime value of a customer. */\n\nSelect * from credit_scoring_100k_v where rownum < 100;\n","user":"DHVANI","dateUpdated":"2019-03-28T19:28:38+0000","config":{"colWidth":12,"enabled":true,"results":{},"editorSetting":{"language":"sql","editOnDblClick":false},"editorMode":"ace/mode/osql","title":true},"settings":{"params":{},"forms":{}},"jobName":"paragraph_1553792907643_-968095626","id":"20190328-170827_1030415521","dateCreated":"2019-03-28T17:08:27+0000","dateStarted":"2019-03-28T17:08:55+0000","dateFinished":"2019-03-28T17:09:00+0000","status":"FINISHED","progressUpdateIntervalMs":500,"commited":true,"$$hashKey":"object:8276","errorMessage":""},{"title":"Total number of rows in our dataset","text":"%sql\nSELECT count(*) FROM credit_scoring_100k_v;\n","user":"DHVANI","dateUpdated":"2019-03-28T19:28:55+0000","config":{"colWidth":12,"enabled":true,"results":{"0":{"graph":{"mode":"table","height":84,"optionOpen":false}}},"editorSetting":{"language":"sql","editOnDblClick":false},"editorMode":"ace/mode/osql","title":true},"settings":{"params":{},"forms":{}},"results":{"code":"SUCCESS","msg":[{"type":"TABLE","data":"COUNT(*)\n100000\n"}]},"jobName":"paragraph_1553792376763_945506962","id":"20190328-165936_358351349","dateCreated":"2019-03-28T16:59:36+0000","dateStarted":"2019-03-28T17:14:45+0000","dateFinished":"2019-03-28T17:14:45+0000","status":"FINISHED","progressUpdateIntervalMs":500,"commited":true,"$$hashKey":"object:8277"},{"title":"Check the distribution of CUSTOMER_LIFETIME_VALUE and label them as Low/Medium/High","text":"%sql\n SELECT COUNT(customer_id), range\n FROM(\n select customer_id,\n CASE\n when CUSTOMER_LIFETIME_VALUE >= 0 and CUSTOMER_LIFETIME_VALUE< 100000 then 'Low'\n when CUSTOMER_LIFETIME_VALUE >= 100000 and CUSTOMER_LIFETIME_VALUE<300000 then 'Medium'\n else 'High' END AS RANGE\n FROM credit_scoring_100k_v) t\n GROUP BY range;\n","user":"DHVANI","dateUpdated":"2019-04-19T20:44:54+0000","config":{"colWidth":12,"enabled":true,"results":{"0":{"graph":{"mode":"multiBarChart","height":300,"optionOpen":false,"setting":{"multiBarChart":{}},"commonSetting":{},"keys":[{"name":"RANGE","index":1,"aggr":"sum"}],"groups":[],"values":[{"name":"COUNT(CUSTOMER_ID)","index":0,"aggr":"sum"}]},"helium":{}}},"editorSetting":{"language":"sql","editOnDblClick":false},"editorMode":"ace/mode/osql","title":true},"settings":{"params":{},"forms":{}},"jobName":"paragraph_1553793290706_-1580111821","id":"20190328-171450_295398570","dateCreated":"2019-03-28T17:14:50+0000","dateStarted":"2019-03-28T17:16:25+0000","dateFinished":"2019-03-28T17:16:25+0000","status":"FINISHED","progressUpdateIntervalMs":500,"commited":true,"$$hashKey":"object:8278","errorMessage":""},{"title":"Create table and add LIFETIME_VALUE_CATEGORY column","text":"%script\nDROP TABLE PREDICT_LTV_BIN;\nCREATE TABLE PREDICT_LTV_BIN AS (SELECT * FROM charlie.credit_scoring_100k);\nALTER TABLE PREDICT_LTV_BIN\nADD LIFETIME_VALUE_CATEGORY VARCHAR2(15);","user":"DHVANI","dateUpdated":"2019-03-28T17:24:09+0000","config":{"colWidth":12,"enabled":true,"results":{},"editorSetting":{"language":"plsql","editOnDblClick":false},"editorMode":"ace/mode/plsql","title":true},"settings":{"params":{},"forms":{}},"results":{"code":"SUCCESS","msg":[{"type":"TEXT","data":"\nTable PREDICT_LTV_BIN dropped.\n\n\n---------------------------\n\nTable PREDICT_LTV_BIN created.\n\n\n---------------------------\n\nTable PREDICT_LTV_BIN altered.\n\n\n---------------------------\n"}]},"jobName":"paragraph_1553793440826_-148229657","id":"20190328-171720_1140713482","dateCreated":"2019-03-28T17:17:20+0000","dateStarted":"2019-03-28T17:24:09+0000","dateFinished":"2019-03-28T17:24:17+0000","status":"FINISHED","progressUpdateIntervalMs":500,"commited":true,"$$hashKey":"object:8279"},{"title":"Verify the count in the PREDICT_LTV_BIN table","text":"%sql\nselect count(*) from PREDICT_LTV_BIN;","user":"DHVANI","dateUpdated":"2019-03-28T19:29:34+0000","config":{"colWidth":12,"enabled":true,"results":{"0":{"graph":{"mode":"table","height":84,"optionOpen":false}}},"editorSetting":{"language":"sql","editOnDblClick":false},"editorMode":"ace/mode/osql","title":true},"settings":{"params":{},"forms":{}},"results":{"code":"SUCCESS","msg":[{"type":"TABLE","data":"COUNT(*)\n100000\n"}]},"jobName":"paragraph_1553793739530_1640709354","id":"20190328-172219_888772446","dateCreated":"2019-03-28T17:22:19+0000","dateStarted":"2019-03-28T17:24:22+0000","dateFinished":"2019-03-28T17:24:22+0000","status":"FINISHED","progressUpdateIntervalMs":500,"commited":true,"$$hashKey":"object:8280"},{"title":"Update PREDICT_LTV_BIN to categorize customers as Low, Medium, High lifetime values","text":"%script\nUPDATE PREDICT_LTV_BIN\nSET LIFETIME_VALUE_CATEGORY = 'High'\nWHERE EXISTS (SELECT credit_scoring_100k_v.customer_id\n FROM credit_scoring_100k_v\n WHERE credit_scoring_100k_v.CUSTOMER_LIFETIME_VALUE >= 300000 and credit_scoring_100k_v.CUSTOMER_ID = PREDICT_LTV_BIN.customer_id);\n\nUPDATE PREDICT_LTV_BIN\nSET LIFETIME_VALUE_CATEGORY = 'Medium'\nWHERE EXISTS (SELECT credit_scoring_100k_v.customer_id\n FROM credit_scoring_100k_v\n WHERE credit_scoring_100k_v.CUSTOMER_LIFETIME_VALUE >= 100000 and credit_scoring_100k_v.CUSTOMER_LIFETIME_VALUE < 300000 and credit_scoring_100k_v.CUSTOMER_ID = PREDICT_LTV_BIN.customer_id);\n\nUPDATE PREDICT_LTV_BIN\nSET LIFETIME_VALUE_CATEGORY = 'Low'\nWHERE EXISTS (SELECT credit_scoring_100k_v.customer_id\n FROM credit_scoring_100k_v\n WHERE credit_scoring_100k_v.CUSTOMER_LIFETIME_VALUE >= 0 and credit_scoring_100k_v.CUSTOMER_LIFETIME_VALUE < 100000 and credit_scoring_100k_v.CUSTOMER_ID = PREDICT_LTV_BIN.customer_id);\n","user":"DHVANI","dateUpdated":"2019-03-28T19:30:40+0000","config":{"colWidth":12,"enabled":true,"results":{},"editorSetting":{"language":"plsql","editOnDblClick":false},"editorMode":"ace/mode/plsql","lineNumbers":true,"title":true},"settings":{"params":{},"forms":{}},"results":{"code":"SUCCESS","msg":[{"type":"TEXT","data":"\n21,779 rows updated.\n\n\n---------------------------\n\n41,128 rows updated.\n\n\n---------------------------\n\n35,969 rows updated.\n\n\n---------------------------\n"}]},"jobName":"paragraph_1553793758741_-1175821161","id":"20190328-172238_1795958605","dateCreated":"2019-03-28T17:22:38+0000","dateStarted":"2019-03-28T17:27:24+0000","dateFinished":"2019-03-28T17:29:00+0000","status":"FINISHED","progressUpdateIntervalMs":500,"commited":true,"$$hashKey":"object:8281"},{"title":"Get the count of rows having NULL lifetime value","text":"%sql\nselect count(*) from PREDICT_LTV_BIN where LIFETIME_VALUE_CATEGORY IS NULL;","user":"DHVANI","dateUpdated":"2019-03-28T19:31:20+0000","config":{"colWidth":12,"enabled":true,"results":{"0":{"graph":{"mode":"table","height":84,"optionOpen":false}}},"editorSetting":{"language":"sql","editOnDblClick":false},"editorMode":"ace/mode/osql","title":true},"settings":{"params":{},"forms":{}},"results":{"code":"SUCCESS","msg":[{"type":"TABLE","data":"COUNT(*)\n1124\n"}]},"jobName":"paragraph_1553793757949_-772604314","id":"20190328-172237_1172218842","dateCreated":"2019-03-28T17:22:37+0000","dateStarted":"2019-03-28T17:29:11+0000","dateFinished":"2019-03-28T17:29:11+0000","status":"FINISHED","progressUpdateIntervalMs":500,"commited":true,"$$hashKey":"object:8282"},{"title":"Delete rows having null lifetime value","text":"%sql\nDELETE FROM PREDICT_LTV_BIN\nwhere LIFETIME_VALUE_CATEGORY IS NULL;","user":"DHVANI","dateUpdated":"2019-03-28T19:31:47+0000","config":{"colWidth":12,"enabled":true,"results":{},"editorSetting":{"language":"sql","editOnDblClick":false},"editorMode":"ace/mode/osql","title":true},"settings":{"params":{},"forms":{}},"results":{"code":"SUCCESS","msg":[{"type":"TEXT","data":"Updated 1124 row(s)."}]},"jobName":"paragraph_1553794165229_-2025966277","id":"20190328-172925_1088693774","dateCreated":"2019-03-28T17:29:25+0000","dateStarted":"2019-03-28T17:32:53+0000","dateFinished":"2019-03-28T17:32:58+0000","status":"FINISHED","progressUpdateIntervalMs":500,"commited":true,"$$hashKey":"object:8283"},{"text":"%md\nNow that we have each customer's lifetime value category as High/Medium/Low that we have derived from CUSTOMER_LIFETIME_VALUE, we need to delete the column CUSTOMER_LIFETIME_VALUE as it's no longer needed for running our classification algorithms.","user":"DHVANI","dateUpdated":"2019-03-28T19:35:19+0000","config":{"colWidth":12,"enabled":true,"results":{},"editorSetting":{"language":"md","editOnDblClick":false},"editorMode":"ace/mode/markdown","editorHide":true},"settings":{"params":{},"forms":{}},"results":{"code":"SUCCESS","msg":[{"type":"HTML","data":"<p>Now that we have each customer's lifetime value category as High/Medium/Low that we have derived from CUSTOMER_LIFETIME_VALUE, we need to delete the column CUSTOMER_LIFETIME_VALUE as it's no longer needed for running our classification algorithms.</p>\n"}]},"jobName":"paragraph_1553801538330_647197843","id":"20190328-193218_1423153865","dateCreated":"2019-03-28T19:32:18+0000","dateStarted":"2019-03-28T19:35:17+0000","dateFinished":"2019-03-28T19:35:17+0000","status":"FINISHED","progressUpdateIntervalMs":500,"commited":true,"$$hashKey":"object:8284"},{"title":"Remove column CUSTOMER_LIFETIME_VALUE","text":"%sql\nALTER table PREDICT_LTV_BIN\nDROP column CUSTOMER_LIFETIME_VALUE;","user":"DHVANI","dateUpdated":"2019-03-28T19:32:13+0000","config":{"colWidth":12,"enabled":true,"results":{},"editorSetting":{"language":"sql","editOnDblClick":false},"editorMode":"ace/mode/osql","title":true},"settings":{"params":{},"forms":{}},"results":{"code":"SUCCESS","msg":[{"type":"TEXT","data":"Updated 0 row(s)."}]},"jobName":"paragraph_1553794163242_1163617429","id":"20190328-172923_18172364","dateCreated":"2019-03-28T17:29:23+0000","dateStarted":"2019-03-28T17:36:06+0000","dateFinished":"2019-03-28T17:36:07+0000","status":"FINISHED","progressUpdateIntervalMs":500,"commited":true,"$$hashKey":"object:8285"},{"title":"Show the potential variables we will use","text":"%sql\nselect column_name from user_tab_cols where table_name='PREDICT_LTV_BIN';","user":"DHVANI","dateUpdated":"2019-03-28T17:39:44+0000","config":{"colWidth":12,"enabled":true,"results":{},"editorSetting":{"language":"sql","editOnDblClick":false},"editorMode":"ace/mode/osql","title":true},"settings":{"params":{},"forms":{}},"results":{"code":"SUCCESS","msg":[{"type":"TABLE","data":"COLUMN_NAME\nCUSTOMER_ID\nAGE\nINCOME\nMARITAL_STATUS\nNUMBER_OF_LIABLES\nWEALTH\nEDUCATION_LEVEL\nTENURE\nLOAN_TYPE\nLOAN_AMOUNT\nLOAN_LENGTH\nGENDER\nREGION\nCURRENT_ADDRESS_DURATION\nRESIDENTAL_STATUS\nNUMBER_OF_PRIOR_LOANS\nNUMBER_OF_CURRENT_ACCOUNTS\nNUMBER_OF_SAVING_ACCOUNTS\nOCCUPATION\nHAS_CHECKING_ACCOUNT\nCREDIT_HISTORY\nPRESENT_EMPLOYMENT_SINCE\nFIXED_INCOME_RATE\nDEBTOR_GUARANTORS\nHAS_OWN_PHONE_NO\nHAS_SAME_PHONE_NO_SINCE\nIS_FOREIGN_WORKER\nNUMBER_OF_OPEN_ACCOUNTS\nNUMBER_OF_CLOSED_ACCOUNTS\nNUMBER_OF_INACTIVE_ACCOUNTS\nNUMBER_OF_INQUIRIES\nHIGHEST_CREDIT_CARD_LIMIT\nCREDIT_CARD_UTILIZATION_RATE\nDELINQUENCY_STATUS\nNEW_BANKRUPTCY\nNUMBER_OF_COLLECTIONS\nMAX_CC_SPENT_AMOUNT\nMAX_CC_SPENT_AMOUNT_PREV\nHAS_COLLATERAL\nFAMILY_SIZE\nCITY_SIZE\nFATHERS_JOB\nMOTHERS_JOB\nMOST_SPENDING_TYPE\nSECOND_MOST_SPENDING_TYPE\nTHIRD_MOST_SPENDING_TYPE\nSCHOOL_FRIENDS_PERCENTAGE\nJOB_FRIENDS_PERCENTAGE\nNUMBER_OF_PROTESTOR_LIKES\nNO_OF_PROTESTOR_COMMENTS\nNO_OF_LINKEDIN_CONTACTS\nAVERAGE_JOB_CHANGING_PERIOD\nNO_OF_DEBTORS_ON_FB\nNO_OF_RECRUITERS_ON_LINKEDIN\nNO_OF_TOTAL_ENDORSEMENTS\nNO_OF_FOLLOWERS_ON_TWITTER\nMODE_JOB_OF_CONTACTS\nAVERAGE_NO_OF_RETWEETS\nFACEBOOK_INFLUENCE_SCORE\nPERCENTAGE_PHD_ON_LINKEDIN\nPERCENTAGE_MASTERS\nPERCENTAGE_UG\nPERCENTAGE_HIGH_SCHOOL\nPERCENTAGE_OTHER\nIS_POSTED_STH_WITHIN_A_MONTH\nMOST_POPULAR_POST_CATEGORY\nINTEREST_RATE\nEARNINGS\nUNEMPLOYMENT_INDEX\nPRODUCTION_INDEX\nHOUSING_INDEX\nCONSUMER_CONFIDENCE_INDEX\nINFLATION_RATE\nCUSTOMER_VALUE_SEGMENT\nCUSTOMER_DMG_SEGMENT\nCHURN_RATE_OF_CC1\nCHURN_RATE_OF_CC2\nCHURN_RATE_OF_CCN\nCHURN_RATE_OF_ACCOUNT_NO1\nCHURN_RATE__OF_ACCOUNT_NO2\nCHURN_RATE_OF_ACCOUNT_NON\nHEALTH_SCORE\nCUSTOMER_DEPTH\nLIFECYCLE_STAGE\nCREDIT_SCORE_BIN\nLIFETIME_VALUE_CATEGORY\nSYS_C00076_19032817:36:06$\n"}]},"jobName":"paragraph_1553793920217_1863138546","id":"20190328-172520_855095673","dateCreated":"2019-03-28T17:25:20+0000","dateStarted":"2019-03-28T17:36:43+0000","dateFinished":"2019-03-28T17:36:44+0000","status":"FINISHED","progressUpdateIntervalMs":500,"commited":true,"$$hashKey":"object:8286"},{"title":"Total count of the records","text":"%sql\nselect * from PREDICT_LTV_BIN;","user":"CHARLIE","dateUpdated":"2019-04-19T20:45:10+0000","config":{"colWidth":12,"enabled":true,"results":{"0":{"graph":{"mode":"table","height":84,"optionOpen":false}}},"editorSetting":{"language":"sql","editOnDblClick":false},"editorMode":"ace/mode/osql","title":true},"settings":{"params":{},"forms":{}},"jobName":"paragraph_1553710721532_304061468","id":"20190327-181841_349554238","dateCreated":"2019-03-27T18:18:41+0000","dateStarted":"2019-04-19T20:45:10+0000","dateFinished":"2019-04-19T20:45:11+0000","status":"FINISHED","progressUpdateIntervalMs":500,"commited":true,"$$hashKey":"object:8287","errorMessage":""},{"title":"STEP 3: Run different classification algorithms","text":"%md\nWe will predict the customer's lifetime value as High, Medium, or Low using various classification algorithms.","user":"DHVANI","dateUpdated":"2019-03-28T19:42:21+0000","config":{"colWidth":12,"enabled":true,"results":{},"editorSetting":{"language":"md","editOnDblClick":false},"editorMode":"ace/mode/markdown","title":true,"editorHide":true},"settings":{"params":{},"forms":{}},"results":{"code":"SUCCESS","msg":[{"type":"HTML","data":"<p>We will predict the customer's lifetime value as High, Medium, and Low using various classification algorithms.</p>\n"}]},"jobName":"paragraph_1553528045028_636464896","id":"20190325-153405_1104225621","dateCreated":"2019-03-25T15:34:05+0000","dateStarted":"2019-03-25T19:45:00+0000","dateFinished":"2019-03-25T19:45:00+0000","status":"FINISHED","progressUpdateIntervalMs":500,"commited":true,"$$hashKey":"object:8288"},{"title":"Decision Tree","text":"%script\n/* Build a classification model and then generate a lift test result and an apply result. */\n\nDECLARE\nv_sql varchar2(100);\n\nBEGIN\n\n\n/* drop build settings */\nBEGIN\nv_sql := 'DROP TABLE n1_build_settings_ltv PURGE';\nEXECUTE IMMEDIATE v_sql;\nDBMS_OUTPUT.PUT_LINE (v_sql ||': succeeded');\nEXCEPTION\nWHEN OTHERS THEN\nDBMS_OUTPUT.PUT_LINE (v_sql ||': drop unneccessary - no table exists');\nEND;\n\n/* drop model */\nBEGIN\nv_sql := 'CALL DBMS_DATA_MINING.DROP_MODEL(''N1_CLASS_MODEL_DT'')';\nEXECUTE IMMEDIATE v_sql;\nDBMS_OUTPUT.PUT_LINE (v_sql ||': succeeded');\nEXCEPTION\nWHEN OTHERS THEN\nDBMS_OUTPUT.PUT_LINE (v_sql ||': drop unneccessary - no model exists');\nEND;\n\n/* drop apply result */\nBEGIN\nv_sql := 'DROP TABLE N1_APPLY_RESULT_DT PURGE';\nEXECUTE IMMEDIATE v_sql;\nDBMS_OUTPUT.PUT_LINE (v_sql ||': succeeded');\nEXCEPTION\nWHEN OTHERS THEN\nDBMS_OUTPUT.PUT_LINE (v_sql ||': drop unneccessary - no table exists');\nEND;\n\n/* drop lift result */\nBEGIN\nv_sql := 'DROP TABLE N1_LIFT_TABLE_DT PURGE';\nEXECUTE IMMEDIATE v_sql;\nDBMS_OUTPUT.PUT_LINE (v_sql ||': succeeded');\nEXCEPTION\nWHEN OTHERS THEN\nDBMS_OUTPUT.PUT_LINE (v_sql ||': drop unneccessary - no table exists');\nEND;\n\n\n/* Split the Data into N1_TRAIN_DATA and N1_TEST_DATA */\nEXECUTE IMMEDIATE 'CREATE OR REPLACE VIEW N1_TRAIN_DATA_LTV AS SELECT * FROM PREDICT_LTV_BIN SAMPLE (60) SEED (1)';\nDBMS_OUTPUT.PUT_LINE ('Created N1_TRAIN_DATA_LTV');\nEXECUTE IMMEDIATE 'CREATE OR REPLACE VIEW N1_TEST_DATA_LTV AS SELECT * FROM PREDICT_LTV_BIN MINUS SELECT * FROM N1_TRAIN_DATA_LTV';\nDBMS_OUTPUT.PUT_LINE ('Created N1_TEST_DATA_LTV');\n\n/* Create a Build Setting (DT) for Model Build */\n\nEXECUTE IMMEDIATE 'CREATE TABLE n1_build_settings_ltv (setting_name VARCHAR2(30),setting_value VARCHAR2(4000))';\nEXECUTE IMMEDIATE 'INSERT INTO n1_build_settings_ltv (setting_name, setting_value) VALUES (''ALGO_NAME'', ''ALGO_DECISION_TREE'')';\nEXECUTE IMMEDIATE 'INSERT INTO n1_build_settings_ltv (setting_name, setting_value) VALUES (''PREP_AUTO'', ''ON'')';\nDBMS_OUTPUT.PUT_LINE ('Created model build settings table: n1_build_settings_ltv ');\n \n/* Build a Classification Model */\n\nEXECUTE IMMEDIATE 'CALL DBMS_DATA_MINING.CREATE_MODEL(''N1_CLASS_MODEL_DT'', ''CLASSIFICATION'', ''N1_TRAIN_DATA_LTV'', ''CUSTOMER_ID'',''LIFETIME_VALUE_CATEGORY'', ''n1_build_settings_ltv'')';\nDBMS_OUTPUT.PUT_LINE ('Created model: N1_CLASS_MODEL_DT ');\n\n/* Test the Model by generating a apply result and then create a lift result */\n\nEXECUTE IMMEDIATE 'CALL DBMS_DATA_MINING.APPLY(''N1_CLASS_MODEL_DT'',''N1_TEST_DATA_LTV'',''CUSTOMER_ID'',''N1_APPLY_RESULT_DT'')';\nDBMS_OUTPUT.PUT_LINE ('Created apply result: N1_APPLY_RESULT_DT ');\nEXECUTE IMMEDIATE 'CALL DBMS_DATA_MINING.COMPUTE_LIFT(''N1_APPLY_RESULT_DT'',''N1_TEST_DATA_LTV'',''CUSTOMER_ID'',''LIFETIME_VALUE_CATEGORY'',''N1_LIFT_TABLE_DT'',''High'',''PREDICTION'',''PROBABILITY'',100)';\nDBMS_OUTPUT.PUT_LINE ('Created lift result: N1_LIFT_TABLE_DT ');\n\n\nEND;","user":"DHVANI","dateUpdated":"2019-04-08T19:33:35+0000","config":{"colWidth":12,"enabled":true,"results":{},"editorSetting":{"language":"plsql","editOnDblClick":false},"editorMode":"ace/mode/plsql","title":true,"editorHide":false},"settings":{"params":{},"forms":{}},"results":{"code":"SUCCESS","msg":[{"type":"TEXT","data":"DROP TABLE n1_build_settings_ltv PURGE: succeeded\nCALL DBMS_DATA_MINING.DROP_MODEL('N1_CLASS_MODEL_DT'): drop unneccessary - no\nmodel exists\nDROP TABLE N1_APPLY_RESULT_DT PURGE: drop unneccessary - no table exists\nDROP TABLE N1_LIFT_TABLE_DT PURGE: drop unneccessary - no table exists\nCreated N1_TRAIN_DATA_LTV\nCreated N1_TEST_DATA_LTV\nCreated model build settings table: n1_build_settings_ltv \nCreated model: N1_CLASS_MODEL_DT \nCreated apply result: N1_APPLY_RESULT_DT \nCreated lift result: N1_LIFT_TABLE_DT \n\n\nPL/SQL procedure successfully completed.\n\n"}]},"jobName":"paragraph_1553201827719_-408937826","id":"20190321-205707_119980467","dateCreated":"2019-03-21T20:57:07+0000","dateStarted":"2019-03-25T19:46:38+0000","dateFinished":"2019-03-25T19:47:00+0000","status":"FINISHED","progressUpdateIntervalMs":500,"commited":true,"$$hashKey":"object:8289"},{"title":"Support Vector Machines","text":"%script\n\n\nDECLARE\nv_sql varchar2(100);\n\nBEGIN\n\n-- Cleanup old settings table for repeat runs\nBEGIN EXECUTE IMMEDIATE 'DROP TABLE n1_build_settings_ltv';\nEXCEPTION WHEN OTHERS THEN NULL;\nEND;\n\n\n/* We need to create a table where we store all settings we want to use when training a model */\n\nEXECUTE IMMEDIATE 'CREATE TABLE n1_build_settings_ltv (setting_name VARCHAR2(30),setting_value VARCHAR2(4000))';\nEXECUTE IMMEDIATE 'INSERT INTO n1_build_settings_ltv (setting_name, setting_value) VALUES (''ALGO_NAME'', ''ALGO_SUPPORT_VECTOR_MACHINES'')';\nEXECUTE IMMEDIATE 'INSERT INTO n1_build_settings_ltv (setting_name, setting_value) VALUES (''PREP_AUTO'', ''ON'')';\nDBMS_OUTPUT.PUT_LINE ('Created model build settings table: n1_build_settings_ltv ');\n\n\n/* Cleanup old model with the same name for repeat runs */\nBEGIN DBMS_DATA_MINING.DROP_MODEL('SVMC_MLS_LTV_BIN');\nEXCEPTION WHEN OTHERS THEN NULL; \nEND;\n\nBEGIN\n DBMS_DATA_MINING.CREATE_MODEL(\n model_name => 'svmc_mls_ltv_bin', \n mining_function => dbms_data_mining.classification,\n data_table_name => 'N1_TRAIN_DATA_LTV',\n case_id_column_name => 'customer_id',\n target_column_name => 'lifetime_value_category',\n settings_table_name => 'n1_build_settings_ltv');\nEND;\n\n\n/* drop apply result */\nBEGIN\nv_sql := 'DROP TABLE N1_APPLY_RESULT_SVM PURGE';\nEXECUTE IMMEDIATE v_sql;\nDBMS_OUTPUT.PUT_LINE (v_sql ||': succeeded');\nEXCEPTION\nWHEN OTHERS THEN\nDBMS_OUTPUT.PUT_LINE (v_sql ||': drop unneccessary - no table exists');\nEND;\n\n/* drop lift result */\nBEGIN\nv_sql := 'DROP TABLE N1_LIFT_TABLE_SVM PURGE';\nEXECUTE IMMEDIATE v_sql;\nDBMS_OUTPUT.PUT_LINE (v_sql ||': succeeded');\nEXCEPTION\nWHEN OTHERS THEN\nDBMS_OUTPUT.PUT_LINE (v_sql ||': drop unneccessary - no table exists');\nEND;\n\n/* Test the Model by generating a apply result and then create a lift result */\n\nEXECUTE IMMEDIATE 'CALL DBMS_DATA_MINING.APPLY(''svmc_mls_ltv_bin'',''N1_TEST_DATA_LTV'',''CUSTOMER_ID'',''N1_APPLY_RESULT_SVM'')';\nDBMS_OUTPUT.PUT_LINE ('Created apply result: N1_APPLY_RESULT_SVM ');\nEXECUTE IMMEDIATE 'CALL DBMS_DATA_MINING.COMPUTE_LIFT(''N1_APPLY_RESULT_SVM'',''N1_TEST_DATA_LTV'',''CUSTOMER_ID'',''LIFETIME_VALUE_CATEGORY'',''N1_LIFT_TABLE_SVM'',''High'',''PREDICTION'',''PROBABILITY'',100)';\nDBMS_OUTPUT.PUT_LINE ('Created lift result: N1_LIFT_TABLE_SVM ');\n\nEND;","user":"DHVANI","dateUpdated":"2019-04-08T19:30:39+0000","config":{"colWidth":12,"enabled":true,"results":{},"editorSetting":{"language":"plsql","editOnDblClick":false},"editorMode":"ace/mode/plsql","title":true,"editorHide":false},"settings":{"params":{},"forms":{}},"results":{"code":"SUCCESS","msg":[{"type":"TEXT","data":"Created model build settings table: n1_build_settings_ltv \nDROP TABLE N1_APPLY_RESULT_SVM PURGE: drop unneccessary - no table exists\nDROP TABLE N1_LIFT_TABLE_SVM PURGE: drop unneccessary - no table exists\nCreated apply result: N1_APPLY_RESULT_SVM \nCreated lift result: N1_LIFT_TABLE_SVM \n\n\nPL/SQL procedure successfully completed.\n\n"}]},"jobName":"paragraph_1553265039522_-661800226","id":"20190322-143039_1749925291","dateCreated":"2019-03-22T14:30:39+0000","dateStarted":"2019-03-22T15:33:19+0000","dateFinished":"2019-03-22T15:34:06+0000","status":"FINISHED","progressUpdateIntervalMs":500,"commited":true,"$$hashKey":"object:8290"},{"title":"Random Forest","text":"%script\n\n\nDECLARE\nv_sql varchar2(100);\n\nBEGIN\n\n-- Cleanup old settings table for repeat runs\nBEGIN EXECUTE IMMEDIATE 'DROP TABLE n1_build_settings_ltv';\nEXCEPTION WHEN OTHERS THEN NULL;\nEND;\n\n\n/* We need to create a table where we store all settings we want to use when training a model */\n\nEXECUTE IMMEDIATE 'CREATE TABLE n1_build_settings_ltv (setting_name VARCHAR2(30),setting_value VARCHAR2(4000))';\nEXECUTE IMMEDIATE 'INSERT INTO n1_build_settings_ltv (setting_name, setting_value) VALUES (''ALGO_NAME'', ''ALGO_RANDOM_FOREST'')';\nEXECUTE IMMEDIATE 'INSERT INTO n1_build_settings_ltv (setting_name, setting_value) VALUES (''PREP_AUTO'', ''ON'')';\nDBMS_OUTPUT.PUT_LINE ('Created model build settings table: n1_build_settings_ltv ');\n\n\n/* Cleanup old model with the same name for repeat runs */\nBEGIN DBMS_DATA_MINING.DROP_MODEL('RF_MLS_LTV_BIN');\nEXCEPTION WHEN OTHERS THEN NULL; \nEND;\n\nBEGIN\n DBMS_DATA_MINING.CREATE_MODEL(\n model_name => 'RF_MLS_LTV_BIN', \n mining_function => dbms_data_mining.classification,\n data_table_name => 'N1_TRAIN_DATA_LTV',\n case_id_column_name => 'customer_id',\n target_column_name => 'lifetime_value_category',\n settings_table_name => 'n1_build_settings_ltv');\nEND;\n\n\n/* drop apply result */\nBEGIN\nv_sql := 'DROP TABLE N1_APPLY_RESULT_RF PURGE';\nEXECUTE IMMEDIATE v_sql;\nDBMS_OUTPUT.PUT_LINE (v_sql ||': succeeded');\nEXCEPTION\nWHEN OTHERS THEN\nDBMS_OUTPUT.PUT_LINE (v_sql ||': drop unneccessary - no table exists');\nEND;\n\n/* drop lift result */\nBEGIN\nv_sql := 'DROP TABLE N1_LIFT_TABLE_RF PURGE';\nEXECUTE IMMEDIATE v_sql;\nDBMS_OUTPUT.PUT_LINE (v_sql ||': succeeded');\nEXCEPTION\nWHEN OTHERS THEN\nDBMS_OUTPUT.PUT_LINE (v_sql ||': drop unneccessary - no table exists');\nEND;\n\n/* Test the Model by generating a apply result and then create a lift result */\n\nEXECUTE IMMEDIATE 'CALL DBMS_DATA_MINING.APPLY(''RF_MLS_LTV_BIN'',''N1_TEST_DATA_LTV'',''CUSTOMER_ID'',''N1_APPLY_RESULT_RF'')';\nDBMS_OUTPUT.PUT_LINE ('Created apply result: N1_APPLY_RESULT_RF ');\nEXECUTE IMMEDIATE 'CALL DBMS_DATA_MINING.COMPUTE_LIFT(''N1_APPLY_RESULT_RF'',''N1_TEST_DATA_LTV'',''CUSTOMER_ID'',''LIFETIME_VALUE_CATEGORY'',''N1_LIFT_TABLE_RF'',''High'',''PREDICTION'',''PROBABILITY'',100)';\nDBMS_OUTPUT.PUT_LINE ('Created lift result: N1_LIFT_TABLE_RF ');\n\nEND;","user":"DHVANI","dateUpdated":"2019-03-27T18:21:22+0000","config":{"colWidth":12,"enabled":true,"results":{},"editorSetting":{"language":"plsql","editOnDblClick":false},"editorMode":"ace/mode/plsql","title":true,"editorHide":true},"settings":{"params":{},"forms":{}},"results":{"code":"SUCCESS","msg":[{"type":"TEXT","data":"Created model build settings table: n1_build_settings_ltv \nDROP TABLE N1_APPLY_RESULT_RF PURGE: drop unneccessary - no table exists\nDROP TABLE N1_LIFT_TABLE_RF PURGE: drop unneccessary - no table exists\nCreated apply result: N1_APPLY_RESULT_RF \nCreated lift result: N1_LIFT_TABLE_RF \n\n\nPL/SQL procedure successfully completed.\n\n"}]},"jobName":"paragraph_1553268917697_-918402919","id":"20190322-153517_1435420943","dateCreated":"2019-03-22T15:35:17+0000","dateStarted":"2019-03-22T15:38:15+0000","dateFinished":"2019-03-22T15:38:35+0000","status":"FINISHED","progressUpdateIntervalMs":500,"commited":true,"$$hashKey":"object:8291"},{"title":"Neural Network","text":"%script\n\n\nDECLARE\nv_sql varchar2(100);\n\nBEGIN\n\n-- Cleanup old settings table for repeat runs\nBEGIN EXECUTE IMMEDIATE 'DROP TABLE n1_build_settings_ltv';\nEXCEPTION WHEN OTHERS THEN NULL;\nEND;\n\n\n/* We need to create a table where we store all settings we want to use when training a model */\n\nEXECUTE IMMEDIATE 'CREATE TABLE n1_build_settings_ltv (setting_name VARCHAR2(30),setting_value VARCHAR2(4000))';\nEXECUTE IMMEDIATE 'INSERT INTO n1_build_settings_ltv (setting_name, setting_value) VALUES (''ALGO_NAME'', ''ALGO_NEURAL_NETWORK'')';\nEXECUTE IMMEDIATE 'INSERT INTO n1_build_settings_ltv (setting_name, setting_value) VALUES (''PREP_AUTO'', ''ON'')';\nDBMS_OUTPUT.PUT_LINE ('Created model build settings table: n1_build_settings_ltv ');\n\n\n/* Cleanup old model with the same name for repeat runs */\nBEGIN DBMS_DATA_MINING.DROP_MODEL('NN_LTV_BIN');\nEXCEPTION WHEN OTHERS THEN NULL; \nEND;\n\nBEGIN\n DBMS_DATA_MINING.CREATE_MODEL(\n model_name => 'NN_LTV_BIN', \n mining_function => dbms_data_mining.classification,\n data_table_name => 'N1_TRAIN_DATA_LTV',\n case_id_column_name => 'customer_id',\n target_column_name => 'lifetime_value_category',\n settings_table_name => 'n1_build_settings_ltv');\nEND;\n\n\n/* drop apply result */\nBEGIN\nv_sql := 'DROP TABLE N1_APPLY_RESULT_NN PURGE';\nEXECUTE IMMEDIATE v_sql;\nDBMS_OUTPUT.PUT_LINE (v_sql ||': succeeded');\nEXCEPTION\nWHEN OTHERS THEN\nDBMS_OUTPUT.PUT_LINE (v_sql ||': drop unneccessary - no table exists');\nEND;\n\n/* drop lift result */\nBEGIN\nv_sql := 'DROP TABLE N1_LIFT_TABLE_NN PURGE';\nEXECUTE IMMEDIATE v_sql;\nDBMS_OUTPUT.PUT_LINE (v_sql ||': succeeded');\nEXCEPTION\nWHEN OTHERS THEN\nDBMS_OUTPUT.PUT_LINE (v_sql ||': drop unneccessary - no table exists');\nEND;\n\n/* Test the Model by generating a apply result and then create a lift result */\n\nEXECUTE IMMEDIATE 'CALL DBMS_DATA_MINING.APPLY(''NN_LTV_BIN'',''N1_TEST_DATA_LTV'',''CUSTOMER_ID'',''N1_APPLY_RESULT_NN'')';\nDBMS_OUTPUT.PUT_LINE ('Created apply result: N1_APPLY_RESULT_NN ');\nEXECUTE IMMEDIATE 'CALL DBMS_DATA_MINING.COMPUTE_LIFT(''N1_APPLY_RESULT_NN'',''N1_TEST_DATA_LTV'',''CUSTOMER_ID'',''LIFETIME_VALUE_CATEGORY'',''N1_LIFT_TABLE_NN'',''High'',''PREDICTION'',''PROBABILITY'',100)';\nDBMS_OUTPUT.PUT_LINE ('Created lift result: N1_LIFT_TABLE_NN ');\n\nEND;\n","user":"DHVANI","dateUpdated":"2019-03-27T18:21:39+0000","config":{"colWidth":12,"enabled":true,"results":{},"editorSetting":{"language":"plsql","editOnDblClick":false},"editorMode":"ace/mode/plsql","title":true,"editorHide":true},"settings":{"params":{},"forms":{}},"results":{"code":"SUCCESS","msg":[{"type":"TEXT","data":"Created model build settings table: n1_build_settings_ltv \nDROP TABLE N1_APPLY_RESULT_NN PURGE: drop unneccessary - no table exists\nDROP TABLE N1_LIFT_TABLE_NN PURGE: drop unneccessary - no table exists\nCreated apply result: N1_APPLY_RESULT_NN \nCreated lift result: N1_LIFT_TABLE_NN \n\n\nPL/SQL procedure successfully completed.\n\n"}]},"jobName":"paragraph_1553269131811_-412166956","id":"20190322-153851_76699760","dateCreated":"2019-03-22T15:38:51+0000","dateStarted":"2019-03-22T15:41:25+0000","dateFinished":"2019-03-22T15:42:49+0000","status":"FINISHED","progressUpdateIntervalMs":500,"commited":true,"$$hashKey":"object:8292"},{"title":"Naive Bayes","text":"%script\n\n\nDECLARE\nv_sql varchar2(100);\n\nBEGIN\n\n-- Cleanup old settings table for repeat runs\nBEGIN EXECUTE IMMEDIATE 'DROP TABLE n1_build_settings_ltv';\nEXCEPTION WHEN OTHERS THEN NULL;\nEND;\n\n\n/* We need to create a table where we store all settings we want to use when training a model */\n\nEXECUTE IMMEDIATE 'CREATE TABLE n1_build_settings_ltv (setting_name VARCHAR2(30),setting_value VARCHAR2(4000))';\nEXECUTE IMMEDIATE 'INSERT INTO n1_build_settings_ltv (setting_name, setting_value) VALUES (''ALGO_NAME'', ''ALGO_NAIVE_BAYES'')';\nEXECUTE IMMEDIATE 'INSERT INTO n1_build_settings_ltv (setting_name, setting_value) VALUES (''PREP_AUTO'', ''ON'')';\nDBMS_OUTPUT.PUT_LINE ('Created model build settings table: n1_build_settings_ltv ');\n\n\n/* Cleanup old model with the same name for repeat runs */\nBEGIN DBMS_DATA_MINING.DROP_MODEL('NB_LTV_BIN');\nEXCEPTION WHEN OTHERS THEN NULL; \nEND;\n\nBEGIN\n DBMS_DATA_MINING.CREATE_MODEL(\n model_name => 'NB_LTV_BIN', \n mining_function => dbms_data_mining.classification,\n data_table_name => 'N1_TRAIN_DATA_LTV',\n case_id_column_name => 'customer_id',\n target_column_name => 'lifetime_value_category',\n settings_table_name => 'n1_build_settings_ltv');\nEND;\n\n\n/* drop apply result */\nBEGIN\nv_sql := 'DROP TABLE N1_APPLY_RESULT_NB PURGE';\nEXECUTE IMMEDIATE v_sql;\nDBMS_OUTPUT.PUT_LINE (v_sql ||': succeeded');\nEXCEPTION\nWHEN OTHERS THEN\nDBMS_OUTPUT.PUT_LINE (v_sql ||': drop unneccessary - no table exists');\nEND;\n\n/* drop lift result */\nBEGIN\nv_sql := 'DROP TABLE N1_LIFT_TABLE_NB PURGE';\nEXECUTE IMMEDIATE v_sql;\nDBMS_OUTPUT.PUT_LINE (v_sql ||': succeeded');\nEXCEPTION\nWHEN OTHERS THEN\nDBMS_OUTPUT.PUT_LINE (v_sql ||': drop unneccessary - no table exists');\nEND;\n\n/* Test the Model by generating a apply result and then create a lift result */\n\nEXECUTE IMMEDIATE 'CALL DBMS_DATA_MINING.APPLY(''NB_LTV_BIN'',''N1_TEST_DATA_LTV'',''CUSTOMER_ID'',''N1_APPLY_RESULT_NB'')';\nDBMS_OUTPUT.PUT_LINE ('Created apply result: N1_APPLY_RESULT_NB ');\nEXECUTE IMMEDIATE 'CALL DBMS_DATA_MINING.COMPUTE_LIFT(''N1_APPLY_RESULT_NB'',''N1_TEST_DATA_LTV'',''CUSTOMER_ID'',''LIFETIME_VALUE_CATEGORY'',''N1_LIFT_TABLE_NB'',''High'',''PREDICTION'',''PROBABILITY'',100)';\nDBMS_OUTPUT.PUT_LINE ('Created lift result: N1_LIFT_TABLE_NB ');\n\nEND;\n\n","user":"DHVANI","dateUpdated":"2019-03-27T18:21:41+0000","config":{"colWidth":12,"enabled":true,"results":{},"editorSetting":{"language":"plsql","editOnDblClick":false},"editorMode":"ace/mode/plsql","title":true,"editorHide":true},"settings":{"params":{},"forms":{}},"results":{"code":"SUCCESS","msg":[{"type":"TEXT","data":"Created model build settings table: n1_build_settings_ltv \nDROP TABLE N1_APPLY_RESULT_NB PURGE: drop unneccessary - no table exists\nDROP TABLE N1_LIFT_TABLE_NB PURGE: drop unneccessary - no table exists\nCreated apply result: N1_APPLY_RESULT_NB \nCreated lift result: N1_LIFT_TABLE_NB \n\n\nPL/SQL procedure successfully completed.\n\n"}]},"jobName":"paragraph_1553269276411_398093446","id":"20190322-154116_43235907","dateCreated":"2019-03-22T15:41:16+0000","dateStarted":"2019-03-22T15:48:40+0000","dateFinished":"2019-03-22T15:48:52+0000","status":"FINISHED","progressUpdateIntervalMs":500,"commited":true,"$$hashKey":"object:8293"},{"title":"STEP 4: Compare all the lift results","text":"%md\nWe used 5 different classification algorithms to classify our customers as High/Medium/Low. By comparing the lift results of all the algorithms, we can choose which is the best algorithm to choose.\n","user":"DHVANI","dateUpdated":"2019-03-28T19:42:42+0000","config":{"colWidth":12,"enabled":true,"results":{},"editorSetting":{"language":"md","editOnDblClick":false},"editorMode":"ace/mode/markdown","title":true,"editorHide":true},"settings":{"params":{},"forms":{}},"results":{"code":"SUCCESS","msg":[{"type":"HTML","data":"<p>We used 5 different classification algorithms to classify our customers as High/Medium/Low. By comparing the lift results of all the algorithms, we can choose which is the best algorithm to choose.</p>\n"}]},"jobName":"paragraph_1553277927900_109496116","id":"20190322-180527_470715939","dateCreated":"2019-03-22T18:05:27+0000","dateStarted":"2019-03-28T19:37:24+0000","dateFinished":"2019-03-28T19:37:24+0000","status":"FINISHED","progressUpdateIntervalMs":500,"commited":true,"$$hashKey":"object:8294"},{"title":"Consolidate all algorithm's lift data into one table","text":"%script\n\nDECLARE\nv_sql varchar2(100);\n\nBEGIN\n\nBEGIN\nv_sql := 'DROP TABLE all_lift_data PURGE';\nEXECUTE IMMEDIATE v_sql;\nDBMS_OUTPUT.PUT_LINE (v_sql ||': succeeded');\nEXCEPTION\nWHEN OTHERS THEN\nDBMS_OUTPUT.PUT_LINE (v_sql ||': drop unneccessary - no table exists');\nEND;\n\nEXECUTE IMMEDIATE 'CREATE TABLE all_lift_data (algo_name VARCHAR2(50), QUANTILE_NUMBER NUMBER, GAIN_CUMULATIVE NUMBER)';\nEXECUTE IMMEDIATE 'insert into all_lift_data (QUANTILE_NUMBER, GAIN_CUMULATIVE, algo_name) select QUANTILE_NUMBER, GAIN_CUMULATIVE, cast(''ALGO_DECISION_TREE'' as VARCHAR(50)) AS ALGO_NAME from N1_LIFT_TABLE_DT';\nEXECUTE IMMEDIATE 'insert into all_lift_data (QUANTILE_NUMBER, GAIN_CUMULATIVE, algo_name) select QUANTILE_NUMBER, GAIN_CUMULATIVE, cast(''ALGO_SUPPORT_VECTOR_MACHINES'' as VARCHAR(50)) AS ALGO_NAME from N1_LIFT_TABLE_SVM';\nEXECUTE IMMEDIATE 'insert into all_lift_data (QUANTILE_NUMBER, GAIN_CUMULATIVE, algo_name) select QUANTILE_NUMBER, GAIN_CUMULATIVE, cast(''ALGO_RANDOM_FOREST'' as VARCHAR(50)) AS ALGO_NAME from N1_LIFT_TABLE_RF';\nEXECUTE IMMEDIATE 'insert into all_lift_data (QUANTILE_NUMBER, GAIN_CUMULATIVE, algo_name) select QUANTILE_NUMBER, GAIN_CUMULATIVE, cast(''ALGO_NEURAL_NETWORK'' as VARCHAR(50)) AS ALGO_NAME from N1_LIFT_TABLE_NN';\nEXECUTE IMMEDIATE 'insert into all_lift_data (QUANTILE_NUMBER, GAIN_CUMULATIVE, algo_name) select QUANTILE_NUMBER, GAIN_CUMULATIVE, cast(''ALGO_NAIVE_BAYES'' as VARCHAR(50)) AS ALGO_NAME from N1_LIFT_TABLE_NB';\nDBMS_OUTPUT.PUT_LINE ('Created model build settings table: n1_build_settings_ltv ');\n\nEND;\n\n","user":"DHVANI","dateUpdated":"2019-03-28T19:38:23+0000","config":{"colWidth":12,"enabled":true,"results":{},"editorSetting":{"language":"plsql","editOnDblClick":false},"editorMode":"ace/mode/plsql","title":true},"settings":{"params":{},"forms":{}},"results":{"code":"SUCCESS","msg":[{"type":"TEXT","data":"DROP TABLE all_lift_data PURGE: succeeded\nCreated model build settings table: n1_build_settings_ltv \n\n\nPL/SQL procedure successfully completed.\n\n"}]},"jobName":"paragraph_1553543617532_-377417894","id":"20190325-195337_1045380144","dateCreated":"2019-03-25T19:53:37+0000","dateStarted":"2019-03-25T20:04:31+0000","dateFinished":"2019-03-25T20:04:31+0000","status":"FINISHED","progressUpdateIntervalMs":500,"commited":true,"$$hashKey":"object:8295"},{"text":"%sql\nselect * from all_lift_data;","user":"DHVANI","dateUpdated":"2019-04-19T20:45:30+0000","config":{"colWidth":6,"enabled":true,"results":{"0":{"graph":{"mode":"lineChart","height":300,"optionOpen":false,"setting":{"multiBarChart":{}},"commonSetting":{},"keys":[{"name":"QUANTILE_NUMBER","index":1,"aggr":"sum"}],"groups":[{"name":"ALGO_NAME","index":0,"aggr":"sum"}],"values":[{"name":"GAIN_CUMULATIVE","index":2,"aggr":"sum"}]},"helium":{}}},"editorSetting":{"language":"sql","editOnDblClick":false},"editorMode":"ace/mode/osql","runOnSelectionChange":true},"settings":{"params":{"ALGO_NAME":"'ALGO_RANDOM_FOREST'"},"forms":{}},"results":{"code":"SUCCESS","msg":[{"type":"TABLE","data":"ALGO_NAME\tQUANTILE_NUMBER\tGAIN_CUMULATIVE\nALGO_NEURAL_NETWORK\t1\t4.55498602050326188257222739981360671016E-02\nALGO_NEURAL_NETWORK\t2\t9.10997204100652376514445479962721342032E-02\nALGO_NEURAL_NETWORK\t3\t1.36649580615097856477166821994408201305E-01\nALGO_NEURAL_NETWORK\t4\t1.82199440820130475302889095992544268406E-01\nALGO_NEURAL_NETWORK\t5\t2.27749301025163094128611369990680335508E-01\nALGO_NEURAL_NETWORK\t6\t2.7329916123019571295433364398881640261E-01\nALGO_NEURAL_NETWORK\t7\t3.18849021435228331780055917986952469711E-01\nALGO_NEURAL_NETWORK\t8\t3.64398881640260950605778191985088536813E-01\nALGO_NEURAL_NETWORK\t9\t4.09948741845293569431500465983224603914E-01\nALGO_NEURAL_NETWORK\t10\t4.55498602050326188257222739981360671016E-01\nALGO_NEURAL_NETWORK\t11\t5.01048462255358807082945013979496738117E-01\nALGO_NEURAL_NETWORK\t12\t5.46598322460391425908667287977632805219E-01\nALGO_NEURAL_NETWORK\t13\t5.91798695246971109040074557315936626282E-01\nALGO_NEURAL_NETWORK\t14\t6.37115563839701770736253494874184529357E-01\nALGO_NEURAL_NETWORK\t15\t6.82548928238583410997204100652376514446E-01\nALGO_NEURAL_NETWORK\t16\t7.27982292637465051258154706430568499534E-01\nALGO_NEURAL_NETWORK\t17\t7.7329916123019571295433364398881640261E-01\nALGO_NEURAL_NETWORK\t18\t8.18499534016775396085740913327120223672E-01\nALGO_NEURAL_NETWORK\t19\t8.6276794035414725069897483690587138863E-01\nALGO_NEURAL_NETWORK\t20\t9.04473438956197576887232059645852749301E-01\nALGO_NEURAL_NETWORK\t21\t9.40587138863000931966449207828518173346E-01\nALGO_NEURAL_NETWORK\t22\t9.66216216216216216216216216216216216216E-01\nALGO_NEURAL_NETWORK\t23\t9.79380242311276794035414725069897483691E-01\nALGO_NEURAL_NETWORK\t24\t9.88117427772600186393289841565703634669E-01\nALGO_NEURAL_NETWORK\t25\t9.91845293569431500465983224603914259087E-01\nALGO_NEURAL_NETWORK\t26\t9.93243243243243243243243243243243243243E-01\nALGO_NEURAL_NETWORK\t27\t9.93825722273998136067101584342963653309E-01\nALGO_NEURAL_NETWORK\t28\t9.94291705498602050326188257222739981361E-01\nALGO_NEURAL_NETWORK\t29\t9.95223671947809878844361602982292637465E-01\nALGO_NEURAL_NETWORK\t30\t9.9580615097856477166821994408201304753E-01\nALGO_NEURAL_NETWORK\t31\t9.96738117427772600186393289841565703635E-01\nALGO_NEURAL_NETWORK\t32\t9.96971109040074557315936626281453867661E-01\nALGO_NEURAL_NETWORK\t33\t9.973205964585274930102516309412861137E-01\nALGO_NEURAL_NETWORK\t34\t9.97553588070829450139794967381174277726E-01\nALGO_NEURAL_NETWORK\t35\t9.97786579683131407269338303821062441752E-01\nALGO_NEURAL_NETWORK\t36\t9.98019571295433364398881640260950605778E-01\nALGO_NEURAL_NETWORK\t37\t9.98136067101584342963653308480894687791E-01\nALGO_NEURAL_NETWORK\t38\t9.98369058713886300093196644920782851817E-01\nALGO_NEURAL_NETWORK\t39\t9.9848555452003727865796831314072693383E-01\nALGO_NEURAL_NETWORK\t40\t9.98602050326188257222739981360671015843E-01\nALGO_NEURAL_NETWORK\t41\t9.9883504193849021435228331780055917987E-01\nALGO_NEURAL_NETWORK\t42\t9.9883504193849021435228331780055917987E-01\nALGO_NEURAL_NETWORK\t43\t9.9883504193849021435228331780055917987E-01\nALGO_NEURAL_NETWORK\t44\t9.9883504193849021435228331780055917987E-01\nALGO_NEURAL_NETWORK\t45\t9.9883504193849021435228331780055917987E-01\nALGO_NEURAL_NETWORK\t46\t9.9883504193849021435228331780055917987E-01\nALGO_NEURAL_NETWORK\t47\t9.9883504193849021435228331780055917987E-01\nALGO_NEURAL_NETWORK\t48\t9.9883504193849021435228331780055917987E-01\nALGO_NEURAL_NETWORK\t49\t9.9883504193849021435228331780055917987E-01\nALGO_NEURAL_NETWORK\t50\t9.9883504193849021435228331780055917987E-01\nALGO_NEURAL_NETWORK\t51\t9.98951537744641192917054986020503261883E-01\nALGO_NEURAL_NETWORK\t52\t9.98951537744641192917054986020503261883E-01\nALGO_NEURAL_NETWORK\t53\t9.99068033550792171481826654240447343896E-01\nALGO_NEURAL_NETWORK\t54\t9.99068033550792171481826654240447343896E-01\nALGO_NEURAL_NETWORK\t55\t9.99184529356943150046598322460391425909E-01\nALGO_NEURAL_NETWORK\t56\t9.99417520969245107176141658900279589935E-01\nALGO_NEURAL_NETWORK\t57\t9.99417520969245107176141658900279589935E-01\nALGO_NEURAL_NETWORK\t58\t9.99417520969245107176141658900279589935E-01\nALGO_NEURAL_NETWORK\t59\t9.99534016775396085740913327120223671948E-01\nALGO_NEURAL_NETWORK\t60\t9.99650512581547064305684995340167753961E-01\nALGO_NEURAL_NETWORK\t61\t9.99650512581547064305684995340167753961E-01\nALGO_NEURAL_NETWORK\t62\t9.99650512581547064305684995340167753961E-01\nALGO_NEURAL_NETWORK\t63\t9.99650512581547064305684995340167753961E-01\nALGO_NEURAL_NETWORK\t64\t9.99650512581547064305684995340167753961E-01\nALGO_NEURAL_NETWORK\t65\t9.99650512581547064305684995340167753961E-01\nALGO_NEURAL_NETWORK\t66\t9.99650512581547064305684995340167753961E-01\nALGO_NEURAL_NETWORK\t67\t9.99650512581547064305684995340167753961E-01\nALGO_NEURAL_NETWORK\t68\t9.99767008387698042870456663560111835974E-01\nALGO_NEURAL_NETWORK\t69\t9.99883504193849021435228331780055917987E-01\nALGO_NEURAL_NETWORK\t70\t9.99883504193849021435228331780055917987E-01\nALGO_NEURAL_NETWORK\t71\t9.99883504193849021435228331780055917987E-01\nALGO_NEURAL_NETWORK\t72\t9.99883504193849021435228331780055917987E-01\nALGO_NEURAL_NETWORK\t73\t9.99883504193849021435228331780055917987E-01\nALGO_NEURAL_NETWORK\t74\t1\nALGO_NEURAL_NETWORK\t75\t1\nALGO_NEURAL_NETWORK\t76\t1\nALGO_NEURAL_NETWORK\t77\t1\nALGO_NEURAL_NETWORK\t78\t1\nALGO_NEURAL_NETWORK\t79\t1\nALGO_NEURAL_NETWORK\t80\t1\nALGO_NEURAL_NETWORK\t81\t1\nALGO_NEURAL_NETWORK\t82\t1\nALGO_NEURAL_NETWORK\t83\t1\nALGO_NEURAL_NETWORK\t84\t1\nALGO_NEURAL_NETWORK\t85\t1\nALGO_NEURAL_NETWORK\t86\t1\nALGO_NEURAL_NETWORK\t87\t1\nALGO_NEURAL_NETWORK\t88\t1\nALGO_NEURAL_NETWORK\t89\t1\nALGO_NEURAL_NETWORK\t90\t1\nALGO_NEURAL_NETWORK\t91\t1\nALGO_NEURAL_NETWORK\t92\t1\nALGO_NEURAL_NETWORK\t93\t1\nALGO_NEURAL_NETWORK\t94\t1\nALGO_NEURAL_NETWORK\t95\t1\nALGO_NEURAL_NETWORK\t96\t1\nALGO_NEURAL_NETWORK\t97\t1\nALGO_NEURAL_NETWORK\t98\t1\nALGO_NEURAL_NETWORK\t99\t1\nALGO_NEURAL_NETWORK\t100\t1\nALGO_NAIVE_BAYES\t1\t4.55498602050326188257222739981360671016E-02\nALGO_NAIVE_BAYES\t2\t9.10997204100652376514445479962721342032E-02\nALGO_NAIVE_BAYES\t3\t1.36649580615097856477166821994408201305E-01\nALGO_NAIVE_BAYES\t4\t1.82199440820130475302889095992544268406E-01\nALGO_NAIVE_BAYES\t5\t2.27516309412861136999068033550792171482E-01\nALGO_NAIVE_BAYES\t6\t2.72017707362534948741845293569431500466E-01\nALGO_NAIVE_BAYES\t7\t3.16868592730661696178937558247903075489E-01\nALGO_NAIVE_BAYES\t8\t3.60671015843429636533084808946877912395E-01\nALGO_NAIVE_BAYES\t9\t4.03075489282385834109972041006523765145E-01\nALGO_NAIVE_BAYES\t10\t4.43499534016775396085740913327120223672E-01\nALGO_NAIVE_BAYES\t11\t4.80661696178937558247903075489282385834E-01\nALGO_NAIVE_BAYES\t12\t5.17474370922646784715750232991612301957E-01\nALGO_NAIVE_BAYES\t13\t5.51957129543336439888164026095060577819E-01\nALGO_NAIVE_BAYES\t14\t5.80498602050326188257222739981360671016E-01\nALGO_NAIVE_BAYES\t15\t6.06943150046598322460391425908667287978E-01\nALGO_NAIVE_BAYES\t16\t6.28844361602982292637465051258154706431E-01\nALGO_NAIVE_BAYES\t17\t6.44454799627213420316868592730661696179E-01\nALGO_NAIVE_BAYES\t18\t6.58084808946877912395153774464119291706E-01\nALGO_NAIVE_BAYES\t19\t6.6651135788603797763280521901211556384E-01\nALGO_NAIVE_BAYES\t20\t6.78005591798695246971109040074557315937E-01\nALGO_NAIVE_BAYES\t21\t6.91053122087604846225535880708294501398E-01\nALGO_NAIVE_BAYES\t22\t7.08178005591798695246971109040074557316E-01\nALGO_NAIVE_BAYES\t23\t7.26001863932898415657036346691519105312E-01\nALGO_NAIVE_BAYES\t24\t7.51281453867660764212488350419384902144E-01\nALGO_NAIVE_BAYES\t25\t7.79356943150046598322460391425908667288E-01\nALGO_NAIVE_BAYES\t26\t8.09762348555452003727865796831314072693E-01\nALGO_NAIVE_BAYES\t27\t8.4098322460391425908667287977632805219E-01\nALGO_NAIVE_BAYES\t28\t8.71505125815470643056849953401677539609E-01\nALGO_NAIVE_BAYES\t29\t8.96318732525629077353215284249767008388E-01\nALGO_NAIVE_BAYES\t30\t9.18452935694315004659832246039142590867E-01\nALGO_NAIVE_BAYES\t31\t9.36043802423112767940354147250698974837E-01\nALGO_NAIVE_BAYES\t32\t9.50139794967381174277726001863932898416E-01\nALGO_NAIVE_BAYES\t33\t9.62022367194780987884436160298229263747E-01\nALGO_NAIVE_BAYES\t34\t9.69711090400745573159366262814538676608E-01\nALGO_NAIVE_BAYES\t35\t9.77982292637465051258154706430568499534E-01\nALGO_NAIVE_BAYES\t36\t9.84156570363466915191053122087604846226E-01\nALGO_NAIVE_BAYES\t37\t9.88816402609506057781919850885368126747E-01\nALGO_NAIVE_BAYES\t38\t9.9312674743709226467847157502329916123E-01\nALGO_NAIVE_BAYES\t39\t9.96155638397017707362534948741845293569E-01\nALGO_NAIVE_BAYES\t40\t9.98951537744641192917054986020503261883E-01\nALGO_NAIVE_BAYES\t41\t9.99417520969245107176141658900279589935E-01\nALGO_NAIVE_BAYES\t42\t1\nALGO_NAIVE_BAYES\t43\t1\nALGO_NAIVE_BAYES\t44\t1\nALGO_NAIVE_BAYES\t45\t1\nALGO_NAIVE_BAYES\t46\t1\nALGO_NAIVE_BAYES\t47\t1\nALGO_NAIVE_BAYES\t48\t1\nALGO_NAIVE_BAYES\t49\t1\nALGO_NAIVE_BAYES\t50\t1\nALGO_NAIVE_BAYES\t51\t1\nALGO_NAIVE_BAYES\t52\t1\nALGO_NAIVE_BAYES\t53\t1\nALGO_NAIVE_BAYES\t54\t1\nALGO_NAIVE_BAYES\t55\t1\nALGO_NAIVE_BAYES\t56\t1\nALGO_NAIVE_BAYES\t57\t1\nALGO_NAIVE_BAYES\t58\t1\nALGO_NAIVE_BAYES\t59\t1\nALGO_NAIVE_BAYES\t60\t1\nALGO_NAIVE_BAYES\t61\t1\nALGO_NAIVE_BAYES\t62\t1\nALGO_NAIVE_BAYES\t63\t1\nALGO_NAIVE_BAYES\t64\t1\nALGO_NAIVE_BAYES\t65\t1\nALGO_NAIVE_BAYES\t66\t1\nALGO_NAIVE_BAYES\t67\t1\nALGO_NAIVE_BAYES\t68\t1\nALGO_NAIVE_BAYES\t69\t1\nALGO_NAIVE_BAYES\t70\t1\nALGO_NAIVE_BAYES\t71\t1\nALGO_NAIVE_BAYES\t72\t1\nALGO_NAIVE_BAYES\t73\t1\nALGO_NAIVE_BAYES\t74\t1\nALGO_NAIVE_BAYES\t75\t1\nALGO_NAIVE_BAYES\t76\t1\nALGO_NAIVE_BAYES\t77\t1\nALGO_NAIVE_BAYES\t78\t1\nALGO_NAIVE_BAYES\t79\t1\nALGO_NAIVE_BAYES\t80\t1\nALGO_NAIVE_BAYES\t81\t1\nALGO_NAIVE_BAYES\t82\t1\nALGO_NAIVE_BAYES\t83\t1\nALGO_NAIVE_BAYES\t84\t1\nALGO_NAIVE_BAYES\t85\t1\nALGO_NAIVE_BAYES\t86\t1\nALGO_NAIVE_BAYES\t87\t1\nALGO_NAIVE_BAYES\t88\t1\nALGO_NAIVE_BAYES\t89\t1\nALGO_NAIVE_BAYES\t90\t1\nALGO_NAIVE_BAYES\t91\t1\nALGO_NAIVE_BAYES\t92\t1\nALGO_NAIVE_BAYES\t93\t1\nALGO_NAIVE_BAYES\t94\t1\nALGO_NAIVE_BAYES\t95\t1\nALGO_NAIVE_BAYES\t96\t1\nALGO_NAIVE_BAYES\t97\t1\nALGO_NAIVE_BAYES\t98\t1\nALGO_NAIVE_BAYES\t99\t1\nALGO_NAIVE_BAYES\t100\t1\nALGO_DECISION_TREE\t1\t4.51765531484811859273066169617893755825E-02\nALGO_DECISION_TREE\t2\t9.0353106296962371854613233923578751165E-02\nALGO_DECISION_TREE\t3\t1.35529659445443557781919850885368126747E-01\nALGO_DECISION_TREE\t4\t1.8070621259392474370922646784715750233E-01\nALGO_DECISION_TREE\t5\t2.25882765742405929636533084808946877912E-01\nALGO_DECISION_TREE\t6\t2.71059318890887115563839701770736253495E-01\nALGO_DECISION_TREE\t7\t3.16235857818688839701770736253494874185E-01\nALGO_DECISION_TREE\t8\t3.6141242518784948741845293569431500466E-01\nALGO_DECISION_TREE\t9\t4.0658896411565121155638397017707362535E-01\nALGO_DECISION_TREE\t10\t4.51765531484811859273066169617893755825E-01\nALGO_DECISION_TREE\t11\t4.969420988539725069897483690587138863E-01\nALGO_DECISION_TREE\t12\t5.4211863778177423112767940354147250699E-01\nALGO_DECISION_TREE\t13\t5.87295176709575955265610438024231127679E-01\nALGO_DECISION_TREE\t14\t6.32471715637377679403541472506989748369E-01\nALGO_DECISION_TREE\t15\t6.7764831144789725069897483690587138863E-01\nALGO_DECISION_TREE\t16\t7.2282485037569897483690587138863000932E-01\nALGO_DECISION_TREE\t17\t7.68001389303500698974836905871388630009E-01\nALGO_DECISION_TREE\t18\t8.13177928231302423112767940354147250699E-01\nALGO_DECISION_TREE\t19\t8.55247078048549627213420316868592730662E-01\nALGO_DECISION_TREE\t20\t8.89709529538967847157502329916123019571E-01\nALGO_DECISION_TREE\t21\t9.14442192141629776328052190121155638397E-01\nALGO_DECISION_TREE\t22\t9.3958571861530172413793103448275862069E-01\nALGO_DECISION_TREE\t23\t9.62455358443033550792171481826654240447E-01\nALGO_DECISION_TREE\t24\t9.68486633016367660764212488350419384902E-01\nALGO_DECISION_TREE\t25\t9.72445215116787045666356011183597390494E-01\nALGO_DECISION_TREE\t26\t9.73872516273007921714818266542404473439E-01\nALGO_DECISION_TREE\t27\t9.75299703663793103448275862068965517241E-01\nALGO_DECISION_TREE\t28\t9.76727004820013979496738117427772600186E-01\nALGO_DECISION_TREE\t29\t9.78154192210799161230195712954333643989E-01\nALGO_DECISION_TREE\t30\t9.79581493367020037278657968313140726934E-01\nALGO_DECISION_TREE\t31\t9.81008794523240913327120223671947809879E-01\nALGO_DECISION_TREE\t32\t9.82435981914026095060577819198508853681E-01\nALGO_DECISION_TREE\t33\t9.83863283070246971109040074557315936626E-01\nALGO_DECISION_TREE\t34\t9.85290470461032152842497670083876980429E-01\nALGO_DECISION_TREE\t35\t9.86717771617253028890959925442684063374E-01\nALGO_DECISION_TREE\t36\t9.88144959008038210624417520969245107176E-01\nALGO_DECISION_TREE\t37\t9.89572260164259086672879776328052190121E-01\nALGO_DECISION_TREE\t38\t9.90999447555044268406337371854613233924E-01\nALGO_DECISION_TREE\t39\t9.92426748711265144454799627213420316869E-01\nALGO_DECISION_TREE\t40\t9.93853936102050326188257222739981360671E-01\nALGO_DECISION_TREE\t41\t9.94610362483981826654240447343895619758E-01\nALGO_DECISION_TREE\t42\t9.95215253305568499534016775396085740913E-01\nALGO_DECISION_TREE\t43\t9.96051543023357409133271202236719478099E-01\nALGO_DECISION_TREE\t44\t9.96661325758678937558247903075489282386E-01\nALGO_DECISION_TREE\t45\t9.97271108494000465983224603914259086673E-01\nALGO_DECISION_TREE\t46\t9.9788089122932199440820130475302889096E-01\nALGO_DECISION_TREE\t47\t9.9849078773007921714818266542404473439E-01\nALGO_DECISION_TREE\t48\t9.99100570465400745573159366262814538677E-01\nALGO_DECISION_TREE\t49\t9.99710353200722273998136067101584342964E-01\nALGO_DECISION_TREE\t50\t9.99885096909948741845293569431500465983E-01\nALGO_DECISION_TREE\t51\t9.99887485984098322460391425908667287978E-01\nALGO_DECISION_TREE\t52\t9.9988976129281220876048462255358807083E-01\nALGO_DECISION_TREE\t53\t9.99892036601526095060577819198508853681E-01\nALGO_DECISION_TREE\t54\t9.99894311910239981360671015843429636533E-01\nALGO_DECISION_TREE\t55\t9.99896587218953867660764212488350419385E-01\nALGO_DECISION_TREE\t56\t9.99898976293103448275862068965517241379E-01\nALGO_DECISION_TREE\t57\t9.99901251601817334575955265610438024231E-01\nALGO_DECISION_TREE\t58\t9.99903526910531220876048462255358807083E-01\nALGO_DECISION_TREE\t59\t9.99905802219245107176141658900279589935E-01\nALGO_DECISION_TREE\t60\t9.99908077527958993476234855545200372787E-01\nALGO_DECISION_TREE\t61\t9.99910466602108574091332712022367194781E-01\nALGO_DECISION_TREE\t62\t9.99912741910822460391425908667287977633E-01\nALGO_DECISION_TREE\t63\t9.99915017219536346691519105312208760485E-01\nALGO_DECISION_TREE\t64\t9.99917292528250232991612301957129543336E-01\nALGO_DECISION_TREE\t65\t9.99919567836964119291705498602050326188E-01\nALGO_DECISION_TREE\t66\t9.99921956911113699906803355079217148183E-01\nALGO_DECISION_TREE\t67\t9.99924232219827586206896551724137931035E-01\nALGO_DECISION_TREE\t68\t9.99926507528541472506989748369058713886E-01\nALGO_DECISION_TREE\t69\t9.99928782837255358807082945013979496738E-01\nALGO_DECISION_TREE\t70\t9.9993105814596924510717614165890027959E-01\nALGO_DECISION_TREE\t71\t9.99933333454683131407269338303821062442E-01\nALGO_DECISION_TREE\t72\t9.99935722528832712022367194780987884436E-01\nALGO_DECISION_TREE\t73\t9.99937997837546598322460391425908667288E-01\nALGO_DECISION_TREE\t74\t9.9994027314626048462255358807082945014E-01\nALGO_DECISION_TREE\t75\t9.99942548454974370922646784715750232992E-01\nALGO_DECISION_TREE\t76\t9.99944823763688257222739981360671015843E-01\nALGO_DECISION_TREE\t77\t9.99947212837837837837837837837837837838E-01\nALGO_DECISION_TREE\t78\t9.9994948814655172413793103448275862069E-01\nALGO_DECISION_TREE\t79\t9.99951763455265610438024231127679403542E-01\nALGO_DECISION_TREE\t80\t9.99954038763979496738117427772600186393E-01\nALGO_DECISION_TREE\t81\t9.99956314072693383038210624417520969245E-01\nALGO_DECISION_TREE\t82\t9.9995870314684296365330848089468779124E-01\nALGO_DECISION_TREE\t83\t9.99960978455556849953401677539608574091E-01\nALGO_DECISION_TREE\t84\t9.99963253764270736253494874184529356943E-01\nALGO_DECISION_TREE\t85\t9.99965529072984622553588070829450139795E-01\nALGO_DECISION_TREE\t86\t9.99967804381698508853681267474370922647E-01\nALGO_DECISION_TREE\t87\t9.99970193455848089468779123951537744641E-01\nALGO_DECISION_TREE\t88\t9.99972468764561975768872320596458527493E-01\nALGO_DECISION_TREE\t89\t9.99974744073275862068965517241379310345E-01\nALGO_DECISION_TREE\t90\t9.99977019381989748369058713886300093197E-01\nALGO_DECISION_TREE\t91\t9.99979294690703634669151910531220876049E-01\nALGO_DECISION_TREE\t92\t9.99981683764853215284249767008387698043E-01\nALGO_DECISION_TREE\t93\t9.99983959073567101584342963653308480895E-01\nALGO_DECISION_TREE\t94\t9.99986234382280987884436160298229263747E-01\nALGO_DECISION_TREE\t95\t9.99988509690994874184529356943150046598E-01\nALGO_DECISION_TREE\t96\t9.9999078499970876048462255358807082945E-01\nALGO_DECISION_TREE\t97\t9.99993060308422646784715750232991612302E-01\nALGO_DECISION_TREE\t98\t9.99995449382572227399813606710158434296E-01\nALGO_DECISION_TREE\t99\t9.99997724691286113699906803355079217148E-01\nALGO_DECISION_TREE\t100\t1\nALGO_SUPPORT_VECTOR_MACHINES\t1\t4.27539608574091332712022367194780987884E-02\nALGO_SUPPORT_VECTOR_MACHINES\t2\t8.52749301025163094128611369990680335508E-02\nALGO_SUPPORT_VECTOR_MACHINES\t3\t1.27562907735321528424976700838769804287E-01\nALGO_SUPPORT_VECTOR_MACHINES\t4\t1.70433364398881640260950605778191985089E-01\nALGO_SUPPORT_VECTOR_MACHINES\t5\t2.13187325256290773532152842497670083877E-01\nALGO_SUPPORT_VECTOR_MACHINES\t6\t2.56174277726001863932898415657036346692E-01\nALGO_SUPPORT_VECTOR_MACHINES\t7\t2.97879776328052190121155638397017707363E-01\nALGO_SUPPORT_VECTOR_MACHINES\t8\t3.3981826654240447343895619757688723206E-01\nALGO_SUPPORT_VECTOR_MACHINES\t9\t3.81756756756756756756756756756756756757E-01\nALGO_SUPPORT_VECTOR_MACHINES\t10\t4.2392823858341099720410065237651444548E-01\nALGO_SUPPORT_VECTOR_MACHINES\t11\t4.66565703634669151910531220876048462255E-01\nALGO_SUPPORT_VECTOR_MACHINES\t12\t5.08504193849021435228331780055917986953E-01\nALGO_SUPPORT_VECTOR_MACHINES\t13\t5.49860205032618825722273998136067101584E-01\nALGO_SUPPORT_VECTOR_MACHINES\t14\t5.91449207828518173345759552656104380242E-01\nALGO_SUPPORT_VECTOR_MACHINES\t15\t6.31756756756756756756756756756756756757E-01\nALGO_SUPPORT_VECTOR_MACHINES\t16\t6.72297297297297297297297297297297297297E-01\nALGO_SUPPORT_VECTOR_MACHINES\t17\t7.12022367194780987884436160298229263747E-01\nALGO_SUPPORT_VECTOR_MACHINES\t18\t7.51397949673811742777260018639328984157E-01\nALGO_SUPPORT_VECTOR_MACHINES\t19\t7.91006523765144454799627213420316868593E-01\nALGO_SUPPORT_VECTOR_MACHINES\t20\t8.30498602050326188257222739981360671016E-01\nALGO_SUPPORT_VECTOR_MACHINES\t21\t8.68476234855545200372786579683131407269E-01\nALGO_SUPPORT_VECTOR_MACHINES\t22\t9.00046598322460391425908667287977632805E-01\nALGO_SUPPORT_VECTOR_MACHINES\t23\t9.2544268406337371854613233923578751165E-01\nALGO_SUPPORT_VECTOR_MACHINES\t24\t9.46295433364398881640260950605778191985E-01\nALGO_SUPPORT_VECTOR_MACHINES\t25\t9.62255358807082945013979496738117427773E-01\nALGO_SUPPORT_VECTOR_MACHINES\t26\t9.74487418452935694315004659832246039143E-01\nALGO_SUPPORT_VECTOR_MACHINES\t27\t9.83690587138863000931966449207828518173E-01\nALGO_SUPPORT_VECTOR_MACHINES\t28\t9.87534948741845293569431500465983224604E-01\nALGO_SUPPORT_VECTOR_MACHINES\t29\t9.90330848089468779123951537744641192917E-01\nALGO_SUPPORT_VECTOR_MACHINES\t30\t9.92194780987884436160298229263746505126E-01\nALGO_SUPPORT_VECTOR_MACHINES\t31\t9.93942218080149114631873252562907735322E-01\nALGO_SUPPORT_VECTOR_MACHINES\t32\t9.94874184529356943150046598322460391426E-01\nALGO_SUPPORT_VECTOR_MACHINES\t33\t9.94990680335507921714818266542404473439E-01\nALGO_SUPPORT_VECTOR_MACHINES\t34\t9.95456663560111835973904939422180801491E-01\nALGO_SUPPORT_VECTOR_MACHINES\t35\t9.9580615097856477166821994408201304753E-01\nALGO_SUPPORT_VECTOR_MACHINES\t36\t9.96272134203168685927306616961789375583E-01\nALGO_SUPPORT_VECTOR_MACHINES\t37\t9.96621621621621621621621621621621621622E-01\nALGO_SUPPORT_VECTOR_MACHINES\t38\t9.96971109040074557315936626281453867661E-01\nALGO_SUPPORT_VECTOR_MACHINES\t39\t9.97087604846225535880708294501397949674E-01\nALGO_SUPPORT_VECTOR_MACHINES\t40\t9.97204100652376514445479962721342031687E-01\nALGO_SUPPORT_VECTOR_MACHINES\t41\t9.973205964585274930102516309412861137E-01\nALGO_SUPPORT_VECTOR_MACHINES\t42\t9.97553588070829450139794967381174277726E-01\nALGO_SUPPORT_VECTOR_MACHINES\t43\t9.97670083876980428704566635601118359739E-01\nALGO_SUPPORT_VECTOR_MACHINES\t44\t9.97670083876980428704566635601118359739E-01\nALGO_SUPPORT_VECTOR_MACHINES\t45\t9.97903075489282385834109972041006523765E-01\nALGO_SUPPORT_VECTOR_MACHINES\t46\t9.97903075489282385834109972041006523765E-01\nALGO_SUPPORT_VECTOR_MACHINES\t47\t9.98019571295433364398881640260950605778E-01\nALGO_SUPPORT_VECTOR_MACHINES\t48\t9.98019571295433364398881640260950605778E-01\nALGO_SUPPORT_VECTOR_MACHINES\t49\t9.98369058713886300093196644920782851817E-01\nALGO_SUPPORT_VECTOR_MACHINES\t50\t9.98602050326188257222739981360671015843E-01\nALGO_SUPPORT_VECTOR_MACHINES\t51\t9.98602050326188257222739981360671015843E-01\nALGO_SUPPORT_VECTOR_MACHINES\t52\t9.98718546132339235787511649580615097857E-01\nALGO_SUPPORT_VECTOR_MACHINES\t53\t9.9883504193849021435228331780055917987E-01\nALGO_SUPPORT_VECTOR_MACHINES\t54\t9.9883504193849021435228331780055917987E-01\nALGO_SUPPORT_VECTOR_MACHINES\t55\t9.9883504193849021435228331780055917987E-01\nALGO_SUPPORT_VECTOR_MACHINES\t56\t9.9883504193849021435228331780055917987E-01\nALGO_SUPPORT_VECTOR_MACHINES\t57\t9.9883504193849021435228331780055917987E-01\nALGO_SUPPORT_VECTOR_MACHINES\t58\t9.98951537744641192917054986020503261883E-01\nALGO_SUPPORT_VECTOR_MACHINES\t59\t9.99068033550792171481826654240447343896E-01\nALGO_SUPPORT_VECTOR_MACHINES\t60\t9.99184529356943150046598322460391425909E-01\nALGO_SUPPORT_VECTOR_MACHINES\t61\t9.99301025163094128611369990680335507922E-01\nALGO_SUPPORT_VECTOR_MACHINES\t62\t9.99417520969245107176141658900279589935E-01\nALGO_SUPPORT_VECTOR_MACHINES\t63\t9.99534016775396085740913327120223671948E-01\nALGO_SUPPORT_VECTOR_MACHINES\t64\t9.99534016775396085740913327120223671948E-01\nALGO_SUPPORT_VECTOR_MACHINES\t65\t9.99767008387698042870456663560111835974E-01\nALGO_SUPPORT_VECTOR_MACHINES\t66\t9.99767008387698042870456663560111835974E-01\nALGO_SUPPORT_VECTOR_MACHINES\t67\t9.99767008387698042870456663560111835974E-01\nALGO_SUPPORT_VECTOR_MACHINES\t68\t9.99883504193849021435228331780055917987E-01\nALGO_SUPPORT_VECTOR_MACHINES\t69\t9.99883504193849021435228331780055917987E-01\nALGO_SUPPORT_VECTOR_MACHINES\t70\t9.99883504193849021435228331780055917987E-01\nALGO_SUPPORT_VECTOR_MACHINES\t71\t9.99883504193849021435228331780055917987E-01\nALGO_SUPPORT_VECTOR_MACHINES\t72\t9.99883504193849021435228331780055917987E-01\nALGO_SUPPORT_VECTOR_MACHINES\t73\t9.99883504193849021435228331780055917987E-01\nALGO_SUPPORT_VECTOR_MACHINES\t74\t9.99883504193849021435228331780055917987E-01\nALGO_SUPPORT_VECTOR_MACHINES\t75\t9.99883504193849021435228331780055917987E-01\nALGO_SUPPORT_VECTOR_MACHINES\t76\t1\nALGO_SUPPORT_VECTOR_MACHINES\t77\t1\nALGO_SUPPORT_VECTOR_MACHINES\t78\t1\nALGO_SUPPORT_VECTOR_MACHINES\t79\t1\nALGO_SUPPORT_VECTOR_MACHINES\t80\t1\nALGO_SUPPORT_VECTOR_MACHINES\t81\t1\nALGO_SUPPORT_VECTOR_MACHINES\t82\t1\nALGO_SUPPORT_VECTOR_MACHINES\t83\t1\nALGO_SUPPORT_VECTOR_MACHINES\t84\t1\nALGO_SUPPORT_VECTOR_MACHINES\t85\t1\nALGO_SUPPORT_VECTOR_MACHINES\t86\t1\nALGO_SUPPORT_VECTOR_MACHINES\t87\t1\nALGO_SUPPORT_VECTOR_MACHINES\t88\t1\nALGO_SUPPORT_VECTOR_MACHINES\t89\t1\nALGO_SUPPORT_VECTOR_MACHINES\t90\t1\nALGO_SUPPORT_VECTOR_MACHINES\t91\t1\nALGO_SUPPORT_VECTOR_MACHINES\t92\t1\nALGO_SUPPORT_VECTOR_MACHINES\t93\t1\nALGO_SUPPORT_VECTOR_MACHINES\t94\t1\nALGO_SUPPORT_VECTOR_MACHINES\t95\t1\nALGO_SUPPORT_VECTOR_MACHINES\t96\t1\nALGO_SUPPORT_VECTOR_MACHINES\t97\t1\nALGO_SUPPORT_VECTOR_MACHINES\t98\t1\nALGO_SUPPORT_VECTOR_MACHINES\t99\t1\nALGO_SUPPORT_VECTOR_MACHINES\t100\t1\nALGO_RANDOM_FOREST\t1\t4.55498602050326188257222739981360671016E-02\nALGO_RANDOM_FOREST\t2\t9.10997204100652376514445479962721342032E-02\nALGO_RANDOM_FOREST\t3\t1.36649580615097856477166821994408201305E-01\nALGO_RANDOM_FOREST\t4\t1.82199440820130475302889095992544268406E-01\nALGO_RANDOM_FOREST\t5\t2.27749301025163094128611369990680335508E-01\nALGO_RANDOM_FOREST\t6\t2.7329916123019571295433364398881640261E-01\nALGO_RANDOM_FOREST\t7\t3.18849021435228331780055917986952469711E-01\nALGO_RANDOM_FOREST\t8\t3.64398881640260950605778191985088536813E-01\nALGO_RANDOM_FOREST\t9\t4.09948741845293569431500465983224603914E-01\nALGO_RANDOM_FOREST\t10\t4.55498602050326188257222739981360671016E-01\nALGO_RANDOM_FOREST\t11\t5.01048462255358807082945013979496738117E-01\nALGO_RANDOM_FOREST\t12\t5.46598322460391425908667287977632805219E-01\nALGO_RANDOM_FOREST\t13\t5.92148182665424044734389561975768872321E-01\nALGO_RANDOM_FOREST\t14\t6.37698042870456663560111835973904939422E-01\nALGO_RANDOM_FOREST\t15\t6.83247903075489282385834109972041006524E-01\nALGO_RANDOM_FOREST\t16\t7.28797763280521901211556383970177073625E-01\nALGO_RANDOM_FOREST\t17\t7.74347623485554520037278657968313140727E-01\nALGO_RANDOM_FOREST\t18\t8.19897483690587138863000931966449207829E-01\nALGO_RANDOM_FOREST\t19\t8.6544734389561975768872320596458527493E-01\nALGO_RANDOM_FOREST\t20\t9.10880708294501397949673811742777260019E-01\nALGO_RANDOM_FOREST\t21\t9.53867660764212488350419384902143522833E-01\nALGO_RANDOM_FOREST\t22\t9.88059179869524697110904007455731593663E-01\nALGO_RANDOM_FOREST\t23\t9.99374631399988350419384902143522833178E-01\nALGO_RANDOM_FOREST\t24\t1\nALGO_RANDOM_FOREST\t25\t1\nALGO_RANDOM_FOREST\t26\t1\nALGO_RANDOM_FOREST\t27\t1\nALGO_RANDOM_FOREST\t28\t1\nALGO_RANDOM_FOREST\t29\t1\nALGO_RANDOM_FOREST\t30\t1\nALGO_RANDOM_FOREST\t31\t1\nALGO_RANDOM_FOREST\t32\t1\nALGO_RANDOM_FOREST\t33\t1\nALGO_RANDOM_FOREST\t34\t1\nALGO_RANDOM_FOREST\t35\t1\nALGO_RANDOM_FOREST\t36\t1\nALGO_RANDOM_FOREST\t37\t1\nALGO_RANDOM_FOREST\t38\t1\nALGO_RANDOM_FOREST\t39\t1\nALGO_RANDOM_FOREST\t40\t1\nALGO_RANDOM_FOREST\t41\t1\nALGO_RANDOM_FOREST\t42\t1\nALGO_RANDOM_FOREST\t43\t1\nALGO_RANDOM_FOREST\t44\t1\nALGO_RANDOM_FOREST\t45\t1\nALGO_RANDOM_FOREST\t46\t1\nALGO_RANDOM_FOREST\t47\t1\nALGO_RANDOM_FOREST\t48\t1\nALGO_RANDOM_FOREST\t49\t1\nALGO_RANDOM_FOREST\t50\t1\nALGO_RANDOM_FOREST\t51\t1\nALGO_RANDOM_FOREST\t52\t1\nALGO_RANDOM_FOREST\t53\t1\nALGO_RANDOM_FOREST\t54\t1\nALGO_RANDOM_FOREST\t55\t1\nALGO_RANDOM_FOREST\t56\t1\nALGO_RANDOM_FOREST\t57\t1\nALGO_RANDOM_FOREST\t58\t1\nALGO_RANDOM_FOREST\t59\t1\nALGO_RANDOM_FOREST\t60\t1\nALGO_RANDOM_FOREST\t61\t1\nALGO_RANDOM_FOREST\t62\t1\nALGO_RANDOM_FOREST\t63\t1\nALGO_RANDOM_FOREST\t64\t1\nALGO_RANDOM_FOREST\t65\t1\nALGO_RANDOM_FOREST\t66\t1\nALGO_RANDOM_FOREST\t67\t1\nALGO_RANDOM_FOREST\t68\t1\nALGO_RANDOM_FOREST\t69\t1\nALGO_RANDOM_FOREST\t70\t1\nALGO_RANDOM_FOREST\t71\t1\nALGO_RANDOM_FOREST\t72\t1\nALGO_RANDOM_FOREST\t73\t1\nALGO_RANDOM_FOREST\t74\t1\nALGO_RANDOM_FOREST\t75\t1\nALGO_RANDOM_FOREST\t76\t1\nALGO_RANDOM_FOREST\t77\t1\nALGO_RANDOM_FOREST\t78\t1\nALGO_RANDOM_FOREST\t79\t1\nALGO_RANDOM_FOREST\t80\t1\nALGO_RANDOM_FOREST\t81\t1\nALGO_RANDOM_FOREST\t82\t1\nALGO_RANDOM_FOREST\t83\t1\nALGO_RANDOM_FOREST\t84\t1\nALGO_RANDOM_FOREST\t85\t1\nALGO_RANDOM_FOREST\t86\t1\nALGO_RANDOM_FOREST\t87\t1\nALGO_RANDOM_FOREST\t88\t1\nALGO_RANDOM_FOREST\t89\t1\nALGO_RANDOM_FOREST\t90\t1\nALGO_RANDOM_FOREST\t91\t1\nALGO_RANDOM_FOREST\t92\t1\nALGO_RANDOM_FOREST\t93\t1\nALGO_RANDOM_FOREST\t94\t1\nALGO_RANDOM_FOREST\t95\t1\nALGO_RANDOM_FOREST\t96\t1\nALGO_RANDOM_FOREST\t97\t1\nALGO_RANDOM_FOREST\t98\t1\nALGO_RANDOM_FOREST\t99\t1\nALGO_RANDOM_FOREST\t100\t1\n"}]},"jobName":"paragraph_1555523585271_922554797","id":"20190417-175305_308183559","dateCreated":"2019-04-17T17:53:05+0000","dateStarted":"2019-04-17T17:56:18+0000","dateFinished":"2019-04-17T17:56:18+0000","status":"FINISHED","progressUpdateIntervalMs":500,"commited":true,"$$hashKey":"object:8296"},{"text":"%sql\nselect * from all_lift_data WHERE ALGO_NAME = ${ALGO_NAME='ALGO_RANDOM_FOREST', 'ALGO_RANDOM_FOREST'|'ALGO_NAIVE_BAYES'|'ALGO_DECISION_TREE'|'ALGO_NEURAL_NETWORK'|'ALGO_SUPPORT_VECTOR_MACHINES'};","user":"DHVANI","dateUpdated":"2019-04-19T20:45:37+0000","config":{"colWidth":6,"enabled":true,"results":{"0":{"graph":{"mode":"lineChart","height":300,"optionOpen":false,"setting":{"multiBarChart":{}},"commonSetting":{},"keys":[{"name":"QUANTILE_NUMBER","index":1,"aggr":"sum"}],"groups":[{"name":"ALGO_NAME","index":0,"aggr":"sum"}],"values":[{"name":"GAIN_CUMULATIVE","index":2,"aggr":"sum"}]},"helium":{}}},"editorSetting":{"language":"sql","editOnDblClick":false},"editorMode":"ace/mode/osql","editorHide":true,"runOnSelectionChange":true},"settings":{"params":{"ALGO_NAME":"'ALGO_NAIVE_BAYES'"},"forms":{"ALGO_NAME":{"name":"ALGO_NAME","defaultValue":"'ALGO_RANDOM_FOREST'","options":[{"value":" 'ALGO_RANDOM_FOREST'","$$hashKey":"object:16588"},{"value":"'ALGO_NAIVE_BAYES'","$$hashKey":"object:16589"},{"value":"'ALGO_DECISION_TREE'","$$hashKey":"object:16590"},{"value":"'ALGO_NEURAL_NETWORK'","$$hashKey":"object:16591"},{"value":"'ALGO_SUPPORT_VECTOR_MACHINES'","$$hashKey":"object:16592"}],"hidden":false,"$$hashKey":"object:16581"}}},"results":{"code":"SUCCESS","msg":[{"type":"TABLE","data":"ALGO_NAME\tQUANTILE_NUMBER\tGAIN_CUMULATIVE\nALGO_NAIVE_BAYES\t1\t4.55498602050326188257222739981360671016E-02\nALGO_NAIVE_BAYES\t2\t9.10997204100652376514445479962721342032E-02\nALGO_NAIVE_BAYES\t3\t1.36649580615097856477166821994408201305E-01\nALGO_NAIVE_BAYES\t4\t1.82199440820130475302889095992544268406E-01\nALGO_NAIVE_BAYES\t5\t2.27516309412861136999068033550792171482E-01\nALGO_NAIVE_BAYES\t6\t2.72017707362534948741845293569431500466E-01\nALGO_NAIVE_BAYES\t7\t3.16868592730661696178937558247903075489E-01\nALGO_NAIVE_BAYES\t8\t3.60671015843429636533084808946877912395E-01\nALGO_NAIVE_BAYES\t9\t4.03075489282385834109972041006523765145E-01\nALGO_NAIVE_BAYES\t10\t4.43499534016775396085740913327120223672E-01\nALGO_NAIVE_BAYES\t11\t4.80661696178937558247903075489282385834E-01\nALGO_NAIVE_BAYES\t12\t5.17474370922646784715750232991612301957E-01\nALGO_NAIVE_BAYES\t13\t5.51957129543336439888164026095060577819E-01\nALGO_NAIVE_BAYES\t14\t5.80498602050326188257222739981360671016E-01\nALGO_NAIVE_BAYES\t15\t6.06943150046598322460391425908667287978E-01\nALGO_NAIVE_BAYES\t16\t6.28844361602982292637465051258154706431E-01\nALGO_NAIVE_BAYES\t17\t6.44454799627213420316868592730661696179E-01\nALGO_NAIVE_BAYES\t18\t6.58084808946877912395153774464119291706E-01\nALGO_NAIVE_BAYES\t19\t6.6651135788603797763280521901211556384E-01\nALGO_NAIVE_BAYES\t20\t6.78005591798695246971109040074557315937E-01\nALGO_NAIVE_BAYES\t21\t6.91053122087604846225535880708294501398E-01\nALGO_NAIVE_BAYES\t22\t7.08178005591798695246971109040074557316E-01\nALGO_NAIVE_BAYES\t23\t7.26001863932898415657036346691519105312E-01\nALGO_NAIVE_BAYES\t24\t7.51281453867660764212488350419384902144E-01\nALGO_NAIVE_BAYES\t25\t7.79356943150046598322460391425908667288E-01\nALGO_NAIVE_BAYES\t26\t8.09762348555452003727865796831314072693E-01\nALGO_NAIVE_BAYES\t27\t8.4098322460391425908667287977632805219E-01\nALGO_NAIVE_BAYES\t28\t8.71505125815470643056849953401677539609E-01\nALGO_NAIVE_BAYES\t29\t8.96318732525629077353215284249767008388E-01\nALGO_NAIVE_BAYES\t30\t9.18452935694315004659832246039142590867E-01\nALGO_NAIVE_BAYES\t31\t9.36043802423112767940354147250698974837E-01\nALGO_NAIVE_BAYES\t32\t9.50139794967381174277726001863932898416E-01\nALGO_NAIVE_BAYES\t33\t9.62022367194780987884436160298229263747E-01\nALGO_NAIVE_BAYES\t34\t9.69711090400745573159366262814538676608E-01\nALGO_NAIVE_BAYES\t35\t9.77982292637465051258154706430568499534E-01\nALGO_NAIVE_BAYES\t36\t9.84156570363466915191053122087604846226E-01\nALGO_NAIVE_BAYES\t37\t9.88816402609506057781919850885368126747E-01\nALGO_NAIVE_BAYES\t38\t9.9312674743709226467847157502329916123E-01\nALGO_NAIVE_BAYES\t39\t9.96155638397017707362534948741845293569E-01\nALGO_NAIVE_BAYES\t40\t9.98951537744641192917054986020503261883E-01\nALGO_NAIVE_BAYES\t41\t9.99417520969245107176141658900279589935E-01\nALGO_NAIVE_BAYES\t42\t1\nALGO_NAIVE_BAYES\t43\t1\nALGO_NAIVE_BAYES\t44\t1\nALGO_NAIVE_BAYES\t45\t1\nALGO_NAIVE_BAYES\t46\t1\nALGO_NAIVE_BAYES\t47\t1\nALGO_NAIVE_BAYES\t48\t1\nALGO_NAIVE_BAYES\t49\t1\nALGO_NAIVE_BAYES\t50\t1\nALGO_NAIVE_BAYES\t51\t1\nALGO_NAIVE_BAYES\t52\t1\nALGO_NAIVE_BAYES\t53\t1\nALGO_NAIVE_BAYES\t54\t1\nALGO_NAIVE_BAYES\t55\t1\nALGO_NAIVE_BAYES\t56\t1\nALGO_NAIVE_BAYES\t57\t1\nALGO_NAIVE_BAYES\t58\t1\nALGO_NAIVE_BAYES\t59\t1\nALGO_NAIVE_BAYES\t60\t1\nALGO_NAIVE_BAYES\t61\t1\nALGO_NAIVE_BAYES\t62\t1\nALGO_NAIVE_BAYES\t63\t1\nALGO_NAIVE_BAYES\t64\t1\nALGO_NAIVE_BAYES\t65\t1\nALGO_NAIVE_BAYES\t66\t1\nALGO_NAIVE_BAYES\t67\t1\nALGO_NAIVE_BAYES\t68\t1\nALGO_NAIVE_BAYES\t69\t1\nALGO_NAIVE_BAYES\t70\t1\nALGO_NAIVE_BAYES\t71\t1\nALGO_NAIVE_BAYES\t72\t1\nALGO_NAIVE_BAYES\t73\t1\nALGO_NAIVE_BAYES\t74\t1\nALGO_NAIVE_BAYES\t75\t1\nALGO_NAIVE_BAYES\t76\t1\nALGO_NAIVE_BAYES\t77\t1\nALGO_NAIVE_BAYES\t78\t1\nALGO_NAIVE_BAYES\t79\t1\nALGO_NAIVE_BAYES\t80\t1\nALGO_NAIVE_BAYES\t81\t1\nALGO_NAIVE_BAYES\t82\t1\nALGO_NAIVE_BAYES\t83\t1\nALGO_NAIVE_BAYES\t84\t1\nALGO_NAIVE_BAYES\t85\t1\nALGO_NAIVE_BAYES\t86\t1\nALGO_NAIVE_BAYES\t87\t1\nALGO_NAIVE_BAYES\t88\t1\nALGO_NAIVE_BAYES\t89\t1\nALGO_NAIVE_BAYES\t90\t1\nALGO_NAIVE_BAYES\t91\t1\nALGO_NAIVE_BAYES\t92\t1\nALGO_NAIVE_BAYES\t93\t1\nALGO_NAIVE_BAYES\t94\t1\nALGO_NAIVE_BAYES\t95\t1\nALGO_NAIVE_BAYES\t96\t1\nALGO_NAIVE_BAYES\t97\t1\nALGO_NAIVE_BAYES\t98\t1\nALGO_NAIVE_BAYES\t99\t1\nALGO_NAIVE_BAYES\t100\t1\n"}]},"jobName":"paragraph_1555523732397_1976376577","id":"20190417-175532_2042724012","dateCreated":"2019-04-17T17:55:32+0000","dateStarted":"2019-04-17T17:56:31+0000","dateFinished":"2019-04-17T17:56:31+0000","status":"FINISHED","progressUpdateIntervalMs":500,"commited":true,"$$hashKey":"object:8297"},{"title":"Evaluate all algorithms","text":"%sql\nselect * from all_lift_data WHERE ALGO_NAME = ${ALGO_NAME='ALGO_RANDOM_FOREST', 'ALGO_RANDOM_FOREST'|'ALGO_NAIVE_BAYES'|'ALGO_DECISION_TREE'|'ALGO_NEURAL_NETWORK'|'ALGO_SUPPORT_VECTOR_MACHINES'};","user":"DHVANI","dateUpdated":"2019-04-19T20:45:46+0000","config":{"colWidth":6,"enabled":true,"results":{"0":{"graph":{"mode":"lineChart","height":300,"optionOpen":false,"setting":{"lineChart":{}},"commonSetting":{},"keys":[{"name":"QUANTILE_NUMBER","index":1,"aggr":"sum"}],"groups":[],"values":[{"name":"GAIN_CUMULATIVE","index":2,"aggr":"sum"}]},"helium":{}}},"editorSetting":{"language":"sql","editOnDblClick":false},"editorMode":"ace/mode/osql","runOnSelectionChange":true,"title":true},"settings":{"params":{"ALGO_NAME":" 'ALGO_RANDOM_FOREST'"},"forms":{"ALGO_NAME":{"name":"ALGO_NAME","defaultValue":"'ALGO_RANDOM_FOREST'","options":[{"value":" 'ALGO_RANDOM_FOREST'","$$hashKey":"object:16633"},{"value":"'ALGO_NAIVE_BAYES'","$$hashKey":"object:16634"},{"value":"'ALGO_DECISION_TREE'","$$hashKey":"object:16635"},{"value":"'ALGO_NEURAL_NETWORK'","$$hashKey":"object:16636"},{"value":"'ALGO_SUPPORT_VECTOR_MACHINES'","$$hashKey":"object:16637"}],"hidden":false,"$$hashKey":"object:16626"}}},"results":{"code":"SUCCESS","msg":[{"type":"TABLE","data":"ALGO_NAME\tQUANTILE_NUMBER\tGAIN_CUMULATIVE\nALGO_RANDOM_FOREST\t1\t4.55498602050326188257222739981360671016E-02\nALGO_RANDOM_FOREST\t2\t9.10997204100652376514445479962721342032E-02\nALGO_RANDOM_FOREST\t3\t1.36649580615097856477166821994408201305E-01\nALGO_RANDOM_FOREST\t4\t1.82199440820130475302889095992544268406E-01\nALGO_RANDOM_FOREST\t5\t2.27749301025163094128611369990680335508E-01\nALGO_RANDOM_FOREST\t6\t2.7329916123019571295433364398881640261E-01\nALGO_RANDOM_FOREST\t7\t3.18849021435228331780055917986952469711E-01\nALGO_RANDOM_FOREST\t8\t3.64398881640260950605778191985088536813E-01\nALGO_RANDOM_FOREST\t9\t4.09948741845293569431500465983224603914E-01\nALGO_RANDOM_FOREST\t10\t4.55498602050326188257222739981360671016E-01\nALGO_RANDOM_FOREST\t11\t5.01048462255358807082945013979496738117E-01\nALGO_RANDOM_FOREST\t12\t5.46598322460391425908667287977632805219E-01\nALGO_RANDOM_FOREST\t13\t5.92148182665424044734389561975768872321E-01\nALGO_RANDOM_FOREST\t14\t6.37698042870456663560111835973904939422E-01\nALGO_RANDOM_FOREST\t15\t6.83247903075489282385834109972041006524E-01\nALGO_RANDOM_FOREST\t16\t7.28797763280521901211556383970177073625E-01\nALGO_RANDOM_FOREST\t17\t7.74347623485554520037278657968313140727E-01\nALGO_RANDOM_FOREST\t18\t8.19897483690587138863000931966449207829E-01\nALGO_RANDOM_FOREST\t19\t8.6544734389561975768872320596458527493E-01\nALGO_RANDOM_FOREST\t20\t9.10880708294501397949673811742777260019E-01\nALGO_RANDOM_FOREST\t21\t9.53867660764212488350419384902143522833E-01\nALGO_RANDOM_FOREST\t22\t9.88059179869524697110904007455731593663E-01\nALGO_RANDOM_FOREST\t23\t9.99374631399988350419384902143522833178E-01\nALGO_RANDOM_FOREST\t24\t1\nALGO_RANDOM_FOREST\t25\t1\nALGO_RANDOM_FOREST\t26\t1\nALGO_RANDOM_FOREST\t27\t1\nALGO_RANDOM_FOREST\t28\t1\nALGO_RANDOM_FOREST\t29\t1\nALGO_RANDOM_FOREST\t30\t1\nALGO_RANDOM_FOREST\t31\t1\nALGO_RANDOM_FOREST\t32\t1\nALGO_RANDOM_FOREST\t33\t1\nALGO_RANDOM_FOREST\t34\t1\nALGO_RANDOM_FOREST\t35\t1\nALGO_RANDOM_FOREST\t36\t1\nALGO_RANDOM_FOREST\t37\t1\nALGO_RANDOM_FOREST\t38\t1\nALGO_RANDOM_FOREST\t39\t1\nALGO_RANDOM_FOREST\t40\t1\nALGO_RANDOM_FOREST\t41\t1\nALGO_RANDOM_FOREST\t42\t1\nALGO_RANDOM_FOREST\t43\t1\nALGO_RANDOM_FOREST\t44\t1\nALGO_RANDOM_FOREST\t45\t1\nALGO_RANDOM_FOREST\t46\t1\nALGO_RANDOM_FOREST\t47\t1\nALGO_RANDOM_FOREST\t48\t1\nALGO_RANDOM_FOREST\t49\t1\nALGO_RANDOM_FOREST\t50\t1\nALGO_RANDOM_FOREST\t51\t1\nALGO_RANDOM_FOREST\t52\t1\nALGO_RANDOM_FOREST\t53\t1\nALGO_RANDOM_FOREST\t54\t1\nALGO_RANDOM_FOREST\t55\t1\nALGO_RANDOM_FOREST\t56\t1\nALGO_RANDOM_FOREST\t57\t1\nALGO_RANDOM_FOREST\t58\t1\nALGO_RANDOM_FOREST\t59\t1\nALGO_RANDOM_FOREST\t60\t1\nALGO_RANDOM_FOREST\t61\t1\nALGO_RANDOM_FOREST\t62\t1\nALGO_RANDOM_FOREST\t63\t1\nALGO_RANDOM_FOREST\t64\t1\nALGO_RANDOM_FOREST\t65\t1\nALGO_RANDOM_FOREST\t66\t1\nALGO_RANDOM_FOREST\t67\t1\nALGO_RANDOM_FOREST\t68\t1\nALGO_RANDOM_FOREST\t69\t1\nALGO_RANDOM_FOREST\t70\t1\nALGO_RANDOM_FOREST\t71\t1\nALGO_RANDOM_FOREST\t72\t1\nALGO_RANDOM_FOREST\t73\t1\nALGO_RANDOM_FOREST\t74\t1\nALGO_RANDOM_FOREST\t75\t1\nALGO_RANDOM_FOREST\t76\t1\nALGO_RANDOM_FOREST\t77\t1\nALGO_RANDOM_FOREST\t78\t1\nALGO_RANDOM_FOREST\t79\t1\nALGO_RANDOM_FOREST\t80\t1\nALGO_RANDOM_FOREST\t81\t1\nALGO_RANDOM_FOREST\t82\t1\nALGO_RANDOM_FOREST\t83\t1\nALGO_RANDOM_FOREST\t84\t1\nALGO_RANDOM_FOREST\t85\t1\nALGO_RANDOM_FOREST\t86\t1\nALGO_RANDOM_FOREST\t87\t1\nALGO_RANDOM_FOREST\t88\t1\nALGO_RANDOM_FOREST\t89\t1\nALGO_RANDOM_FOREST\t90\t1\nALGO_RANDOM_FOREST\t91\t1\nALGO_RANDOM_FOREST\t92\t1\nALGO_RANDOM_FOREST\t93\t1\nALGO_RANDOM_FOREST\t94\t1\nALGO_RANDOM_FOREST\t95\t1\nALGO_RANDOM_FOREST\t96\t1\nALGO_RANDOM_FOREST\t97\t1\nALGO_RANDOM_FOREST\t98\t1\nALGO_RANDOM_FOREST\t99\t1\nALGO_RANDOM_FOREST\t100\t1\n"}]},"jobName":"paragraph_1553544382862_2070854850","id":"20190325-200622_2003269761","dateCreated":"2019-03-25T20:06:22+0000","dateStarted":"2019-03-28T19:58:27+0000","dateFinished":"2019-03-28T19:58:27+0000","status":"FINISHED","progressUpdateIntervalMs":500,"commited":true,"$$hashKey":"object:8298"},{"title":"Evaluate all algorithms","text":"%sql\nselect * from all_lift_data WHERE ALGO_NAME = ${ALGO_NAME='ALGO_RANDOM_FOREST', 'ALGO_RANDOM_FOREST'|'ALGO_NAIVE_BAYES'|'ALGO_DECISION_TREE'|'ALGO_NEURAL_NETWORK'|'ALGO_SUPPORT_VECTOR_MACHINES'};","user":"DHVANI","dateUpdated":"2019-04-19T20:45:44+0000","config":{"colWidth":6,"enabled":true,"results":{"0":{"graph":{"mode":"lineChart","height":300,"optionOpen":false,"setting":{"lineChart":{}},"commonSetting":{},"keys":[{"name":"QUANTILE_NUMBER","index":1,"aggr":"sum"}],"groups":[],"values":[{"name":"GAIN_CUMULATIVE","index":2,"aggr":"sum"}]},"helium":{}}},"editorSetting":{"language":"sql","editOnDblClick":false},"editorMode":"ace/mode/osql","runOnSelectionChange":true,"title":true,"editorHide":false},"settings":{"params":{"ALGO_NAME":"'ALGO_NAIVE_BAYES'"},"forms":{"ALGO_NAME":{"name":"ALGO_NAME","defaultValue":"'ALGO_RANDOM_FOREST'","options":[{"value":" 'ALGO_RANDOM_FOREST'","$$hashKey":"object:16600"},{"value":"'ALGO_NAIVE_BAYES'","$$hashKey":"object:16601"},{"value":"'ALGO_DECISION_TREE'","$$hashKey":"object:16602"},{"value":"'ALGO_NEURAL_NETWORK'","$$hashKey":"object:16603"},{"value":"'ALGO_SUPPORT_VECTOR_MACHINES'","$$hashKey":"object:16604"}],"hidden":false,"$$hashKey":"object:16593"}}},"results":{"code":"SUCCESS","msg":[{"type":"TABLE","data":"ALGO_NAME\tQUANTILE_NUMBER\tGAIN_CUMULATIVE\nALGO_NAIVE_BAYES\t1\t4.55498602050326188257222739981360671016E-02\nALGO_NAIVE_BAYES\t2\t9.10997204100652376514445479962721342032E-02\nALGO_NAIVE_BAYES\t3\t1.36649580615097856477166821994408201305E-01\nALGO_NAIVE_BAYES\t4\t1.82199440820130475302889095992544268406E-01\nALGO_NAIVE_BAYES\t5\t2.27516309412861136999068033550792171482E-01\nALGO_NAIVE_BAYES\t6\t2.72017707362534948741845293569431500466E-01\nALGO_NAIVE_BAYES\t7\t3.16868592730661696178937558247903075489E-01\nALGO_NAIVE_BAYES\t8\t3.60671015843429636533084808946877912395E-01\nALGO_NAIVE_BAYES\t9\t4.03075489282385834109972041006523765145E-01\nALGO_NAIVE_BAYES\t10\t4.43499534016775396085740913327120223672E-01\nALGO_NAIVE_BAYES\t11\t4.80661696178937558247903075489282385834E-01\nALGO_NAIVE_BAYES\t12\t5.17474370922646784715750232991612301957E-01\nALGO_NAIVE_BAYES\t13\t5.51957129543336439888164026095060577819E-01\nALGO_NAIVE_BAYES\t14\t5.80498602050326188257222739981360671016E-01\nALGO_NAIVE_BAYES\t15\t6.06943150046598322460391425908667287978E-01\nALGO_NAIVE_BAYES\t16\t6.28844361602982292637465051258154706431E-01\nALGO_NAIVE_BAYES\t17\t6.44454799627213420316868592730661696179E-01\nALGO_NAIVE_BAYES\t18\t6.58084808946877912395153774464119291706E-01\nALGO_NAIVE_BAYES\t19\t6.6651135788603797763280521901211556384E-01\nALGO_NAIVE_BAYES\t20\t6.78005591798695246971109040074557315937E-01\nALGO_NAIVE_BAYES\t21\t6.91053122087604846225535880708294501398E-01\nALGO_NAIVE_BAYES\t22\t7.08178005591798695246971109040074557316E-01\nALGO_NAIVE_BAYES\t23\t7.26001863932898415657036346691519105312E-01\nALGO_NAIVE_BAYES\t24\t7.51281453867660764212488350419384902144E-01\nALGO_NAIVE_BAYES\t25\t7.79356943150046598322460391425908667288E-01\nALGO_NAIVE_BAYES\t26\t8.09762348555452003727865796831314072693E-01\nALGO_NAIVE_BAYES\t27\t8.4098322460391425908667287977632805219E-01\nALGO_NAIVE_BAYES\t28\t8.71505125815470643056849953401677539609E-01\nALGO_NAIVE_BAYES\t29\t8.96318732525629077353215284249767008388E-01\nALGO_NAIVE_BAYES\t30\t9.18452935694315004659832246039142590867E-01\nALGO_NAIVE_BAYES\t31\t9.36043802423112767940354147250698974837E-01\nALGO_NAIVE_BAYES\t32\t9.50139794967381174277726001863932898416E-01\nALGO_NAIVE_BAYES\t33\t9.62022367194780987884436160298229263747E-01\nALGO_NAIVE_BAYES\t34\t9.69711090400745573159366262814538676608E-01\nALGO_NAIVE_BAYES\t35\t9.77982292637465051258154706430568499534E-01\nALGO_NAIVE_BAYES\t36\t9.84156570363466915191053122087604846226E-01\nALGO_NAIVE_BAYES\t37\t9.88816402609506057781919850885368126747E-01\nALGO_NAIVE_BAYES\t38\t9.9312674743709226467847157502329916123E-01\nALGO_NAIVE_BAYES\t39\t9.96155638397017707362534948741845293569E-01\nALGO_NAIVE_BAYES\t40\t9.98951537744641192917054986020503261883E-01\nALGO_NAIVE_BAYES\t41\t9.99417520969245107176141658900279589935E-01\nALGO_NAIVE_BAYES\t42\t1\nALGO_NAIVE_BAYES\t43\t1\nALGO_NAIVE_BAYES\t44\t1\nALGO_NAIVE_BAYES\t45\t1\nALGO_NAIVE_BAYES\t46\t1\nALGO_NAIVE_BAYES\t47\t1\nALGO_NAIVE_BAYES\t48\t1\nALGO_NAIVE_BAYES\t49\t1\nALGO_NAIVE_BAYES\t50\t1\nALGO_NAIVE_BAYES\t51\t1\nALGO_NAIVE_BAYES\t52\t1\nALGO_NAIVE_BAYES\t53\t1\nALGO_NAIVE_BAYES\t54\t1\nALGO_NAIVE_BAYES\t55\t1\nALGO_NAIVE_BAYES\t56\t1\nALGO_NAIVE_BAYES\t57\t1\nALGO_NAIVE_BAYES\t58\t1\nALGO_NAIVE_BAYES\t59\t1\nALGO_NAIVE_BAYES\t60\t1\nALGO_NAIVE_BAYES\t61\t1\nALGO_NAIVE_BAYES\t62\t1\nALGO_NAIVE_BAYES\t63\t1\nALGO_NAIVE_BAYES\t64\t1\nALGO_NAIVE_BAYES\t65\t1\nALGO_NAIVE_BAYES\t66\t1\nALGO_NAIVE_BAYES\t67\t1\nALGO_NAIVE_BAYES\t68\t1\nALGO_NAIVE_BAYES\t69\t1\nALGO_NAIVE_BAYES\t70\t1\nALGO_NAIVE_BAYES\t71\t1\nALGO_NAIVE_BAYES\t72\t1\nALGO_NAIVE_BAYES\t73\t1\nALGO_NAIVE_BAYES\t74\t1\nALGO_NAIVE_BAYES\t75\t1\nALGO_NAIVE_BAYES\t76\t1\nALGO_NAIVE_BAYES\t77\t1\nALGO_NAIVE_BAYES\t78\t1\nALGO_NAIVE_BAYES\t79\t1\nALGO_NAIVE_BAYES\t80\t1\nALGO_NAIVE_BAYES\t81\t1\nALGO_NAIVE_BAYES\t82\t1\nALGO_NAIVE_BAYES\t83\t1\nALGO_NAIVE_BAYES\t84\t1\nALGO_NAIVE_BAYES\t85\t1\nALGO_NAIVE_BAYES\t86\t1\nALGO_NAIVE_BAYES\t87\t1\nALGO_NAIVE_BAYES\t88\t1\nALGO_NAIVE_BAYES\t89\t1\nALGO_NAIVE_BAYES\t90\t1\nALGO_NAIVE_BAYES\t91\t1\nALGO_NAIVE_BAYES\t92\t1\nALGO_NAIVE_BAYES\t93\t1\nALGO_NAIVE_BAYES\t94\t1\nALGO_NAIVE_BAYES\t95\t1\nALGO_NAIVE_BAYES\t96\t1\nALGO_NAIVE_BAYES\t97\t1\nALGO_NAIVE_BAYES\t98\t1\nALGO_NAIVE_BAYES\t99\t1\nALGO_NAIVE_BAYES\t100\t1\n"}]},"jobName":"paragraph_1553711180095_834722146","id":"20190327-182620_291406807","dateCreated":"2019-03-27T18:26:20+0000","dateStarted":"2019-03-28T19:58:35+0000","dateFinished":"2019-03-28T19:58:35+0000","status":"FINISHED","progressUpdateIntervalMs":500,"commited":true,"$$hashKey":"object:8299"},{"title":"STEP 5: Choose the best algorithm and run it","text":"%md\nFrom the above drop-down menu, select the respective algorithm and view it's lift result. We can see that Random Forest performs the best among all the algorithms.\n","user":"DHVANI","dateUpdated":"2019-03-28T19:44:09+0000","config":{"colWidth":12,"enabled":true,"results":{},"editorSetting":{"language":"md","editOnDblClick":false},"editorMode":"ace/mode/markdown","title":true,"editorHide":true},"settings":{"params":{},"forms":{}},"results":{"code":"SUCCESS","msg":[{"type":"HTML","data":"<p>From the above drop-down menu, select the respective algorithm and view it's lift result. We can see that Random Forest performs the best among all the algorithms.</p>\n"}]},"jobName":"paragraph_1553544511520_161112907","id":"20190325-200831_1419956967","dateCreated":"2019-03-25T20:08:31+0000","dateStarted":"2019-03-28T19:43:07+0000","dateFinished":"2019-03-28T19:43:07+0000","status":"FINISHED","progressUpdateIntervalMs":500,"commited":true,"$$hashKey":"object:8300"},{"title":"Run Random Forest on Test Data","text":"%script\nBEGIN EXECUTE IMMEDIATE 'DROP VIEW ltv_bin_apply_data_v_rf';\nEXCEPTION WHEN OTHERS THEN NULL; END;\n/\nCREATE VIEW ltv_bin_apply_data_v_rf\nAS \nSELECT \n\"CUSTOMER_ID\", t.* FROM N1_TEST_DATA_LTV s, TABLE(PREDICTION_SET(RF_MLS_LTV_BIN USING *)) t;","user":"DHVANI","dateUpdated":"2019-03-26T15:41:58+0000","config":{"colWidth":12,"enabled":true,"results":{},"editorSetting":{"language":"plsql","editOnDblClick":false},"editorMode":"ace/mode/plsql","title":true,"lineNumbers":true},"settings":{"params":{},"forms":{}},"results":{"code":"SUCCESS","msg":[{"type":"TEXT","data":"\nPL/SQL procedure successfully completed.\n\n\n---------------------------\n\nView LTV_BIN_APPLY_DATA_V_RF created.\n\n\n---------------------------\n"}]},"jobName":"paragraph_1553277926658_910912751","id":"20190322-180526_2014468088","dateCreated":"2019-03-22T18:05:26+0000","dateStarted":"2019-03-22T18:21:38+0000","dateFinished":"2019-03-22T18:21:38+0000","status":"FINISHED","progressUpdateIntervalMs":500,"commited":true,"$$hashKey":"object:8301"},{"title":"Predicted Customer Lifetime Value","text":"%sql\nselect * from ltv_bin_apply_data_v_rf;","user":"DHVANI","dateUpdated":"2019-03-28T20:16:02+0000","config":{"colWidth":12,"enabled":true,"results":{},"editorSetting":{"language":"sql","editOnDblClick":false},"editorMode":"ace/mode/osql","title":true},"settings":{"params":{},"forms":{}},"results":{"code":"SUCCESS","msg":[{"type":"TABLE","data":"CUSTOMER_ID\tPREDICTION\tPROBABILITY\n5\tMedium\t1.0\n5\tHigh\t0.0\n5\tLow\t0.0\n7\tMedium\t0.9296305742051338\n7\tLow\t0.045717296894947454\n7\tHigh\t0.024652128899918784\n12\tHigh\t0.9940000000000001\n12\tMedium\t0.006\n12\tLow\t0.0\n15\tLow\t1.0\n15\tHigh\t0.0\n15\tMedium\t0.0\n18\tMedium\t0.968368131868132\n18\tHigh\t0.031631868131868135\n18\tLow\t0.0\n22\tLow\t1.0\n22\tHigh\t0.0\n22\tMedium\t0.0\n24\tMedium\t0.9880952380952381\n24\tLow\t0.011904761904761904\n24\tHigh\t0.0\n25\tLow\t1.0\n25\tHigh\t0.0\n25\tMedium\t0.0\n26\tMedium\t0.9826923076923076\n26\tHigh\t0.01730769230769231\n26\tLow\t0.0\n27\tMedium\t0.9946428571428572\n27\tLow\t0.0035714285714285713\n27\tHigh\t0.0017857142857142857\n29\tLow\t0.8935033931895981\n29\tMedium\t0.09993543931295416\n29\tHigh\t0.006561167497447601\n31\tLow\t0.9522187977742632\n31\tMedium\t0.03601752996197458\n31\tHigh\t0.01176367226376226\n32\tMedium\t0.9511904761904761\n32\tLow\t0.0488095238095238\n32\tHigh\t0.0\n34\tMedium\t0.9907933288257832\n34\tLow\t0.008823529411764706\n34\tHigh\t3.8314176245210724E-4\n36\tMedium\t1.0\n36\tHigh\t0.0\n36\tLow\t0.0\n38\tLow\t1.0\n38\tHigh\t0.0\n38\tMedium\t0.0\n40\tMedium\t0.984580745341615\n40\tLow\t0.010419254658385094\n40\tHigh\t0.005\n43\tLow\t1.0\n43\tHigh\t0.0\n43\tMedium\t0.0\n46\tLow\t1.0\n46\tHigh\t0.0\n46\tMedium\t0.0\n49\tMedium\t1.0\n49\tHigh\t0.0\n49\tLow\t0.0\n53\tLow\t1.0\n53\tHigh\t0.0\n53\tMedium\t0.0\n56\tLow\t1.0\n56\tHigh\t0.0\n56\tMedium\t0.0\n58\tLow\t0.7405760073260075\n58\tMedium\t0.2594239926739927\n58\tHigh\t0.0\n61\tLow\t1.0\n61\tHigh\t0.0\n61\tMedium\t0.0\n62\tHigh\t1.0\n62\tLow\t0.0\n62\tMedium\t0.0\n64\tMedium\t0.9821428571428571\n64\tLow\t0.017857142857142856\n64\tHigh\t0.0\n66\tLow\t0.9663987037381727\n66\tMedium\t0.02253591447771437\n66\tHigh\t0.011065381784112963\n76\tHigh\t0.4846043984790717\n76\tMedium\t0.40373583094508836\n76\tLow\t0.11165977057583973\n77\tMedium\t1.0\n77\tHigh\t0.0\n77\tLow\t0.0\n79\tHigh\t1.0\n79\tLow\t0.0\n79\tMedium\t0.0\n82\tMedium\t0.9821428571428571\n82\tLow\t0.017857142857142856\n82\tHigh\t0.0\n83\tHigh\t1.0\n83\tLow\t0.0\n83\tMedium\t0.0\n84\tLow\t0.9847826086956522\n84\tMedium\t0.015217391304347827\n84\tHigh\t0.0\n88\tLow\t1.0\n88\tHigh\t0.0\n88\tMedium\t0.0\n90\tLow\t0.990909090909091\n90\tMedium\t0.00909090909090909\n90\tHigh\t0.0\n91\tLow\t0.9772904648795386\n91\tMedium\t0.022709535120461484\n91\tHigh\t0.0\n94\tHigh\t0.9964285714285716\n94\tMedium\t0.0035714285714285713\n94\tLow\t0.0\n95\tLow\t0.9979892761394101\n95\tMedium\t0.0020107238605898124\n95\tHigh\t0.0\n98\tMedium\t0.8515915579518522\n98\tHigh\t0.14263921127891718\n98\tLow\t0.0057692307692307696\n100\tMedium\t1.0\n100\tHigh\t0.0\n100\tLow\t0.0\n105\tLow\t0.8576610051315132\n105\tMedium\t0.09826881628730513\n105\tHigh\t0.04407017858118158\n109\tMedium\t1.0\n109\tHigh\t0.0\n109\tLow\t0.0\n115\tLow\t1.0\n115\tHigh\t0.0\n115\tMedium\t0.0\n117\tLow\t1.0\n117\tHigh\t0.0\n117\tMedium\t0.0\n120\tHigh\t0.9565611674974477\n120\tMedium\t0.024935439312954177\n120\tLow\t0.018503393189598222\n122\tLow\t0.8587110955493309\n122\tMedium\t0.14128890445066913\n122\tHigh\t0.0\n125\tHigh\t0.9551927751219111\n125\tMedium\t0.04424473112931432\n125\tLow\t5.624937487744773E-4\n127\tLow\t1.0\n127\tHigh\t0.0\n127\tMedium\t0.0\n128\tHigh\t1.0\n128\tLow\t0.0\n128\tMedium\t0.0\n129\tMedium\t1.0\n129\tHigh\t0.0\n129\tLow\t0.0\n131\tMedium\t1.0\n131\tHigh\t0.0\n131\tLow\t0.0\n134\tMedium\t0.991491243394331\n134\tHigh\t0.007591605887234135\n134\tLow\t9.171507184347295E-4\n135\tHigh\t1.0\n135\tLow\t0.0\n135\tMedium\t0.0\n138\tHigh\t0.8134725672877845\n138\tMedium\t0.18652743271221534\n138\tLow\t0.0\n148\tHigh\t0.9518586150936713\n148\tMedium\t0.04151172174943703\n148\tLow\t0.0066296631568917045\n158\tMedium\t0.9675\n158\tLow\t0.0325\n158\tHigh\t0.0\n159\tMedium\t0.9706595452329241\n159\tLow\t0.01805862276651275\n159\tHigh\t0.011281832000563178\n166\tLow\t0.9981481481481481\n166\tMedium\t0.0018518518518518517\n166\tHigh\t0.0\n169\tHigh\t1.0\n169\tLow\t0.0\n169\tMedium\t0.0\n171\tMedium\t1.0\n171\tHigh\t0.0\n171\tLow\t0.0\n173\tLow\t1.0\n173\tHigh\t0.0\n173\tMedium\t0.0\n175\tMedium\t1.0\n175\tHigh\t0.0\n175\tLow\t0.0\n176\tHigh\t1.0\n176\tLow\t0.0\n176\tMedium\t0.0\n179\tLow\t1.0\n179\tHigh\t0.0\n179\tMedium\t0.0\n184\tMedium\t1.0\n184\tHigh\t0.0\n184\tLow\t0.0\n190\tMedium\t0.7327384381010374\n190\tHigh\t0.2672615618989626\n190\tLow\t0.0\n191\tMedium\t1.0\n191\tHigh\t0.0\n191\tLow\t0.0\n192\tLow\t1.0\n192\tHigh\t0.0\n192\tMedium\t0.0\n195\tHigh\t0.8464909420289857\n195\tMedium\t0.1535090579710145\n195\tLow\t0.0\n196\tHigh\t0.9505411255411256\n196\tMedium\t0.04945887445887446\n196\tLow\t0.0\n200\tMedium\t0.9947368421052631\n200\tLow\t0.005263157894736842\n200\tHigh\t0.0\n204\tMedium\t1.0\n204\tHigh\t0.0\n204\tLow\t0.0\n207\tMedium\t1.0\n207\tHigh\t0.0\n207\tLow\t0.0\n208\tLow\t1.0\n208\tHigh\t0.0\n208\tMedium\t0.0\n214\tHigh\t0.8913838612368024\n214\tMedium\t0.1086161387631976\n214\tLow\t0.0\n217\tMedium\t1.0\n217\tHigh\t0.0\n217\tLow\t0.0\n218\tMedium\t0.9801136363636364\n218\tLow\t0.019886363636363636\n218\tHigh\t0.0\n220\tMedium\t1.0\n220\tHigh\t0.0\n220\tLow\t0.0\n227\tLow\t0.9847826086956522\n227\tMedium\t0.015217391304347827\n227\tHigh\t0.0\n230\tMedium\t1.0\n230\tHigh\t0.0\n230\tLow\t0.0\n231\tMedium\t0.981569069069069\n231\tHigh\t0.01843093093093093\n231\tLow\t0.0\n232\tMedium\t0.728571316529515\n232\tLow\t0.18494873157380215\n232\tHigh\t0.08647995189668271\n236\tMedium\t1.0\n236\tHigh\t0.0\n236\tLow\t0.0\n239\tMedium\t1.0\n239\tHigh\t0.0\n239\tLow\t0.0\n242\tHigh\t0.9648620349839863\n242\tMedium\t0.035137965016013795\n242\tLow\t0.0\n254\tMedium\t0.9812356979405035\n254\tHigh\t0.018764302059496567\n254\tLow\t0.0\n255\tHigh\t1.0\n255\tLow\t0.0\n255\tMedium\t0.0\n257\tMedium\t0.7263298659544801\n257\tLow\t0.2318723918464844\n257\tHigh\t0.04179774219903561\n259\tHigh\t1.0\n259\tLow\t0.0\n259\tMedium\t0.0\n266\tLow\t0.9952380952380953\n266\tMedium\t0.0047619047619047615\n266\tHigh\t0.0\n273\tHigh\t0.8074167134042873\n273\tMedium\t0.1707209885862159\n273\tLow\t0.021862298009496628\n278\tMedium\t1.0\n278\tHigh\t0.0\n278\tLow\t0.0\n280\tMedium\t0.8338728324650923\n280\tHigh\t0.09199157596109424\n280\tLow\t0.07413559157381358\n284\tLow\t0.9722222222222221\n284\tMedium\t0.02777777777777778\n284\tHigh\t0.0\n289\tMedium\t1.0\n289\tHigh\t0.0\n289\tLow\t0.0\n296\tHigh\t1.0\n296\tLow\t0.0\n296\tMedium\t0.0\n303\tMedium\t0.9205074337427279\n303\tHigh\t0.07949256625727215\n303\tLow\t0.0\n305\tHigh\t0.8338183686976436\n305\tMedium\t0.09404021731223997\n305\tLow\t0.07214141399011635\n307\tMedium\t1.0\n307\tHigh\t0.0\n307\tLow\t0.0\n308\tLow\t0.9773927392739274\n308\tMedium\t0.022607260726072605\n308\tHigh\t0.0\n310\tLow\t1.0\n310\tHigh\t0.0\n310\tMedium\t0.0\n312\tLow\t0.9964285714285716\n312\tMedium\t0.0035714285714285713\n312\tHigh\t0.0\n314\tMedium\t1.0\n314\tHigh\t0.0\n314\tLow\t0.0\n319\tHigh\t0.8242348142710594\n319\tMedium\t0.12730444919429026\n319\tLow\t0.048460736534650405\n320\tMedium\t1.0\n320\tHigh\t0.0\n320\tLow\t0.0\n322\tMedium\t1.0\n322\tHigh\t0.0\n322\tLow\t0.0\n323\tMedium\t1.0\n323\tHigh\t0.0\n323\tLow\t0.0\n327\tLow\t0.8627522593654124\n327\tMedium\t0.09621873378188742\n327\tHigh\t0.04102900685270002\n328\tMedium\t1.0\n328\tHigh\t0.0\n328\tLow\t0.0\n335\tHigh\t0.6722517831469069\n335\tMedium\t0.327748216853093\n335\tLow\t0.0\n337\tLow\t0.9934782608695653\n337\tMedium\t0.006521739130434782\n337\tHigh\t0.0\n340\tMedium\t0.7570349143610013\n340\tHigh\t0.2429650856389987\n340\tLow\t0.0\n341\tLow\t1.0\n341\tHigh\t0.0\n341\tMedium\t0.0\n342\tHigh\t1.0\n342\tLow\t0.0\n342\tMedium\t0.0\n343\tLow\t1.0\n343\tHigh\t0.0\n343\tMedium\t0.0\n345\tLow\t0.8503968253968253\n345\tMedium\t0.14960317460317457\n345\tHigh\t0.0\n350\tMedium\t1.0\n350\tHigh\t0.0\n350\tLow\t0.0\n353\tMedium\t0.8323210870563307\n353\tHigh\t0.16767891294366927\n353\tLow\t0.0\n354\tHigh\t0.9214630385094781\n354\tMedium\t0.07853696149052186\n354\tLow\t0.0\n356\tLow\t1.0\n356\tHigh\t0.0\n356\tMedium\t0.0\n360\tLow\t0.9278719033417715\n360\tMedium\t0.04546140511959359\n360\tHigh\t0.026666691538634935\n361\tLow\t0.98125\n361\tMedium\t0.01875\n361\tHigh\t0.0\n364\tLow\t1.0\n364\tHigh\t0.0\n364\tMedium\t0.0\n370\tHigh\t0.9833333333333334\n370\tMedium\t0.016666666666666666\n370\tLow\t0.0\n373\tHigh\t1.0\n373\tLow\t0.0\n373\tMedium\t0.0\n374\tMedium\t0.961904761904762\n374\tHigh\t0.03809523809523809\n374\tLow\t0.0\n377\tMedium\t0.9950626719657597\n377\tHigh\t0.004020177315805564\n377\tLow\t9.171507184347295E-4\n379\tMedium\t0.9079402173913043\n379\tHigh\t0.09205978260869566\n379\tLow\t0.0\n383\tMedium\t0.9882352941176471\n383\tLow\t0.011764705882352941\n383\tHigh\t0.0\n384\tMedium\t1.0\n384\tHigh\t0.0\n384\tLow\t0.0\n386\tMedium\t1.0\n386\tHigh\t0.0\n386\tLow\t0.0\n388\tLow\t1.0\n388\tHigh\t0.0\n388\tMedium\t0.0\n390\tHigh\t1.0\n390\tLow\t0.0\n390\tMedium\t0.0\n393\tMedium\t0.561162507682852\n393\tLow\t0.3229002613778994\n393\tHigh\t0.11593723093924853\n395\tHigh\t0.9852941176470589\n395\tMedium\t0.014705882352941176\n395\tLow\t0.0\n397\tHigh\t0.9886363636363636\n397\tMedium\t0.011363636363636364\n397\tLow\t0.0\n399\tMedium\t0.9490233450759767\n399\tLow\t0.047405226352594775\n399\tHigh\t0.0035714285714285713\n401\tLow\t0.868321449792038\n401\tMedium\t0.131678550207962\n401\tHigh\t0.0\n403\tLow\t1.0\n403\tHigh\t0.0\n403\tMedium\t0.0\n404\tLow\t1.0\n404\tHigh\t0.0\n404\tMedium\t0.0\n406\tHigh\t0.994\n406\tMedium\t0.006\n406\tLow\t0.0\n410\tHigh\t1.0\n410\tLow\t0.0\n410\tMedium\t0.0\n412\tMedium\t0.8869123703420438\n412\tLow\t0.10205848911940944\n412\tHigh\t0.011029140538546662\n415\tMedium\t1.0\n415\tHigh\t0.0\n415\tLow\t0.0\n422\tHigh\t1.0\n422\tLow\t0.0\n422\tMedium\t0.0\n424\tMedium\t0.951251996833383\n424\tLow\t0.032669528480942636\n424\tHigh\t0.016078474685674297\n426\tHigh\t1.0\n426\tLow\t0.0\n426\tMedium\t0.0\n432\tLow\t1.0\n432\tHigh\t0.0\n432\tMedium\t0.0\n435\tMedium\t1.0\n435\tHigh\t0.0\n435\tLow\t0.0\n438\tMedium\t0.98125\n438\tHigh\t0.015625\n438\tLow\t0.003125\n440\tLow\t0.9682881773399015\n440\tMedium\t0.03171182266009852\n440\tHigh\t0.0\n442\tMedium\t0.9249254658385093\n442\tHigh\t0.07507453416149068\n442\tLow\t0.0\n444\tMedium\t0.718181223713395\n444\tHigh\t0.281818776286605\n444\tLow\t0.0\n452\tLow\t1.0\n452\tHigh\t0.0\n452\tMedium\t0.0\n455\tMedium\t0.8184322521279045\n455\tLow\t0.18156774787209568\n455\tHigh\t0.0\n457\tMedium\t0.9702991416887032\n457\tHigh\t0.019019651156262536\n457\tLow\t0.010681207155034265\n459\tLow\t0.7543503356546835\n459\tMedium\t0.2456496643453165\n459\tHigh\t0.0\n460\tMedium\t1.0\n460\tHigh\t0.0\n460\tLow\t0.0\n463\tHigh\t0.7863174603174603\n463\tMedium\t0.21368253968253964\n463\tLow\t0.0\n467\tHigh\t1.0\n467\tLow\t0.0\n467\tMedium\t0.0\n474\tMedium\t1.0\n474\tHigh\t0.0\n474\tLow\t0.0\n475\tLow\t0.7408218476457614\n475\tMedium\t0.18494333808317914\n475\tHigh\t0.07423481427105934\n476\tMedium\t0.95\n476\tLow\t0.05\n476\tHigh\t0.0\n481\tLow\t0.9722222222222221\n481\tMedium\t0.02777777777777778\n481\tHigh\t0.0\n483\tMedium\t1.0\n483\tHigh\t0.0\n483\tLow\t0.0\n484\tMedium\t0.8790033796612743\n484\tLow\t0.1209966203387256\n484\tHigh\t0.0\n485\tLow\t0.9892857142857142\n485\tMedium\t0.010714285714285714\n485\tHigh\t0.0\n488\tMedium\t1.0\n488\tHigh\t0.0\n488\tLow\t0.0\n491\tLow\t1.0\n491\tHigh\t0.0\n491\tMedium\t0.0\n493\tHigh\t0.5941732306970158\n493\tMedium\t0.3400536949112306\n493\tLow\t0.0657730743917536\n497\tLow\t1.0\n497\tHigh\t0.0\n497\tMedium\t0.0\n504\tHigh\t1.0\n504\tLow\t0.0\n504\tMedium\t0.0\n505\tLow\t0.9522187977742632\n505\tMedium\t0.03601752996197458\n505\tHigh\t0.01176367226376226\n508\tLow\t0.9882352941176471\n508\tMedium\t0.011764705882352941\n508\tHigh\t0.0\n511\tHigh\t0.9354232804232805\n511\tMedium\t0.06457671957671958\n511\tLow\t0.0\n512\tMedium\t0.8871178625912609\n512\tLow\t0.11288213740873924\n512\tHigh\t0.0\n513\tLow\t0.9785714285714284\n513\tMedium\t0.02142857142857143\n513\tHigh\t0.0\n514\tLow\t1.0\n514\tHigh\t0.0\n514\tMedium\t0.0\n515\tMedium\t0.9928571428571429\n515\tLow\t0.007142857142857143\n515\tHigh\t0.0\n517\tLow\t1.0\n517\tHigh\t0.0\n517\tMedium\t0.0\n522\tMedium\t0.7616731403687099\n522\tHigh\t0.14128240758480692\n522\tLow\t0.09704445204648302\n524\tMedium\t0.9853921568627451\n524\tLow\t0.0146078431372549\n524\tHigh\t0.0\n527\tMedium\t0.9941176470588236\n527\tHigh\t0.0058823529411764705\n527\tLow\t0.0\n529\tLow\t0.990909090909091\n529\tMedium\t0.00909090909090909\n529\tHigh\t0.0\n530\tMedium\t1.0\n530\tHigh\t0.0\n530\tLow\t0.0\n532\tMedium\t1.0\n532\tHigh\t0.0\n532\tLow\t0.0\n536\tMedium\t1.0\n536\tHigh\t0.0\n536\tLow\t0.0\n542\tMedium\t0.6686940205664126\n542\tHigh\t0.33130597943358747\n542\tLow\t0.0\n543\tLow\t0.7325140502772081\n543\tMedium\t0.2674859497227918\n543\tHigh\t0.0\n546\tLow\t0.5925989779149057\n546\tMedium\t0.4035124829068299\n546\tHigh\t0.0038885391782644734\n554\tMedium\t0.868435763321347\n554\tHigh\t0.13156423667865316\n554\tLow\t0.0\n556\tHigh\t1.0\n556\tLow\t0.0\n556\tMedium\t0.0\n557\tMedium\t1.0\n557\tHigh\t0.0\n557\tLow\t0.0\n559\tHigh\t1.0\n559\tLow\t0.0\n559\tMedium\t0.0\n560\tMedium\t1.0\n560\tHigh\t0.0\n560\tLow\t0.0\n561\tMedium\t0.9950626719657597\n561\tHigh\t0.004020177315805564\n561\tLow\t9.171507184347295E-4\n562\tHigh\t1.0\n562\tLow\t0.0\n562\tMedium\t0.0\n564\tLow\t0.9428426299824132\n564\tMedium\t0.046087689290483444\n564\tHigh\t0.01106968072710324\n566\tHigh\t1.0\n566\tLow\t0.0\n566\tMedium\t0.0\n567\tMedium\t1.0\n567\tHigh\t0.0\n567\tLow\t0.0\n571\tHigh\t1.0\n571\tLow\t0.0\n571\tMedium\t0.0\n572\tMedium\t1.0\n572\tHigh\t0.0\n572\tLow\t0.0\n575\tLow\t1.0\n575\tHigh\t0.0\n575\tMedium\t0.0\n576\tLow\t1.0\n576\tHigh\t0.0\n576\tMedium\t0.0\n578\tHigh\t1.0\n578\tLow\t0.0\n578\tMedium\t0.0\n579\tMedium\t0.8769702256105202\n579\tLow\t0.07214141399011635\n579\tHigh\t0.0508883603993634\n582\tHigh\t0.9150476190476191\n582\tMedium\t0.08495238095238096\n582\tLow\t0.0\n585\tLow\t1.0\n585\tHigh\t0.0\n585\tMedium\t0.0\n587\tMedium\t0.9373374060150376\n587\tHigh\t0.0605046992481203\n587\tLow\t0.002157894736842105\n595\tMedium\t1.0\n595\tHigh\t0.0\n595\tLow\t0.0\n596\tLow\t0.9218421052631578\n596\tMedium\t0.07815789473684209\n596\tHigh\t0.0\n597\tLow\t1.0\n597\tHigh\t0.0\n597\tMedium\t0.0\n598\tMedium\t0.9720779220779221\n598\tLow\t0.02792207792207792\n598\tHigh\t0.0\n599\tMedium\t0.9859022556390977\n599\tHigh\t0.014097744360902253\n599\tLow\t0.0\n600\tMedium\t0.9411356271369071\n600\tLow\t0.042525828023080095\n600\tHigh\t0.01633854484001285\n603\tLow\t1.0\n603\tHigh\t0.0\n603\tMedium\t0.0\n607\tMedium\t1.0\n607\tHigh\t0.0\n607\tLow\t0.0\n608\tHigh\t1.0\n608\tLow\t0.0\n608\tMedium\t0.0\n610\tLow\t1.0\n610\tHigh\t0.0\n610\tMedium\t0.0\n614\tLow\t1.0\n614\tHigh\t0.0\n614\tMedium\t0.0\n616\tMedium\t0.9767857142857143\n616\tLow\t0.023214285714285715\n616\tHigh\t0.0\n617\tMedium\t1.0\n617\tHigh\t0.0\n617\tLow\t0.0\n618\tLow\t1.0\n618\tHigh\t0.0\n618\tMedium\t0.0\n619\tLow\t1.0\n619\tHigh\t0.0\n619\tMedium\t0.0\n624\tMedium\t0.9941176470588236\n624\tLow\t0.0058823529411764705\n624\tHigh\t0.0\n625\tMedium\t0.9491694068931921\n625\tHigh\t0.04161490683229814\n625\tLow\t0.009215686274509804\n630\tMedium\t1.0\n630\tHigh\t0.0\n630\tLow\t0.0\n631\tHigh\t1.0\n631\tLow\t0.0\n631\tMedium\t0.0\n632\tMedium\t1.0\n632\tHigh\t0.0\n632\tLow\t0.0\n634\tHigh\t0.7350606639270109\n634\tMedium\t0.1570379817367232\n634\tLow\t0.10790135433626583\n635\tMedium\t0.8850296697626419\n635\tHigh\t0.1149703302373581\n635\tLow\t0.0\n643\tMedium\t0.973868778280543\n643\tHigh\t0.026131221719457014\n643\tLow\t0.0\n646\tMedium\t1.0\n646\tHigh\t0.0\n646\tLow\t0.0\n651\tMedium\t1.0\n651\tHigh\t0.0\n651\tLow\t0.0\n653\tLow\t1.0\n653\tHigh\t0.0\n653\tMedium\t0.0\n655\tMedium\t0.9964285714285716\n655\tHigh\t0.0035714285714285713\n655\tLow\t0.0\n658\tLow\t1.0\n658\tHigh\t0.0\n658\tMedium\t0.0\n659\tHigh\t1.0\n659\tLow\t0.0\n659\tMedium\t0.0\n661\tLow\t1.0\n661\tHigh\t0.0\n661\tMedium\t0.0\n662\tHigh\t0.9973684210526315\n662\tMedium\t0.002631578947368421\n662\tLow\t0.0\n663\tLow\t1.0\n663\tHigh\t0.0\n663\tMedium\t0.0\n664\tHigh\t1.0\n664\tLow\t0.0\n664\tMedium\t0.0\n665\tHigh\t1.0\n665\tLow\t0.0\n665\tMedium\t0.0\n673\tMedium\t1.0\n673\tHigh\t0.0\n673\tLow\t0.0\n674\tLow\t1.0\n674\tHigh\t0.0\n674\tMedium\t0.0\n677\tLow\t0.9923076923076923\n677\tMedium\t0.007692307692307693\n677\tHigh\t0.0\n679\tLow\t0.8720895897778445\n679\tMedium\t0.08384023164097404\n679\tHigh\t0.04407017858118158\n680\tLow\t1.0\n680\tHigh\t0.0\n680\tMedium\t0.0\n681\tMedium\t0.9162818662818661\n681\tHigh\t0.08371813371813372\n681\tLow\t0.0\n685\tMedium\t1.0\n685\tHigh\t0.0\n685\tLow\t0.0\n686\tLow\t1.0\n686\tHigh\t0.0\n686\tMedium\t0.0\n688\tLow\t1.0\n688\tHigh\t0.0\n688\tMedium\t0.0\n689\tHigh\t0.8131145028255615\n689\tMedium\t0.18688549717443853\n689\tLow\t0.0\n690\tHigh\t0.984090909090909\n690\tMedium\t0.015909090909090907\n690\tLow\t0.0\n691\tMedium\t0.9109006211180123\n691\tHigh\t0.08909937888198757\n691\tLow\t0.0\n699\tMedium\t0.9676470588235293\n699\tHigh\t0.03235294117647059\n699\tLow\t0.0\n701\tMedium\t0.8485065567960305\n701\tLow\t0.15149344320396954\n701\tHigh\t0.0\n703\tMedium\t0.9969187675070028\n703\tHigh\t0.003081232492997199\n703\tLow\t0.0\n706\tLow\t1.0\n706\tHigh\t0.0\n706\tMedium\t0.0\n707\tHigh\t1.0\n707\tLow\t0.0\n707\tMedium\t0.0\n710\tHigh\t1.0\n710\tLow\t0.0\n710\tMedium\t0.0\n711\tHigh\t0.9427018633540373\n711\tMedium\t0.05729813664596273\n711\tLow\t0.0\n713\tMedium\t0.8807237885518724\n713\tHigh\t0.08195031718256687\n713\tLow\t0.03732589426556075\n715\tMedium\t0.9632804232804233\n715\tHigh\t0.03671957671957672\n715\tLow\t0.0\n721\tLow\t1.0\n721\tHigh\t0.0\n721\tMedium\t0.0\n723\tLow\t0.9973684210526315\n723\tMedium\t0.002631578947368421\n723\tHigh\t0.0\n728\tMedium\t0.9525\n728\tLow\t0.0475\n728\tHigh\t0.0\n734\tMedium\t0.9071733821733823\n734\tLow\t0.09282661782661782\n734\tHigh\t0.0\n736\tMedium\t1.0\n736\tHigh\t0.0\n736\tLow\t0.0\n737\tMedium\t0.8298093058733791\n737\tLow\t0.17019069412662088\n737\tHigh\t0.0\n738\tHigh\t1.0\n738\tLow\t0.0\n738\tMedium\t0.0\n740\tHigh\t1.0\n740\tLow\t0.0\n740\tMedium\t0.0\n741\tMedium\t1.0\n741\tHigh\t0.0\n741\tLow\t0.0\n742\tMedium\t1.0\n742\tHigh\t0.0\n742\tLow\t0.0\n746\tMedium\t0.9816402877697842\n746\tHigh\t0.018359712230215826\n746\tLow\t0.0\n747\tHigh\t0.9721374045801527\n747\tMedium\t0.02786259541984733\n747\tLow\t0.0\n748\tMedium\t0.966851851851852\n748\tHigh\t0.03314814814814815\n748\tLow\t0.0\n751\tMedium\t0.9950515102620254\n751\tLow\t0.004474481472850152\n751\tHigh\t4.740082651244127E-4\n753\tHigh\t0.975\n753\tMedium\t0.025\n753\tLow\t0.0\n754\tLow\t1.0\n754\tHigh\t0.0\n754\tMedium\t0.0\n756\tLow\t0.5840565841540386\n756\tMedium\t0.3918796902038447\n756\tHigh\t0.02406372564211673\n757\tMedium\t1.0\n757\tHigh\t0.0\n757\tLow\t0.0\n758\tMedium\t0.9949999999999999\n758\tLow\t0.005\n758\tHigh\t0.0\n762\tLow\t1.0\n762\tHigh\t0.0\n762\tMedium\t0.0\n768\tLow\t1.0\n768\tHigh\t0.0\n768\tMedium\t0.0\n770\tMedium\t1.0\n770\tHigh\t0.0\n770\tLow\t0.0\n771\tHigh\t0.6668188195614682\n771\tMedium\t0.2122563608047836\n771\tLow\t0.12092481963374815\n773\tMedium\t0.9099999999999999\n773\tLow\t0.09\n773\tHigh\t0.0\n774\tHigh\t0.8298742725232255\n774\tMedium\t0.1319046290253944\n774\tLow\t0.038221098451380046\n777\tMedium\t0.9541341991341991\n777\tHigh\t0.04586580086580087\n777\tLow\t0.0\n778\tMedium\t1.0\n778\tHigh\t0.0\n778\tLow\t0.0\n789\tMedium\t1.0\n789\tHigh\t0.0\n789\tLow\t0.0\n790\tHigh\t0.9712500000000001\n790\tMedium\t0.028749999999999998\n790\tLow\t0.0\n794\tHigh\t1.0\n794\tLow\t0.0\n794\tMedium\t0.0\n795\tLow\t1.0\n795\tHigh\t0.0\n795\tMedium\t0.0\n796\tMedium\t1.0\n796\tHigh\t0.0\n796\tLow\t0.0\n798\tLow\t1.0\n798\tHigh\t0.0\n798\tMedium\t0.0\n800\tMedium\t0.9657894736842106\n800\tHigh\t0.034210526315789476\n800\tLow\t0.0\n803\tLow\t1.0\n803\tHigh\t0.0\n803\tMedium\t0.0\n804\tMedium\t0.9394090152903587\n804\tHigh\t0.060590984709641325\n804\tLow\t0.0\n805\tMedium\t0.7102526948297503\n805\tHigh\t0.1523552379881346\n805\tLow\t0.1373920671821151\n806\tHigh\t1.0\n806\tLow\t0.0\n806\tMedium\t0.0\n808\tLow\t1.0\n808\tHigh\t0.0\n808\tMedium\t0.0\n809\tLow\t1.0\n809\tHigh\t0.0\n809\tMedium\t0.0\n810\tHigh\t1.0\n810\tLow\t0.0\n810\tMedium\t0.0\n815\tMedium\t1.0\n815\tHigh\t0.0\n815\tLow\t0.0\n819\tHigh\t1.0\n819\tLow\t0.0\n819\tMedium\t0.0\n820\tLow\t1.0\n820\tHigh\t0.0\n820\tMedium\t0.0\n821\tLow\t0.8592358740949344\n821\tMedium\t0.11486740631098162\n821\tHigh\t0.02589671959408405\n826\tMedium\t0.9749354393129541\n826\tLow\t0.018503393189598222\n826\tHigh\t0.006561167497447601\n828\tLow\t1.0\n828\tHigh\t0.0\n828\tMedium\t0.0\n831\tMedium\t0.9947368421052631\n831\tLow\t0.005263157894736842\n831\tHigh\t0.0\n832\tHigh\t0.9857142857142858\n832\tMedium\t0.014285714285714285\n832\tLow\t0.0\n836\tMedium\t0.42531219986927554\n836\tLow\t0.41584970218414297\n836\tHigh\t0.15883809794658135\n837\tMedium\t0.9550000000000001\n837\tLow\t0.045\n837\tHigh\t0.0\n838\tMedium\t1.0\n838\tHigh\t0.0\n838\tLow\t0.0\n840\tHigh\t0.8242348142710594\n840\tMedium\t0.12730444919429026\n840\tLow\t0.048460736534650405\n843\tMedium\t0.9478260869565217\n843\tLow\t0.05217391304347826\n843\tHigh\t0.0\n846\tHigh\t1.0\n846\tLow\t0.0\n846\tMedium\t0.0\n847\tMedium\t0.805095405396797\n847\tLow\t0.1277110038934335\n847\tHigh\t0.06719359070976946\n851\tHigh\t0.9572493224932248\n851\tMedium\t0.04275067750677507\n851\tLow\t0.0\n852\tLow\t1.0\n852\tHigh\t0.0\n852\tMedium\t0.0\n856\tHigh\t0.711859060845129\n856\tMedium\t0.28814093915487105\n856\tLow\t0.0\n858\tLow\t0.968997922925308\n858\tMedium\t0.03020360336072936\n858\tHigh\t7.984737139626908E-4\n859\tLow\t0.9854166666666668\n859\tMedium\t0.014583333333333334\n859\tHigh\t0.0\n865\tMedium\t1.0\n865\tHigh\t0.0\n865\tLow\t0.0\n866\tMedium\t1.0\n866\tHigh\t0.0\n866\tLow\t0.0\n873\tMedium\t1.0\n873\tHigh\t0.0\n873\tLow\t0.0\n875\tLow\t1.0\n875\tHigh\t0.0\n875\tMedium\t0.0\n876\tMedium\t0.9966666666666667\n876\tHigh\t0.003333333333333333\n876\tLow\t0.0\n877\tLow\t0.9797979797979798\n877\tMedium\t0.0202020202020202\n877\tHigh\t0.0\n879\tMedium\t1.0\n879\tHigh\t0.0\n879\tLow\t0.0\n881\tLow\t1.0\n881\tHigh\t0.0\n881\tMedium\t0.0\n882\tMedium\t0.9974999999999999\n"}]},"jobName":"paragraph_1553269621378_-738533070","id":"20190322-154701_1332162029","dateCreated":"2019-03-22T15:47:01+0000","dateStarted":"2019-03-28T20:16:03+0000","dateFinished":"2019-03-28T20:16:04+0000","status":"FINISHED","progressUpdateIntervalMs":500,"commited":true,"$$hashKey":"object:8302"},{"title":"Assign Prediction based on highest likelihood","text":"%sql\nselect customer_id, PREDICTION, PROBABILITY from ltv_bin_apply_data_v_rf where PROBABILITY IN (select MAX(PROBABILITY) from ltv_bin_apply_data_v_rf group by CUSTOMER_ID) and PREDICTION = ${PREDICTION='High', 'High'|'Medium'|'Low'};","user":"DHVANI","dateUpdated":"2019-03-29T16:19:36+0000","config":{"colWidth":12,"enabled":true,"results":{},"editorSetting":{"language":"sql","editOnDblClick":false},"editorMode":"ace/mode/osql","runOnSelectionChange":true,"title":true},"settings":{"params":{"PREDICTION":" 'High'"},"forms":{"PREDICTION":{"name":"PREDICTION","defaultValue":"'High'","options":[{"value":" 'High'","$$hashKey":"object:11964"},{"value":"'Medium'","$$hashKey":"object:11965"},{"value":"'Low'","$$hashKey":"object:11966"}],"hidden":false,"$$hashKey":"object:11956"}}},"results":{"code":"SUCCESS","msg":[{"type":"TABLE","data":"CUSTOMER_ID\tPREDICTION\tPROBABILITY\n8\tHigh\t0.8396960066077714\n45\tHigh\t1.0\n48\tHigh\t1.0\n63\tHigh\t1.0\n69\tHigh\t0.9814935064935065\n87\tHigh\t1.0\n94\tHigh\t0.9964285714285716\n123\tHigh\t0.9130097972203235\n125\tHigh\t0.9551927751219111\n128\tHigh\t1.0\n132\tHigh\t0.9732386363636364\n135\tHigh\t1.0\n141\tHigh\t1.0\n148\tHigh\t0.9518586150936713\n167\tHigh\t1.0\n195\tHigh\t0.8464909420289857\n196\tHigh\t0.9505411255411256\n205\tHigh\t0.9327623333953531\n229\tHigh\t1.0\n240\tHigh\t0.9558823529411764\n255\tHigh\t1.0\n258\tHigh\t0.9679354935685132\n261\tHigh\t0.9188955124894107\n293\tHigh\t1.0\n318\tHigh\t0.8015494471767702\n336\tHigh\t1.0\n349\tHigh\t0.990625\n357\tHigh\t1.0\n387\tHigh\t1.0\n390\tHigh\t1.0\n392\tHigh\t0.9254668534080299\n410\tHigh\t1.0\n425\tHigh\t1.0\n454\tHigh\t0.9559223521880578\n458\tHigh\t1.0\n463\tHigh\t0.7863174603174603\n472\tHigh\t1.0\n495\tHigh\t1.0\n504\tHigh\t1.0\n511\tHigh\t0.9354232804232805\n528\tHigh\t1.0\n550\tHigh\t0.9683983509498383\n562\tHigh\t1.0\n566\tHigh\t1.0\n570\tHigh\t0.9761904761904763\n571\tHigh\t1.0\n577\tHigh\t1.0\n578\tHigh\t1.0\n590\tHigh\t1.0\n608\tHigh\t1.0\n620\tHigh\t1.0\n627\tHigh\t1.0\n631\tHigh\t1.0\n652\tHigh\t1.0\n662\tHigh\t0.9973684210526315\n671\tHigh\t0.9535714285714285\n672\tHigh\t1.0\n687\tHigh\t0.870806648928585\n689\tHigh\t0.8131145028255615\n696\tHigh\t1.0\n710\tHigh\t1.0\n722\tHigh\t0.9188955124894107\n733\tHigh\t0.959375\n738\tHigh\t1.0\n747\tHigh\t0.9721374045801527\n753\tHigh\t0.975\n771\tHigh\t0.6668188195614682\n774\tHigh\t0.8298742725232255\n790\tHigh\t0.9712500000000001\n799\tHigh\t1.0\n806\tHigh\t1.0\n830\tHigh\t0.8059915759610942\n832\tHigh\t0.9857142857142858\n834\tHigh\t1.0\n846\tHigh\t1.0\n850\tHigh\t1.0\n851\tHigh\t0.9572493224932248\n853\tHigh\t0.944047619047619\n867\tHigh\t1.0\n892\tHigh\t1.0\n902\tHigh\t0.9852941176470589\n923\tHigh\t0.7664484865340316\n926\tHigh\t1.0\n938\tHigh\t1.0\n944\tHigh\t1.0\n958\tHigh\t1.0\n959\tHigh\t1.0\n962\tHigh\t1.0\n963\tHigh\t1.0\n965\tHigh\t0.9679354935685132\n968\tHigh\t0.9798484848484849\n989\tHigh\t0.9695652173913043\n1005\tHigh\t1.0\n1016\tHigh\t1.0\n1018\tHigh\t1.0\n1042\tHigh\t1.0\n1050\tHigh\t1.0\n1055\tHigh\t0.9330065359477124\n1056\tHigh\t0.9925925925925926\n1059\tHigh\t0.9380871004148134\n1091\tHigh\t1.0\n1093\tHigh\t0.9804347826086957\n1109\tHigh\t1.0\n1117\tHigh\t1.0\n1119\tHigh\t1.0\n1127\tHigh\t0.9761904761904763\n1141\tHigh\t0.9964285714285716\n1153\tHigh\t1.0\n1154\tHigh\t0.9566666666666667\n1156\tHigh\t0.8831425667870627\n1187\tHigh\t0.9931818181818182\n1193\tHigh\t0.9786363636363637\n1200\tHigh\t0.9678571428571429\n1207\tHigh\t1.0\n1212\tHigh\t1.0\n1213\tHigh\t1.0\n1214\tHigh\t1.0\n1220\tHigh\t1.0\n1248\tHigh\t1.0\n1252\tHigh\t1.0\n1259\tHigh\t0.985\n1267\tHigh\t0.9992762364294331\n1275\tHigh\t0.9061469744777149\n1276\tHigh\t0.9279654169360052\n1278\tHigh\t1.0\n1279\tHigh\t1.0\n1303\tHigh\t0.9517142857142857\n1304\tHigh\t0.9973684210526315\n1310\tHigh\t0.5579815633387935\n1312\tHigh\t0.9679354935685132\n1316\tHigh\t1.0\n1361\tHigh\t1.0\n1363\tHigh\t0.8242348142710594\n1371\tHigh\t1.0\n1378\tHigh\t1.0\n1396\tHigh\t0.9526610644257703\n1397\tHigh\t1.0\n1427\tHigh\t1.0\n1432\tHigh\t0.9764705882352942\n1435\tHigh\t0.8719019041960218\n1443\tHigh\t0.9804347826086957\n1447\tHigh\t1.0\n1479\tHigh\t1.0\n1485\tHigh\t0.9427156234924035\n1489\tHigh\t1.0\n1495\tHigh\t0.9557301181342103\n1547\tHigh\t1.0\n1563\tHigh\t1.0\n1565\tHigh\t0.955944055944056\n1569\tHigh\t1.0\n1575\tHigh\t1.0\n1577\tHigh\t0.9134981684981686\n1578\tHigh\t0.9679354935685132\n1581\tHigh\t0.7234803083776734\n1598\tHigh\t0.7879914596273292\n1602\tHigh\t1.0\n1604\tHigh\t1.0\n1620\tHigh\t1.0\n1625\tHigh\t1.0\n1626\tHigh\t0.9217142857142857\n1660\tHigh\t0.9319677871148458\n1669\tHigh\t1.0\n1676\tHigh\t1.0\n1711\tHigh\t0.8655738304093568\n1719\tHigh\t0.6795342958175272\n1728\tHigh\t1.0\n1741\tHigh\t0.9978260869565216\n1743\tHigh\t1.0\n1744\tHigh\t1.0\n1773\tHigh\t1.0\n1782\tHigh\t1.0\n1796\tHigh\t1.0\n1817\tHigh\t1.0\n1836\tHigh\t1.0\n1850\tHigh\t0.9463392857142857\n1855\tHigh\t1.0\n1857\tHigh\t0.9804347826086957\n1886\tHigh\t1.0\n1889\tHigh\t1.0\n1913\tHigh\t0.898076923076923\n1923\tHigh\t1.0\n1946\tHigh\t0.968421052631579\n1947\tHigh\t1.0\n1964\tHigh\t0.870806648928585\n1996\tHigh\t0.9866666666666667\n2000\tHigh\t0.8989654282765738\n2001\tHigh\t0.870806648928585\n2019\tHigh\t0.6686906950673209\n2045\tHigh\t0.9178571428571429\n2055\tHigh\t1.0\n2057\tHigh\t0.4652358582940789\n2060\tHigh\t1.0\n2062\tHigh\t0.9597321428571428\n2066\tHigh\t1.0\n2067\tHigh\t1.0\n2087\tHigh\t1.0\n2099\tHigh\t1.0\n2107\tHigh\t1.0\n2118\tHigh\t1.0\n2121\tHigh\t0.9652301478731026\n2134\tHigh\t1.0\n2142\tHigh\t1.0\n2168\tHigh\t1.0\n2170\tHigh\t1.0\n2190\tHigh\t0.8844728339694937\n2216\tHigh\t1.0\n2224\tHigh\t1.0\n2234\tHigh\t1.0\n2240\tHigh\t1.0\n2281\tHigh\t0.9992647058823529\n2284\tHigh\t0.836431648928585\n2323\tHigh\t1.0\n2356\tHigh\t1.0\n2368\tHigh\t0.8874206297074794\n2370\tHigh\t1.0\n2402\tHigh\t1.0\n2405\tHigh\t1.0\n2431\tHigh\t0.9610653817841129\n2442\tHigh\t0.8074167134042873\n2444\tHigh\t1.0\n2453\tHigh\t0.9610653817841129\n2467\tHigh\t0.9075911646633239\n2469\tHigh\t1.0\n2489\tHigh\t1.0\n2494\tHigh\t0.9805555555555555\n2506\tHigh\t1.0\n2528\tHigh\t0.99\n2534\tHigh\t1.0\n2535\tHigh\t1.0\n2549\tHigh\t1.0\n2570\tHigh\t1.0\n2581\tHigh\t0.9406176470588236\n2582\tHigh\t0.7017813843668664\n2584\tHigh\t1.0\n2595\tHigh\t1.0\n2599\tHigh\t1.0\n2608\tHigh\t1.0\n2623\tHigh\t1.0\n2632\tHigh\t1.0\n2633\tHigh\t1.0\n2634\tHigh\t1.0\n2650\tHigh\t1.0\n2686\tHigh\t1.0\n2696\tHigh\t0.9928571428571429\n2708\tHigh\t1.0\n2715\tHigh\t1.0\n2716\tHigh\t0.9462415264860763\n2719\tHigh\t1.0\n2731\tHigh\t0.939448051948052\n2736\tHigh\t1.0\n2751\tHigh\t0.9061469744777149\n2752\tHigh\t1.0\n2759\tHigh\t1.0\n2775\tHigh\t1.0\n2787\tHigh\t1.0\n2789\tHigh\t0.9185496894409937\n2796\tHigh\t0.9962962962962962\n2804\tHigh\t1.0\n2806\tHigh\t0.9772727272727273\n2808\tHigh\t1.0\n2810\tHigh\t1.0\n2818\tHigh\t1.0\n2842\tHigh\t0.9771014492753624\n2852\tHigh\t0.9206171197223828\n2858\tHigh\t0.8981865983809859\n2859\tHigh\t0.7455639573791748\n2888\tHigh\t0.6026954551022479\n2908\tHigh\t1.0\n2922\tHigh\t1.0\n2932\tHigh\t1.0\n2955\tHigh\t0.9138420403126284\n2956\tHigh\t1.0\n2977\tHigh\t1.0\n2981\tHigh\t1.0\n2989\tHigh\t1.0\n3002\tHigh\t0.9309065934065934\n3011\tHigh\t0.5777373581011351\n3038\tHigh\t1.0\n3041\tHigh\t0.865671572669169\n3042\tHigh\t0.9683529411764706\n3116\tHigh\t0.8602202380952381\n3121\tHigh\t1.0\n3124\tHigh\t1.0\n3129\tHigh\t0.9846153846153847\n3135\tHigh\t1.0\n3141\tHigh\t0.5224863972344791\n3173\tHigh\t1.0\n3176\tHigh\t1.0\n3202\tHigh\t0.9611231361231362\n3205\tHigh\t1.0\n3211\tHigh\t0.6175228820011125\n3223\tHigh\t1.0\n3230\tHigh\t1.0\n3285\tHigh\t0.9596296296296296\n3292\tHigh\t1.0\n3299\tHigh\t1.0\n3318\tHigh\t1.0\n3321\tHigh\t1.0\n3327\tHigh\t0.9075472727408135\n3394\tHigh\t1.0\n3399\tHigh\t1.0\n3411\tHigh\t0.8161964285714287\n3425\tHigh\t1.0\n3435\tHigh\t1.0\n3461\tHigh\t1.0\n3462\tHigh\t1.0\n3463\tHigh\t0.5941732306970158\n3484\tHigh\t1.0\n3496\tHigh\t0.9804347826086957\n3514\tHigh\t1.0\n3519\tHigh\t1.0\n3532\tHigh\t0.810080264627899\n3557\tHigh\t1.0\n3569\tHigh\t0.810653656280255\n3570\tHigh\t1.0\n3588\tHigh\t0.99\n3589\tHigh\t0.9828571428571429\n3591\tHigh\t1.0\n3593\tHigh\t1.0\n3607\tHigh\t1.0\n3624\tHigh\t0.8426511419710824\n3633\tHigh\t1.0\n3671\tHigh\t1.0\n3678\tHigh\t0.9973684210526315\n3684\tHigh\t1.0\n3765\tHigh\t1.0\n3780\tHigh\t0.9565611674974477\n3809\tHigh\t1.0\n3818\tHigh\t1.0\n3819\tHigh\t1.0\n3835\tHigh\t1.0\n3867\tHigh\t1.0\n3874\tHigh\t0.8229205197190088\n3895\tHigh\t0.8868554252889291\n3918\tHigh\t0.9973684210526315\n3927\tHigh\t1.0\n3942\tHigh\t1.0\n3948\tHigh\t0.9610653817841129\n3977\tHigh\t1.0\n3982\tHigh\t1.0\n4025\tHigh\t0.8678754491164821\n4034\tHigh\t1.0\n4035\tHigh\t1.0\n4040\tHigh\t1.0\n4059\tHigh\t1.0\n4086\tHigh\t1.0\n4090\tHigh\t1.0\n4105\tHigh\t0.99\n4107\tHigh\t0.7659650611196671\n4117\tHigh\t1.0\n4141\tHigh\t1.0\n4148\tHigh\t1.0\n4153\tHigh\t1.0\n4176\tHigh\t0.9992762364294331\n4180\tHigh\t1.0\n4184\tHigh\t1.0\n4198\tHigh\t0.9705882352941175\n4209\tHigh\t0.5753961142116368\n4247\tHigh\t0.9974999999999999\n4274\tHigh\t0.909734568334235\n4287\tHigh\t0.9568783068783068\n4294\tHigh\t1.0\n4324\tHigh\t1.0\n4338\tHigh\t1.0\n4351\tHigh\t0.9557754010695187\n4355\tHigh\t1.0\n4375\tHigh\t0.966\n4389\tHigh\t1.0\n4394\tHigh\t1.0\n4407\tHigh\t0.6220725108225108\n4415\tHigh\t1.0\n4446\tHigh\t1.0\n4470\tHigh\t0.5301360877684406\n4474\tHigh\t1.0\n4477\tHigh\t0.9673076923076923\n4478\tHigh\t0.5378296515930787\n4494\tHigh\t1.0\n4503\tHigh\t1.0\n4529\tHigh\t1.0\n4553\tHigh\t1.0\n4558\tHigh\t0.84275689537945\n4572\tHigh\t1.0\n4577\tHigh\t1.0\n4580\tHigh\t1.0\n4583\tHigh\t0.8232307575680264\n4586\tHigh\t1.0\n4594\tHigh\t1.0\n4595\tHigh\t1.0\n4607\tHigh\t1.0\n4608\tHigh\t1.0\n4609\tHigh\t0.7371853752434081\n4614\tHigh\t1.0\n4655\tHigh\t1.0\n4660\tHigh\t1.0\n4666\tHigh\t1.0\n4674\tHigh\t1.0\n4680\tHigh\t1.0\n4702\tHigh\t0.8838134358742618\n4712\tHigh\t1.0\n4718\tHigh\t0.9580495356037151\n4721\tHigh\t1.0\n4728\tHigh\t0.8298742725232255\n4748\tHigh\t0.675689871912984\n4761\tHigh\t1.0\n4791\tHigh\t1.0\n4799\tHigh\t0.865671572669169\n4833\tHigh\t1.0\n4835\tHigh\t1.0\n4840\tHigh\t1.0\n4844\tHigh\t1.0\n4846\tHigh\t0.8242348142710594\n4853\tHigh\t0.9886363636363636\n4864\tHigh\t0.8242348142710594\n4880\tHigh\t0.8875\n4883\tHigh\t1.0\n4886\tHigh\t1.0\n4893\tHigh\t1.0\n4898\tHigh\t1.0\n4910\tHigh\t1.0\n4916\tHigh\t1.0\n4932\tHigh\t1.0\n4939\tHigh\t1.0\n4981\tHigh\t1.0\n4996\tHigh\t1.0\n5000\tHigh\t0.9518586150936713\n5021\tHigh\t0.8748511904761905\n5033\tHigh\t1.0\n5038\tHigh\t1.0\n5048\tHigh\t1.0\n5052\tHigh\t1.0\n5057\tHigh\t1.0\n5080\tHigh\t1.0\n5086\tHigh\t1.0\n5112\tHigh\t0.9670886075949368\n5113\tHigh\t1.0\n5131\tHigh\t0.8229205197190088\n5157\tHigh\t0.9464962202829849\n5171\tHigh\t0.9426645658263306\n5175\tHigh\t1.0\n5184\tHigh\t1.0\n5186\tHigh\t1.0\n5213\tHigh\t0.9911764705882353\n5223\tHigh\t0.9546626180836707\n5231\tHigh\t1.0\n5233\tHigh\t1.0\n5239\tHigh\t1.0\n5245\tHigh\t1.0\n5253\tHigh\t1.0\n5259\tHigh\t1.0\n5264\tHigh\t0.9359962406015038\n5278\tHigh\t1.0\n5294\tHigh\t0.9102678571428571\n5298\tHigh\t1.0\n5311\tHigh\t0.9576719576719576\n5317\tHigh\t1.0\n5332\tHigh\t1.0\n5345\tHigh\t0.9701176470588235\n5349\tHigh\t0.9679354935685132\n5350\tHigh\t1.0\n5361\tHigh\t1.0\n5363\tHigh\t1.0\n5374\tHigh\t0.9938516320474777\n5376\tHigh\t1.0\n5380\tHigh\t0.959490317866277\n5421\tHigh\t0.957857142857143\n5424\tHigh\t1.0\n5429\tHigh\t0.996875\n5442\tHigh\t1.0\n5452\tHigh\t1.0\n5463\tHigh\t1.0\n5464\tHigh\t1.0\n5504\tHigh\t1.0\n5507\tHigh\t0.9542540106951872\n5514\tHigh\t1.0\n5521\tHigh\t0.8341012582189054\n5522\tHigh\t0.5862898735862693\n5538\tHigh\t1.0\n5556\tHigh\t0.6896789180555166\n5564\tHigh\t0.913361720396938\n5580\tHigh\t1.0\n5594\tHigh\t1.0\n5598\tHigh\t1.0\n5601\tHigh\t0.9973684210526315\n5632\tHigh\t0.9181818181818182\n5649\tHigh\t1.0\n5652\tHigh\t0.9846153846153847\n5653\tHigh\t0.9608455882352942\n5669\tHigh\t0.9525\n5679\tHigh\t1.0\n5681\tHigh\t1.0\n5714\tHigh\t0.9236297383909108\n5728\tHigh\t1.0\n5730\tHigh\t0.9075911646633239\n5743\tHigh\t1.0\n5765\tHigh\t1.0\n5766\tHigh\t0.8229205197190088\n5779\tHigh\t1.0\n5810\tHigh\t1.0\n5827\tHigh\t1.0\n5836\tHigh\t0.967741935483871\n5850\tHigh\t1.0\n5851\tHigh\t1.0\n5863\tHigh\t1.0\n5868\tHigh\t1.0\n5888\tHigh\t0.8242348142710594\n5928\tHigh\t0.9679354935685132\n5940\tHigh\t1.0\n5958\tHigh\t0.9014490710471833\n5978\tHigh\t1.0\n5989\tHigh\t1.0\n5994\tHigh\t0.9203258547008547\n5995\tHigh\t0.9007359850294632\n6012\tHigh\t1.0\n6053\tHigh\t1.0\n6061\tHigh\t1.0\n6065\tHigh\t0.5941732306970158\n6079\tHigh\t0.957857142857143\n6084\tHigh\t1.0\n6104\tHigh\t1.0\n6117\tHigh\t0.892862900987901\n6127\tHigh\t1.0\n6140\tHigh\t0.9973684210526315\n6155\tHigh\t1.0\n6161\tHigh\t0.9928571428571429\n6166\tHigh\t1.0\n6209\tHigh\t1.0\n6245\tHigh\t0.7402071371610844\n6278\tHigh\t1.0\n6280\tHigh\t0.9992762364294331\n6284\tHigh\t0.9866666666666667\n6320\tHigh\t0.735007750658017\n6323\tHigh\t1.0\n6340\tHigh\t1.0\n6345\tHigh\t0.9804347826086957\n6353\tHigh\t1.0\n6358\tHigh\t1.0\n6364\tHigh\t0.9554602396514161\n6371\tHigh\t0.8440701785811816\n6372\tHigh\t0.9418586150936713\n6458\tHigh\t1.0\n6494\tHigh\t0.9804347826086957\n6495\tHigh\t1.0\n6509\tHigh\t1.0\n6519\tHigh\t1.0\n6529\tHigh\t0.8630425674543322\n6565\tHigh\t1.0\n6570\tHigh\t1.0\n6574\tHigh\t1.0\n6575\tHigh\t1.0\n6587\tHigh\t1.0\n6608\tHigh\t1.0\n6611\tHigh\t0.7614725635805806\n6620\tHigh\t1.0\n6624\tHigh\t1.0\n6634\tHigh\t1.0\n6638\tHigh\t0.9362226217718209\n6645\tHigh\t0.6359671145972128\n6655\tHigh\t0.9610653817841129\n6657\tHigh\t0.9259126984126983\n6658\tHigh\t1.0\n6664\tHigh\t1.0\n6667\tHigh\t1.0\n6671\tHigh\t0.9212637362637363\n6683\tHigh\t1.0\n6731\tHigh\t1.0\n6739\tHigh\t1.0\n6760\tHigh\t1.0\n6767\tHigh\t0.9177320484507796\n6774\tHigh\t1.0\n6780\tHigh\t1.0\n6792\tHigh\t0.7884159422537057\n6822\tHigh\t1.0\n6826\tHigh\t1.0\n6830\tHigh\t1.0\n6859\tHigh\t0.8520360225005508\n6890\tHigh\t1.0\n6896\tHigh\t1.0\n6907\tHigh\t1.0\n6920\tHigh\t1.0\n6929\tHigh\t0.9202964050575776\n6950\tHigh\t1.0\n6961\tHigh\t1.0\n6965\tHigh\t1.0\n6990\tHigh\t0.6222255639097745\n7009\tHigh\t0.8229205197190088\n7042\tHigh\t1.0\n7045\tHigh\t0.9188955124894107\n7057\tHigh\t1.0\n7062\tHigh\t1.0\n7065\tHigh\t0.8436451824319471\n7089\tHigh\t1.0\n7092\tHigh\t0.7827389267128455\n7107\tHigh\t0.6694503985088366\n7122\tHigh\t1.0\n7129\tHigh\t1.0\n7130\tHigh\t1.0\n7140\tHigh\t0.9412974280621341\n7154\tHigh\t1.0\n7163\tHigh\t0.8981865983809859\n7177\tHigh\t1.0\n7184\tHigh\t1.0\n7188\tHigh\t1.0\n7189\tHigh\t1.0\n7192\tHigh\t1.0\n7198\tHigh\t0.9642857142857142\n7199\tHigh\t0.94968487394958\n7202\tHigh\t1.0\n7209\tHigh\t0.9956081081081081\n7220\tHigh\t0.9607142857142857\n7235\tHigh\t0.9804347826086957\n7248\tHigh\t0.9672077922077922\n7251\tHigh\t0.96875\n7254\tHigh\t1.0\n7269\tHigh\t0.8883438134359707\n7272\tHigh\t0.9931818181818182\n7282\tHigh\t1.0\n7283\tHigh\t0.9857142857142858\n7285\tHigh\t0.724323701991315\n7290\tHigh\t1.0\n7292\tHigh\t0.8870906177156176\n7303\tHigh\t0.6665518341307816\n7304\tHigh\t0.9940000000000001\n7312\tHigh\t1.0\n7316\tHigh\t1.0\n7318\tHigh\t1.0\n7319\tHigh\t1.0\n7323\tHigh\t1.0\n7333\tHigh\t1.0\n7342\tHigh\t1.0\n7345\tHigh\t1.0\n7353\tHigh\t1.0\n7358\tHigh\t0.776524426259269\n7362\tHigh\t0.9985915492957746\n7363\tHigh\t0.996875\n7366\tHigh\t1.0\n7371\tHigh\t0.8057397660775563\n7402\tHigh\t1.0\n7408\tHigh\t1.0\n7444\tHigh\t1.0\n7446\tHigh\t0.9892857142857142\n7460\tHigh\t0.8229205197190088\n7462\tHigh\t0.8492702232408116\n7465\tHigh\t1.0\n7481\tHigh\t1.0\n7486\tHigh\t1.0\n7492\tHigh\t1.0\n7507\tHigh\t1.0\n7509\tHigh\t1.0\n7525\tHigh\t1.0\n7553\tHigh\t1.0\n7561\tHigh\t0.8333056600335628\n7574\tHigh\t0.8234802371541502\n7582\tHigh\t1.0\n7587\tHigh\t1.0\n7590\tHigh\t0.8330636915619385\n7596\tHigh\t1.0\n7631\tHigh\t1.0\n7638\tHigh\t0.9697179487179486\n7640\tHigh\t1.0\n7652\tHigh\t0.9642857142857142\n7668\tHigh\t0.9489583333333333\n7682\tHigh\t1.0\n7686\tHigh\t1.0\n7704\tHigh\t1.0\n7707\tHigh\t0.9734265734265733\n7712\tHigh\t0.996875\n7721\tHigh\t0.9705882352941178\n7734\tHigh\t0.9136661255411255\n7735\tHigh\t1.0\n7740\tHigh\t1.0\n7752\tHigh\t1.0\n7774\tHigh\t1.0\n7778\tHigh\t1.0\n7784\tHigh\t1.0\n7803\tHigh\t0.9655631026457037\n7850\tHigh\t0.9825925925925926\n7864\tHigh\t0.5537553122812209\n7886\tHigh\t1.0\n7917\tHigh\t1.0\n7927\tHigh\t1.0\n7929\tHigh\t0.9610653817841129\n7933\tHigh\t0.8395892857142856\n7954\tHigh\t1.0\n7957\tHigh\t0.8068751044395961\n7960\tHigh\t1.0\n7969\tHigh\t1.0\n7977\tHigh\t0.869659381539177\n8014\tHigh\t1.0\n8015\tHigh\t1.0\n8043\tHigh\t1.0\n8066\tHigh\t0.9058298319327733\n8070\tHigh\t1.0\n8085\tHigh\t1.0\n8087\tHigh\t1.0\n8088\tHigh\t0.9931818181818182\n8097\tHigh\t0.7876776224727221\n8110\tHigh\t0.6235889977468925\n8121\tHigh\t0.9642857142857142\n8122\tHigh\t0.807727711425209\n8127\tHigh\t0.9964285714285716\n8136\tHigh\t0.9050420168067227\n8153\tHigh\t0.9679354935685132\n8164\tHigh\t1.0\n8168\tHigh\t1.0\n8169\tHigh\t1.0\n8201\tHigh\t0.9763636363636363\n8227\tHigh\t0.7900419393785238\n8230\tHigh\t1.0\n8234\tHigh\t1.0\n8245\tHigh\t0.6456828693691323\n8248\tHigh\t1.0\n8254\tHigh\t1.0\n8262\tHigh\t0.9526610644257703\n8274\tHigh\t0.9804347826086957\n8275\tHigh\t0.9444805194805195\n8305\tHigh\t0.9518586150936713\n8316\tHigh\t1.0\n8323\tHigh\t1.0\n8339\tHigh\t1.0\n8340\tHigh\t1.0\n8357\tHigh\t1.0\n8362\tHigh\t0.9964285714285716\n8363\tHigh\t0.9334117647058824\n8365\tHigh\t0.950402576489533\n8370\tHigh\t1.0\n8373\tHigh\t1.0\n8378\tHigh\t1.0\n8382\tHigh\t0.6623474953799827\n8400\tHigh\t1.0\n8408\tHigh\t1.0\n8471\tHigh\t0.6026954551022479\n8476\tHigh\t0.9846153846153847\n8479\tHigh\t1.0\n8485\tHigh\t1.0\n8518\tHigh\t1.0\n8539\tHigh\t0.9372558579745892\n8552\tHigh\t1.0\n8585\tHigh\t1.0\n8590\tHigh\t1.0\n8618\tHigh\t1.0\n8682\tHigh\t1.0\n8683\tHigh\t1.0\n8684\tHigh\t1.0\n8686\tHigh\t1.0\n8697\tHigh\t0.8438183686976437\n8708\tHigh\t0.9392857142857143\n8723\tHigh\t0.9678571428571429\n8761\tHigh\t1.0\n8762\tHigh\t0.8850098741837874\n8774\tHigh\t0.9495238095238095\n8800\tHigh\t1.0\n8802\tHigh\t0.9547619047619047\n8809\tHigh\t1.0\n8814\tHigh\t0.9506907894736842\n8819\tHigh\t0.9833874458874459\n8830\tHigh\t1.0\n8867\tHigh\t1.0\n8871\tHigh\t1.0\n8875\tHigh\t0.8036281969309463\n8887\tHigh\t0.7950524296675192\n8893\tHigh\t1.0\n8902\tHigh\t1.0\n8934\tHigh\t1.0\n8946\tHigh\t0.9193163398936802\n8987\tHigh\t1.0\n8997\tHigh\t1.0\n9006\tHigh\t0.9078070622188269\n9016\tHigh\t0.8847479581842382\n9040\tHigh\t1.0\n9043\tHigh\t1.0\n9058\tHigh\t0.9610653817841129\n9060\tHigh\t1.0\n9066\tHigh\t1.0\n9068\tHigh\t1.0\n9084\tHigh\t1.0\n9095\tHigh\t0.9732142857142858\n9108\tHigh\t1.0\n9150\tHigh\t1.0\n9151\tHigh\t1.0\n9162\tHigh\t0.9732919254658385\n9173\tHigh\t1.0\n9194\tHigh\t1.0\n9210\tHigh\t1.0\n9234\tHigh\t0.9552631578947368\n9238\tHigh\t1.0\n9240\tHigh\t0.9548309178743961\n9253\tHigh\t0.9928571428571429\n9257\tHigh\t1.0\n9264\tHigh\t0.740373235251599\n9300\tHigh\t0.9223474330661642\n9321\tHigh\t1.0\n9330\tHigh\t0.99\n9350\tHigh\t0.9403846153846154\n9380\tHigh\t0.9964285714285716\n9391\tHigh\t0.8719553663570693\n9407\tHigh\t1.0\n9414\tHigh\t1.0\n9500\tHigh\t0.7917452182118379\n9503\tHigh\t1.0\n9514\tHigh\t1.0\n9530\tHigh\t1.0\n9538\tHigh\t1.0\n9539\tHigh\t0.6872371140620427\n9570\tHigh\t0.8552919254658387\n9607\tHigh\t1.0\n9610\tHigh\t0.9866666666666667\n9622\tHigh\t0.6022120296878832\n9625\tHigh\t1.0\n9634\tHigh\t1.0\n9644\tHigh\t1.0\n9661\tHigh\t1.0\n9670\tHigh\t0.822698757763975\n9676\tHigh\t1.0\n9703\tHigh\t0.9727443609022556\n9704\tHigh\t0.773407736590131\n9710\tHigh\t0.9485576923076924\n9718\tHigh\t1.0\n9720\tHigh\t1.0\n9748\tHigh\t0.834282206183909\n9755\tHigh\t1.0\n9776\tHigh\t1.0\n9787\tHigh\t0.82075697104702\n9796\tHigh\t1.0\n9801\tHigh\t0.9571428571428571\n9806\tHigh\t0.968421052631579\n9813\tHigh\t1.0\n9847\tHigh\t0.9330065359477124\n9860\tHigh\t1.0\n9865\tHigh\t0.9928571428571429\n9866\tHigh\t0.6757733037659508\n9867\tHigh\t1.0\n9888\tHigh\t1.0\n9889\tHigh\t0.5877136217814664\n9906\tHigh\t0.8188746682883679\n9911\tHigh\t1.0\n9920\tHigh\t1.0\n9923\tHigh\t1.0\n9927\tHigh\t1.0\n9951\tHigh\t1.0\n9956\tHigh\t1.0\n9982\tHigh\t0.9505115089514067\n9983\tHigh\t0.9928571428571429\n10009\tHigh\t0.9708333333333332\n10044\tHigh\t0.7350606639270109\n10071\tHigh\t0.8229205197190088\n10077\tHigh\t1.0\n10094\tHigh\t1.0\n10096\tHigh\t1.0\n10099\tHigh\t1.0\n10101\tHigh\t0.9341386554621849\n10102\tHigh\t1.0\n10108\tHigh\t0.9761904761904763\n10138\tHigh\t1.0\n10148\tHigh\t0.9800000000000001\n10176\tHigh\t0.7649986342633401\n10186\tHigh\t0.9785714285714284\n10195\tHigh\t1.0\n10201\tHigh\t1.0\n10218\tHigh\t1.0\n10220\tHigh\t1.0\n10230\tHigh\t1.0\n10235\tHigh\t0.8683066489285849\n10287\tHigh\t0.9385843587472262\n10314\tHigh\t0.8992653316112499\n10317\tHigh\t1.0\n10325\tHigh\t0.8703223134031809\n10346\tHigh\t0.9804347826086957\n10377\tHigh\t1.0\n10384\tHigh\t1.0\n10409\tHigh\t1.0\n10424\tHigh\t0.4990315830412694\n10435\tHigh\t1.0\n10440\tHigh\t0.8242348142710594\n10459\tHigh\t0.955944055944056\n10469\tHigh\t1.0\n10490\tHigh\t1.0\n10495\tHigh\t1.0\n10498\tHigh\t0.8269553663570692\n10504\tHigh\t1.0\n10542\tHigh\t1.0\n10544\tHigh\t0.9468378404708282\n10565\tHigh\t1.0\n10572\tHigh\t1.0\n10579\tHigh\t1.0\n10613\tHigh\t1.0\n10637\tHigh\t1.0\n10648\tHigh\t1.0\n10659\tHigh\t1.0\n10661\tHigh\t1.0\n10666\tHigh\t0.9565611674974477\n10682\tHigh\t1.0\n10685\tHigh\t1.0\n10706\tHigh\t1.0\n10725\tHigh\t1.0\n10738\tHigh\t1.0\n10748\tHigh\t0.6598120961788165\n10758\tHigh\t0.9403676470588236\n10760\tHigh\t0.9838945827232797\n10766\tHigh\t1.0\n10772\tHigh\t1.0\n10793\tHigh\t0.6471555258467023\n10794\tHigh\t1.0\n10796\tHigh\t0.961111111111111\n10805\tHigh\t1.0\n10826\tHigh\t0.95\n10844\tHigh\t0.9686363636363637\n10862\tHigh\t1.0\n10864\tHigh\t1.0\n10869\tHigh\t1.0\n10897\tHigh\t0.9236297383909108\n10901\tHigh\t1.0\n10902\tHigh\t1.0\n10909\tHigh\t0.7664484865340316\n10911\tHigh\t0.9973684210526315\n10925\tHigh\t0.9925925925925926\n10950\tHigh\t1.0\n10964\tHigh\t1.0\n10966\tHigh\t0.6026691839310969\n10971\tHigh\t1.0\n10997\tHigh\t1.0\n11015\tHigh\t1.0\n11021\tHigh\t1.0\n11025\tHigh\t0.9853107344632768\n11030\tHigh\t0.9763157894736842\n11031\tHigh\t1.0\n11049\tHigh\t1.0\n11083\tHigh\t0.9501096491228072\n11088\tHigh\t0.966\n11100\tHigh\t1.0\n11106\tHigh\t0.9354617604617605\n11118\tHigh\t1.0\n11120\tHigh\t1.0\n11140\tHigh\t1.0\n11155\tHigh\t0.865671572669169\n11175\tHigh\t1.0\n11183\tHigh\t0.97\n11187\tHigh\t0.6071140824137375\n11190\tHigh\t1.0\n11239\tHigh\t1.0\n11243\tHigh\t0.9986301369863014\n11255\tHigh\t0.9636904761904763\n11258\tHigh\t1.0\n11270\tHigh\t1.0\n11273\tHigh\t0.6924526143938262\n11274\tHigh\t0.8462186546238053\n11293\tHigh\t0.892727856830656\n11295\tHigh\t1.0\n11306\tHigh\t1.0\n11307\tHigh\t1.0\n11326\tHigh\t1.0\n11333\tHigh\t1.0\n11348\tHigh\t0.9572549019607843\n11362\tHigh\t0.9804347826086957\n11379\tHigh\t0.9091429165799875\n11389\tHigh\t0.6148865864527628\n11393\tHigh\t1.0\n11419\tHigh\t1.0\n11438\tHigh\t0.760989138166216\n11444\tHigh\t1.0\n11449\tHigh\t0.9973684210526315\n11456\tHigh\t0.9642857142857142\n11459\tHigh\t1.0\n11461\tHigh\t0.9766666666666666\n11477\tHigh\t0.9601851851851851\n11480\tHigh\t1.0\n11489\tHigh\t0.9911764705882353\n11491\tHigh\t1.0\n11553\tHigh\t0.9188955124894107\n11559\tHigh\t1.0\n11560\tHigh\t1.0\n11565\tHigh\t1.0\n11567\tHigh\t1.0\n11568\tHigh\t1.0\n11586\tHigh\t1.0\n11615\tHigh\t1.0\n11625\tHigh\t1.0\n11627\tHigh\t1.0\n11633\tHigh\t0.8229205197190088\n11639\tHigh\t1.0\n11647\tHigh\t1.0\n11663\tHigh\t1.0\n11667\tHigh\t1.0\n11670\tHigh\t0.9571014492753622\n11726\tHigh\t1.0\n11735\tHigh\t1.0\n11740\tHigh\t0.9610653817841129\n11779\tHigh\t1.0\n11794\tHigh\t1.0\n11819\tHigh\t1.0\n11839\tHigh\t0.9804347826086957\n11911\tHigh\t0.9771014492753624\n11913\tHigh\t0.9928571428571429\n11920\tHigh\t1.0\n11950\tHigh\t1.0\n11957\tHigh\t1.0\n11963\tHigh\t1.0\n11971\tHigh\t1.0\n11990\tHigh\t1.0\n11997\tHigh\t1.0\n12003\tHigh\t1.0\n"}]},"jobName":"paragraph_1553287941788_67947268","id":"20190322-205221_772599481","dateCreated":"2019-03-22T20:52:21+0000","dateStarted":"2019-03-27T18:32:46+0000","dateFinished":"2019-03-27T18:32:50+0000","status":"FINISHED","progressUpdateIntervalMs":500,"commited":true,"$$hashKey":"object:8303"},{"title":"STEP 6: Get the statistics to check the quality of the model","text":"\n","user":"DHVANI","dateUpdated":"2019-03-28T19:51:14+0000","config":{"colWidth":12,"enabled":true,"results":{},"editorSetting":{"language":"sql","editOnDblClick":false},"editorMode":"ace/mode/osql","title":true,"editorHide":true},"settings":{"params":{},"forms":{}},"jobName":"paragraph_1553802264321_-128248503","id":"20190328-194424_1716795375","dateCreated":"2019-03-28T19:44:24+0000","status":"READY","progressUpdateIntervalMs":500,"commited":false,"$$hashKey":"object:8304"},{"title":"Accuracy","text":"%script\nBEGIN EXECUTE IMMEDIATE 'DROP TABLE ltv_bin_rf_confusion_matrix';\nEXCEPTION WHEN OTHERS THEN NULL; END;\n/\nDECLARE\n v_accuracy NUMBER;\nBEGIN\n DBMS_DATA_MINING.COMPUTE_CONFUSION_MATRIX (\n accuracy => v_accuracy,\n apply_result_table_name => 'N1_APPLY_RESULT_RF',\n target_table_name => 'N1_TEST_DATA_LTV',\n case_id_column_name => 'customer_id',\n target_column_name => 'lifetime_value_category',\n confusion_matrix_table_name => 'ltv_bin_rf_confusion_matrix',\n score_column_name => 'PREDICTION',\n score_criterion_column_name => 'PROBABILITY',\n score_criterion_type => 'PROBABILITY');\n DBMS_OUTPUT.PUT_LINE('**** MODEL ACCURACY ****: ' || ROUND(v_accuracy * 100,4));\nEND;\n/\n\n","user":"DHVANI","dateUpdated":"2019-03-28T19:52:43+0000","config":{"colWidth":12,"enabled":true,"results":{},"editorSetting":{"language":"plsql","editOnDblClick":false},"editorMode":"ace/mode/plsql","title":true},"settings":{"params":{},"forms":{}},"results":{"code":"SUCCESS","msg":[{"type":"TEXT","data":"\nPL/SQL procedure successfully completed.\n\n\n---------------------------\n**** MODEL ACCURACY ****: 98.8388\n\n\nPL/SQL procedure successfully completed.\n\n\n---------------------------\n"}]},"jobName":"paragraph_1553278916088_-1738237789","id":"20190322-182156_1723169608","dateCreated":"2019-03-22T18:21:56+0000","dateStarted":"2019-03-22T18:26:02+0000","dateFinished":"2019-03-22T18:26:05+0000","status":"FINISHED","progressUpdateIntervalMs":500,"commited":true,"$$hashKey":"object:8305"},{"title":"Actual vs Predicted","text":"%sql\n/* We want actual_target_vale as rows and predicted_target_value as column and then value as metric */\nselect * from (\n select actual_target_value, predicted_target_value, value \n from ltv_bin_rf_confusion_matrix) m\npivot ( \n max(value)\n for predicted_target_value in ( 'Low' \"Predicted LOW\", 'Medium' \"Predicted MEDIUM\", 'High' \"Predicted HIGH\")\n)\norder by actual_target_value;","user":"DHVANI","dateUpdated":"2019-03-28T19:55:31+0000","config":{"colWidth":12,"enabled":true,"results":{"0":{"graph":{"mode":"table","height":134,"optionOpen":false}}},"editorSetting":{"language":"sql","editOnDblClick":false},"editorMode":"ace/mode/osql","title":true},"settings":{"params":{},"forms":{}},"results":{"code":"SUCCESS","msg":[{"type":"TABLE","data":"ACTUAL_TARGET_VALUE\tPredicted LOW\tPredicted MEDIUM\tPredicted HIGH\nHigh\t\t200\t8384\nLow\t14212\t138\t\nMedium\t77\t16049\t39\n"}]},"jobName":"paragraph_1553279062915_-186363229","id":"20190322-182422_424358037","dateCreated":"2019-03-22T18:24:22+0000","dateStarted":"2019-03-22T18:26:19+0000","dateFinished":"2019-03-22T18:26:20+0000","status":"FINISHED","progressUpdateIntervalMs":500,"commited":true,"$$hashKey":"object:8306"},{"title":"Average Accuracy and Predictive Confidence","text":"%sql\n WITH\n a as\n (SELECT a.actual_target_value, sum(a.value) recall_total\n FROM ltv_bin_rf_confusion_matrix a\n group by a.actual_target_value)\n ,\n b as\n (SELECT count(distinct b.actual_target_value) num_recalls\n FROM ltv_bin_rf_confusion_matrix b)\n ,\n c as\n (SELECT c.actual_target_value, value\n FROM ltv_bin_rf_confusion_matrix c\n WHERE actual_target_value = predicted_target_value)\n ,\n d as\n (SELECT NVL(sum(c.value/a.recall_total), 0) tot_accuracy\n FROM a, c\n WHERE a.actual_target_value = c.actual_target_value(+))\n SELECT \n ROUND(d.tot_accuracy/GREATEST(0.0001, b.num_recalls) * 100, 4) as avg_accuracy,\n ROUND(GREATEST(0, ((1 - (1 - d.tot_accuracy/GREATEST(0.0001, b.num_recalls)) / GREATEST(0.0001, ((b.num_recalls-1)/GREATEST(0.0001, b.num_recalls)))) * 100)), 4) as predictive_confidence\n FROM b, d;","user":"DHVANI","dateUpdated":"2019-03-28T19:55:25+0000","config":{"colWidth":12,"enabled":true,"results":{"0":{"graph":{"mode":"table","height":84,"optionOpen":false}}},"editorSetting":{"language":"sql","editOnDblClick":false},"editorMode":"ace/mode/osql","title":true},"settings":{"params":{},"forms":{}},"results":{"code":"SUCCESS","msg":[{"type":"TABLE","data":"AVG_ACCURACY\tPREDICTIVE_CONFIDENCE\n98.6636\t97.9954\n"}]},"jobName":"paragraph_1553279059569_1959396711","id":"20190322-182419_791885827","dateCreated":"2019-03-22T18:24:19+0000","dateStarted":"2019-03-22T18:27:27+0000","dateFinished":"2019-03-22T18:27:27+0000","status":"FINISHED","progressUpdateIntervalMs":500,"commited":true,"$$hashKey":"object:8307"},{"title":"STEP 7: Attribute Importance","text":"%script\n/* Check which atttributes are important for LIFETIME_VALUE_CATEGORY */\nDECLARE\nv_sql varchar2(100);\n\nBEGIN\n\nBEGIN EXECUTE IMMEDIATE 'DROP TABLE ai_explain_ltv';\nEXCEPTION WHEN OTHERS THEN NULL; \nEND;\n\nBEGIN\n DBMS_PREDICTIVE_ANALYTICS.EXPLAIN(\n data_table_name => 'PREDICT_LTV_BIN',\n explain_column_name => 'LIFETIME_VALUE_CATEGORY',\n result_table_name => 'ai_explain_ltv');\nEND;\n\nEnd;\n","user":"DHVANI","dateUpdated":"2019-04-09T19:29:39+0000","config":{"colWidth":12,"enabled":true,"results":{},"editorSetting":{"language":"plsql","editOnDblClick":false},"editorMode":"ace/mode/plsql","title":true},"settings":{"params":{},"forms":{}},"results":{"code":"SUCCESS","msg":[{"type":"TEXT","data":"\nPL/SQL procedure successfully completed.\n\n"}]},"jobName":"paragraph_1553802777743_-1771190892","id":"20190328-195257_334762647","dateCreated":"2019-03-28T19:52:57+0000","dateStarted":"2019-04-09T19:29:39+0000","dateFinished":"2019-04-09T19:30:54+0000","status":"FINISHED","progressUpdateIntervalMs":500,"commited":true,"$$hashKey":"object:8308"},{"title":"Attributes in order of importance","text":"%sql\nSELECT attribute_name, explanatory_value, rank\n FROM ai_explain_ltv\n ORDER BY rank, attribute_name;","user":"DHVANI","dateUpdated":"2019-04-09T19:31:24+0000","config":{"colWidth":12,"enabled":true,"results":{},"editorSetting":{"language":"sql","editOnDblClick":false},"editorMode":"ace/mode/osql","title":true},"settings":{"params":{},"forms":{}},"jobName":"paragraph_1553802960939_-1525996929","id":"20190328-195600_506209790","dateCreated":"2019-03-28T19:56:00+0000","dateStarted":"2019-04-09T19:31:24+0000","dateFinished":"2019-04-09T19:31:24+0000","status":"FINISHED","progressUpdateIntervalMs":500,"commited":true,"$$hashKey":"object:8309","errorMessage":""},{"title":"Graph the top 7 attributes that most highly influence LIFETIME_VALUE_CATEGORY","text":"%sql\n\n/* Attribute_Name (Keys), nothing in Groups, Explanatory_Value (Sum) (Values) */\nSELECT attribute_name, explanatory_value, rank\n FROM ai_explain_ltv\n where rownum < 8\n ORDER BY rank, attribute_name;\n","user":"DHVANI","dateUpdated":"2019-04-09T13:10:24+0000","config":{"colWidth":12,"enabled":true,"results":{"0":{"graph":{"mode":"multiBarChart","height":300,"optionOpen":false},"helium":{}}},"editorSetting":{"language":"sql","editOnDblClick":false},"editorMode":"ace/mode/osql","title":true},"settings":{"params":{},"forms":{}},"jobName":"paragraph_1553803022250_2137243845","id":"20190328-195702_174138763","dateCreated":"2019-03-28T19:57:02+0000","dateStarted":"2019-03-28T19:57:30+0000","dateFinished":"2019-03-28T19:57:30+0000","status":"FINISHED","progressUpdateIntervalMs":500,"commited":true,"$$hashKey":"object:8310","errorMessage":""},{"title":"STEP 8: For High/Medium/Low customers predicted, see the distribution of attributes","text":"","user":"DHVANI","dateUpdated":"2019-03-28T20:22:58+0000","config":{"colWidth":12,"enabled":true,"results":{},"editorSetting":{"language":"sql","editOnDblClick":false},"editorMode":"ace/mode/osql","title":true,"editorHide":true},"settings":{"params":{},"forms":{}},"jobName":"paragraph_1553804482528_1715472039","id":"20190328-202122_1263487911","dateCreated":"2019-03-28T20:21:22+0000","status":"READY","progressUpdateIntervalMs":500,"commited":false,"$$hashKey":"object:8311"},{"title":"For High/Medium/Low Value Customers predicted, see the distribution of Marital Status","text":"%sql\nselect * from predict_ltv_bin where customer_id IN (select customer_id from ltv_bin_apply_data_v_rf where PROBABILITY IN (select MAX(PROBABILITY) from ltv_bin_apply_data_v_rf group by CUSTOMER_ID) and PREDICTION = ${PREDICTION='High', 'High'|'Medium'|'Low'});","user":"DHVANI","dateUpdated":"2019-03-28T20:35:04+0000","config":{"colWidth":6,"enabled":true,"results":{"0":{"graph":{"mode":"multiBarChart","height":300,"optionOpen":false,"setting":{"multiBarChart":{}},"commonSetting":{},"keys":[{"name":"MARITAL_STATUS","index":3,"aggr":"sum"}],"groups":[],"values":[{"name":"CUSTOMER_ID","index":0,"aggr":"count"}]},"helium":{}}},"editorSetting":{"language":"sql","editOnDblClick":false},"editorMode":"ace/mode/osql","title":true,"runOnSelectionChange":true},"settings":{"params":{"PREDICTION":" 'High'"},"forms":{"PREDICTION":{"name":"PREDICTION","defaultValue":"'High'","options":[{"value":" 'High'","$$hashKey":"object:16741"},{"value":"'Medium'","$$hashKey":"object:16742"},{"value":"'Low'","$$hashKey":"object:16743"}],"hidden":false,"$$hashKey":"object:16734"}}},"jobName":"paragraph_1553532256660_-2111959083","id":"20190325-164416_1342790237","dateCreated":"2019-03-25T16:44:16+0000","dateStarted":"2019-03-28T20:24:29+0000","dateFinished":"2019-03-28T20:24:34+0000","status":"FINISHED","progressUpdateIntervalMs":500,"commited":true,"$$hashKey":"object:8312","errorMessage":""},{"title":"For High/Medium/Low Value Customers predicted, see the distribution of Wealth","text":"%sql\nselect * from predict_ltv_bin where customer_id IN (select customer_id from ltv_bin_apply_data_v_rf where PROBABILITY IN (select MAX(PROBABILITY) from ltv_bin_apply_data_v_rf group by CUSTOMER_ID) and PREDICTION = ${PREDICTION='High', 'High'|'Medium'|'Low'}); ","user":"DHVANI","dateUpdated":"2019-04-03T14:07:56+0000","config":{"colWidth":6,"enabled":true,"results":{"0":{"graph":{"mode":"multiBarChart","height":302,"optionOpen":false,"setting":{"multiBarChart":{}},"commonSetting":{},"keys":[{"name":"WEALTH","index":5,"aggr":"sum"}],"groups":[],"values":[{"name":"CUSTOMER_ID","index":0,"aggr":"count"}]},"helium":{}}},"editorSetting":{"language":"sql","editOnDblClick":false},"editorMode":"ace/mode/osql","title":true,"runOnSelectionChange":true,"editorHide":false},"settings":{"params":{"PREDICTION":" 'High'"},"forms":{"PREDICTION":{"name":"PREDICTION","defaultValue":"'High'","options":[{"value":" 'High'","$$hashKey":"object:16757"},{"value":"'Medium'","$$hashKey":"object:16758"},{"value":"'Low'","$$hashKey":"object:16759"}],"hidden":false,"$$hashKey":"object:16750"}}},"jobName":"paragraph_1553711811159_1107192242","id":"20190327-183651_1279535721","dateCreated":"2019-03-27T18:36:51+0000","dateStarted":"2019-03-28T20:32:42+0000","dateFinished":"2019-03-28T20:32:47+0000","status":"FINISHED","progressUpdateIntervalMs":500,"commited":true,"$$hashKey":"object:8313","errorMessage":""},{"title":"For High Value Customers predicted, see the distribution of Highest Credit Card Limit","text":"%sql\nselect * from predict_ltv_bin where customer_id IN (select customer_id from ltv_bin_apply_data_v_rf where PROBABILITY IN (select MAX(PROBABILITY) from ltv_bin_apply_data_v_rf group by CUSTOMER_ID) and PREDICTION='High'); ","user":"DHVANI","dateUpdated":"2019-04-10T16:58:20+0000","config":{"colWidth":6,"enabled":true,"results":{"0":{"graph":{"mode":"pieChart","height":300,"optionOpen":false,"setting":{"multiBarChart":{"stacked":false}},"commonSetting":{},"keys":[{"name":"HIGHEST_CREDIT_CARD_LIMIT","index":31,"aggr":"sum"}],"groups":[],"values":[{"name":"CUSTOMER_ID","index":0,"aggr":"count"}]},"helium":{}}},"editorSetting":{"language":"sql","editOnDblClick":false},"editorMode":"ace/mode/osql","title":true},"settings":{"params":{},"forms":{}},"jobName":"paragraph_1553616854180_-135857020","id":"20190326-161414_604610383","dateCreated":"2019-03-26T16:14:14+0000","dateStarted":"2019-03-26T19:22:08+0000","dateFinished":"2019-03-26T19:22:14+0000","status":"FINISHED","progressUpdateIntervalMs":500,"commited":true,"$$hashKey":"object:8314","errorMessage":""},{"title":"For High Value Customers predicted, see the distribution of Education Level","text":"%sql\nselect * from predict_ltv_bin where customer_id IN (select customer_id from ltv_bin_apply_data_v_rf where PROBABILITY IN (select MAX(PROBABILITY) from ltv_bin_apply_data_v_rf group by CUSTOMER_ID) and PREDICTION='High'); ","user":"DHVANI","dateUpdated":"2019-03-28T20:38:10+0000","config":{"colWidth":6,"enabled":true,"results":{"0":{"graph":{"mode":"pieChart","height":300,"optionOpen":false,"setting":{"multiBarChart":{"stacked":false},"pieChart":{}},"commonSetting":{},"keys":[{"name":"EDUCATION_LEVEL","index":6,"aggr":"sum"}],"groups":[],"values":[{"name":"CUSTOMER_ID","index":0,"aggr":"count"}]},"helium":{}}},"editorSetting":{"language":"sql","editOnDblClick":false},"editorMode":"ace/mode/osql","editorHide":false,"title":true},"settings":{"params":{},"forms":{}},"jobName":"paragraph_1553712188165_46977516","id":"20190327-184308_795961587","dateCreated":"2019-03-27T18:43:08+0000","dateStarted":"2019-03-27T18:43:12+0000","dateFinished":"2019-03-27T18:43:17+0000","status":"FINISHED","progressUpdateIntervalMs":500,"commited":true,"$$hashKey":"object:8315","errorMessage":""},{"title":"For High Value Customers predicted, see the distribution of Facebook Influence Score","text":"%sql\nselect * from predict_ltv_bin where customer_id IN (select customer_id from ltv_bin_apply_data_v_rf where PROBABILITY IN (select MAX(PROBABILITY) from ltv_bin_apply_data_v_rf group by CUSTOMER_ID) and PREDICTION='High'); ","user":"DHVANI","dateUpdated":"2019-03-28T20:46:37+0000","config":{"colWidth":12,"enabled":true,"results":{"0":{"graph":{"mode":"multiBarChart","height":300,"optionOpen":false,"setting":{"multiBarChart":{}},"commonSetting":{},"keys":[{"name":"FACEBOOK_INFLUENCE_SCORE","index":58,"aggr":"sum"}],"groups":[],"values":[{"name":"CUSTOMER_ID","index":0,"aggr":"count"}]},"helium":{}}},"editorSetting":{"language":"sql","editOnDblClick":false},"editorMode":"ace/mode/osql","title":true},"settings":{"params":{},"forms":{}},"jobName":"paragraph_1553628128643_-1508235868","id":"20190326-192208_1525229042","dateCreated":"2019-03-26T19:22:08+0000","dateStarted":"2019-03-26T19:22:23+0000","dateFinished":"2019-03-26T19:22:28+0000","status":"FINISHED","progressUpdateIntervalMs":500,"commited":true,"$$hashKey":"object:8316","errorMessage":""},{"title":"STEP 9a: Create apply data","text":"/* For simplicity, we copy the original dataset and give it a new name */\n%sql\nCREATE TABLE credit_scoring_100k_ltv AS (SELECT * FROM charlie.credit_scoring_100k);","user":"DHVANI","dateUpdated":"2019-04-03T14:39:59+0000","config":{"colWidth":12,"enabled":true,"results":{},"editorSetting":{"language":"sql","editOnDblClick":false},"editorMode":"ace/mode/osql","title":true},"settings":{"params":{},"forms":{}},"jobName":"paragraph_1554302136918_-1435257044","id":"20190403-143536_1029038530","dateCreated":"2019-04-03T14:35:36+0000","status":"READY","progressUpdateIntervalMs":500,"commited":false,"$$hashKey":"object:8317"},{"title":"STEP 9b: Run Random Forest on new customer data","text":"%script\nBEGIN EXECUTE IMMEDIATE 'DROP VIEW credit_scoring_100k_apply_data_v_rf';\nEXCEPTION WHEN OTHERS THEN NULL; END;\n/\nCREATE VIEW credit_scoring_100k_apply_data_v_rf\nAS \nSELECT \n\"CUSTOMER_ID\", t.* FROM credit_scoring_100k_ltv s, TABLE(PREDICTION_SET(RF_MLS_LTV_BIN USING *)) t;","user":"DHVANI","dateUpdated":"2019-04-03T14:38:45+0000","config":{"colWidth":12,"enabled":true,"results":{},"editorSetting":{"language":"plsql","editOnDblClick":false},"editorMode":"ace/mode/plsql","title":true},"settings":{"params":{},"forms":{}},"results":{"code":"SUCCESS","msg":[{"type":"TEXT","data":"\nPL/SQL procedure successfully completed.\n\n\n---------------------------\n\nView CREDIT_SCORING_100K_APPLY_DATA_V_RF created.\n\n\n---------------------------\n"}]},"jobName":"paragraph_1553806012713_-1786654548","id":"20190328-204652_1977566631","dateCreated":"2019-03-28T20:46:52+0000","dateStarted":"2019-03-29T18:22:52+0000","dateFinished":"2019-03-29T18:22:52+0000","status":"FINISHED","progressUpdateIntervalMs":500,"commited":true,"$$hashKey":"object:8318"},{"title":"Predicted values","text":"%sql\nselect * from credit_scoring_100k_apply_data_v_rf;\n","user":"DHVANI","dateUpdated":"2019-03-29T18:22:56+0000","config":{"colWidth":12,"enabled":true,"results":{},"editorSetting":{"language":"sql","editOnDblClick":false},"editorMode":"ace/mode/osql","title":true},"settings":{"params":{},"forms":{}},"jobName":"paragraph_1553806344907_-1389490226","id":"20190328-205224_1224635604","dateCreated":"2019-03-28T20:52:24+0000","dateStarted":"2019-03-29T18:22:56+0000","dateFinished":"2019-03-29T18:22:56+0000","status":"FINISHED","progressUpdateIntervalMs":500,"commited":true,"$$hashKey":"object:8319","errorMessage":""},{"title":"Assign Prediction based on highest likelihood","text":"%sql\nselect customer_id, PREDICTION, PROBABILITY from credit_scoring_100k_apply_data_v_rf where PROBABILITY IN (select MAX(PROBABILITY) from credit_scoring_100k_apply_data_v_rf group by CUSTOMER_ID) and PREDICTION = ${PREDICTION='High', 'High'|'Medium'|'Low'} order by PROBABILITY desc;","user":"DHVANI","dateUpdated":"2019-04-11T19:25:05+0000","config":{"colWidth":12,"enabled":true,"results":{"0":{"graph":{"mode":"table","height":300,"optionOpen":false},"helium":{}}},"editorSetting":{"language":"sql","editOnDblClick":false},"editorMode":"ace/mode/osql","runOnSelectionChange":true,"title":true},"settings":{"params":{"PREDICTION":" 'High'"},"forms":{"PREDICTION":{"name":"PREDICTION","defaultValue":"'High'","options":[{"value":" 'High'","$$hashKey":"object:16702"},{"value":"'Medium'","$$hashKey":"object:16703"},{"value":"'Low'","$$hashKey":"object:16704"}],"hidden":false,"$$hashKey":"object:16695"}}},"jobName":"paragraph_1553806368522_-1354078003","id":"20190328-205248_151626509","dateCreated":"2019-03-28T20:52:48+0000","dateStarted":"2019-03-28T20:56:47+0000","dateFinished":"2019-03-28T20:56:53+0000","status":"FINISHED","progressUpdateIntervalMs":500,"commited":true,"$$hashKey":"object:8320","errorMessage":""},{"title":"Get High Value Customers predicted","text":"%srcipt\nBEGIN EXECUTE IMMEDIATE 'DROP VIEW high_ltv_predicted_v';\nEXCEPTION WHEN OTHERS THEN NULL; END;\n/\nCREATE VIEW high_ltv_predicted_v\nAS \nSELECT customer_id, PREDICTION, PROBABILITY from credit_scoring_100k_apply_data_v_rf where PROBABILITY IN (select MAX(PROBABILITY) from credit_scoring_100k_apply_data_v_rf group by CUSTOMER_ID) and PREDICTION = 'High';","user":"DHVANI","dateUpdated":"2019-03-29T16:23:17+0000","config":{"colWidth":12,"enabled":true,"results":{},"editorSetting":{"language":"plsql","editOnDblClick":false},"editorMode":"ace/mode/plsql","title":true},"settings":{"params":{},"forms":{}},"results":{"code":"SUCCESS","msg":[{"type":"TEXT","data":"\nPL/SQL procedure successfully completed.\n\n\n---------------------------\n\nView HIGH_LTV_PREDICTED_V created.\n\n\n---------------------------\n"}]},"jobName":"paragraph_1553806705324_707279077","id":"20190328-205825_2120500544","dateCreated":"2019-03-28T20:58:25+0000","dateStarted":"2019-03-28T20:59:56+0000","dateFinished":"2019-03-28T20:59:56+0000","status":"FINISHED","progressUpdateIntervalMs":500,"commited":true,"$$hashKey":"object:8321"},{"title":"View data for High Valued Customers predicted","text":"%sql\nselect customer_id, probability from HIGH_LTV_PREDICTED_V;","user":"DHVANI","dateUpdated":"2019-03-29T16:25:00+0000","config":{"colWidth":12,"enabled":true,"results":{},"editorSetting":{"language":"sql","editOnDblClick":false},"editorMode":"ace/mode/osql","title":true},"settings":{"params":{},"forms":{}},"jobName":"paragraph_1553806802880_237640232","id":"20190328-210002_1561518923","dateCreated":"2019-03-28T21:00:02+0000","dateStarted":"2019-03-29T16:24:33+0000","dateFinished":"2019-03-29T16:24:36+0000","status":"FINISHED","progressUpdateIntervalMs":500,"commited":true,"$$hashKey":"object:8322","errorMessage":""},{"title":"Count the High Value Customers predicted","text":"%sql\nselect count(*) from HIGH_LTV_PREDICTED_V;","user":"DHVANI","dateUpdated":"2019-03-29T18:23:16+0000","config":{"colWidth":12,"enabled":true,"results":{"0":{"graph":{"mode":"table","height":94,"optionOpen":false}}},"editorSetting":{"language":"sql","editOnDblClick":false},"editorMode":"ace/mode/osql","title":true},"settings":{"params":{},"forms":{}},"results":{"code":"SUCCESS","msg":[{"type":"TABLE","data":"COUNT(*)\n21611\n"}]},"jobName":"paragraph_1553806823768_-871175450","id":"20190328-210023_817365195","dateCreated":"2019-03-28T21:00:23+0000","dateStarted":"2019-03-29T18:23:16+0000","dateFinished":"2019-03-29T18:23:22+0000","status":"FINISHED","progressUpdateIntervalMs":500,"commited":true,"$$hashKey":"object:8323"},{"title":"Get the cream of High Lifetime Value Customers","text":"%sql\n SELECT COUNT(customer_id), range\n FROM(\n select customer_id,\n CASE\n when probability >= 0 and probability < 0.2 then 'Very Low Probability'\n when probability > 0.2 and probability < 0.4 then 'Low Probability'\n when probability > 0.4 and probability < 0.6 then 'Medium Probability'\n when probability > 0.6 and probability < 0.8 then 'High Probability'\n else 'Very High Probability' END AS RANGE\n FROM HIGH_LTV_PREDICTED_V) t\n GROUP BY range;","user":"DHVANI","dateUpdated":"2019-04-03T14:12:07+0000","config":{"colWidth":12,"enabled":true,"results":{"0":{"graph":{"mode":"multiBarChart","height":300,"optionOpen":false,"setting":{"multiBarChart":{}},"commonSetting":{},"keys":[{"name":"RANGE","index":1,"aggr":"sum"}],"groups":[],"values":[{"name":"COUNT(CUSTOMER_ID)","index":0,"aggr":"sum"}]},"helium":{}}},"editorSetting":{"language":"sql","editOnDblClick":false},"editorMode":"ace/mode/osql","title":true},"settings":{"params":{},"forms":{}},"jobName":"paragraph_1553876805955_1994517418","id":"20190329-162645_1651507617","dateCreated":"2019-03-29T16:26:45+0000","dateStarted":"2019-04-03T14:12:07+0000","dateFinished":"2019-04-03T14:12:13+0000","status":"FINISHED","progressUpdateIntervalMs":500,"commited":true,"$$hashKey":"object:8324","errorMessage":""},{"title":"Conclusion","text":"%md\n#### Thus, we have seen how to predict high lifetime value customers so that businesses can focus on them and have a better chance of generating revenue. We have also seen how we can bin data, use various OML algorithms to predict as per our requirements, choose the algorithm that suits our needs. We can also further analyse the predicted data.","user":"DHVANI","dateUpdated":"2019-04-03T14:14:30+0000","config":{"colWidth":12,"enabled":true,"results":{},"editorSetting":{"language":"md","editOnDblClick":false},"editorMode":"ace/mode/markdown","title":true,"editorHide":true},"settings":{"params":{},"forms":{}},"results":{"code":"SUCCESS","msg":[{"type":"HTML","data":"<h4>Thus, we have seen how to predict high lifetime value customers so that businesses can focus on them and have a better chance of generating revenue. We have also seen how we can bin data, use various OML algorithms to predict as per our requirements, choose the algorithm that suits our needs. We can also further analyse the predicted data.</h4>\n"}]},"jobName":"paragraph_1553876803712_1181542992","id":"20190329-162643_2019434027","dateCreated":"2019-03-29T16:26:43+0000","dateStarted":"2019-04-03T14:14:25+0000","dateFinished":"2019-04-03T14:14:25+0000","status":"FINISHED","progressUpdateIntervalMs":500,"commited":true,"$$hashKey":"object:8325"},{"text":"","user":"DHVANI","dateUpdated":"2019-03-28T20:51:33+0000","config":{"colWidth":12,"enabled":true,"results":{},"editorSetting":{"language":"sql","editOnDblClick":false},"editorMode":"ace/mode/osql"},"settings":{"params":{},"forms":{}},"jobName":"paragraph_1553628143381_790805732","id":"20190326-192223_422620212","dateCreated":"2019-03-26T19:22:23+0000","status":"READY","progressUpdateIntervalMs":500,"commited":false,"$$hashKey":"object:8326"}],"name":"Targeting Top Customers","id":"127096","angularObjects":{"ORAB45381C728:shared_process":[],"ORACA3BE4B5AB:shared_process":[],"ORACFE2D7596B:shared_process":[],"MDW381939C745:shared_process":[]},"config":{"looknfeel":"default","personalizedMode":"false"},"info":{}}