<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Next-Best Offer/Recommendation under the Association Node while using Sequence Analysis in SAS Data Science</title>
    <link>https://communities.sas.com/t5/SAS-Data-Science/Next-Best-Offer-Recommendation-under-the-Association-Node-while/m-p/390995#M5923</link>
    <description>&lt;P class="cs95E872D0"&gt;&lt;SPAN class="cs1B16EEB5"&gt;You can obtain single step recommendations (one product on the left-hand side and one product on the right-hand side) from the Link Analysis node, but identifying next best recommendations for more complex rules is a far more manual process.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="cs95E872D0"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P class="cs95E872D0"&gt;&lt;SPAN class="cs1B16EEB5"&gt;Association analysis at its core is a fairly manual process anyway since there are so many rules that are generated. &amp;nbsp;Scoring the data requires transposing the rules making each rule a new column in the scored data, so there are only a limited number of rules which can be actually transposed (200 maximum in the node itself). The decision which rules are of interest invariably relies on the business question of interest. &amp;nbsp;&amp;nbsp;Given you are hoping to identify a recommendation for each person, you might consider the following strategy which although manual might be manageable depending on the number of products you might consider recommending. &amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="cs95E872D0"&gt;&lt;SPAN class="cs1B16EEB5"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="cs95E872D0"&gt;&lt;SPAN class="cs1B16EEB5"&gt;1 - Generate as many rules as possible by doing the following:&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="cs95E872D0"&gt;&lt;SPAN class="cs1B16EEB5"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="cs95E872D0"&gt;&lt;SPAN class="cs1B16EEB5"&gt;In the Association section of the property sheet...&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="cs95E872D0"&gt;&lt;SPAN class="cs1B16EEB5"&gt;&amp;nbsp; &amp;nbsp;a. Increase the Maximum Items property to a larger number (e.g. 8 or 10)&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="cs95E872D0"&gt;&lt;SPAN class="cs1B16EEB5"&gt;&amp;nbsp; &amp;nbsp;b. &amp;nbsp;Lower the Minimum Confidence Level property to 1&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="cs95E872D0"&gt;&lt;SPAN class="cs1B16EEB5"&gt;&amp;nbsp; &amp;nbsp;c. &amp;nbsp;Lower the Support Percentage property to 1&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="cs95E872D0"&gt;&lt;SPAN class="cs1B16EEB5"&gt;&lt;BR /&gt;In the Rules section of the property sheet, specify the largest possible values for "Number to Keep" in the Rules section of the property sheet for the Association node you are using. &amp;nbsp;Should the maximum number listed there be insufficient, I can tell you how to modify the properties to allow more.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="cs95E872D0"&gt;&lt;SPAN class="cs1B16EEB5"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="cs95E872D0"&gt;&lt;SPAN class="cs1B16EEB5"&gt;2 - Run the flow.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="cs95E872D0"&gt;&lt;SPAN class="cs1B16EEB5"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="cs95E872D0"&gt;&lt;SPAN class="cs1B16EEB5"&gt;3 - Identify where the full rules table is located in the SAS Enterprise Miner project (a possibly truncated version can be surfaced by viewing the results of the run and clicking on View --&amp;gt; Table. &amp;nbsp;To see the table in the project, proceed as follows:&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="cs95E872D0"&gt;&lt;SPAN class="cs1B16EEB5"&gt;&amp;nbsp; &amp;nbsp;a. Click on the Association node of interest and note the value for the Node ID property (e.g. mine is Assoc2) &amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="cs95E872D0"&gt;&lt;SPAN class="cs1B16EEB5"&gt;&amp;nbsp; &amp;nbsp;b. Click on the diagram name in the top left corner panel and note the ID property (e.g. mine is EMWS3)&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="cs95E872D0"&gt;&lt;SPAN class="cs1B16EEB5"&gt;&amp;nbsp; &amp;nbsp;c. Click on the project name in the top left corner panel and note the project name and the Path property for the project (e.g. mine project is named MyExample and Path=C:\EM14proj )&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="cs95E872D0"&gt;&lt;SPAN class="cs1B16EEB5"&gt;&amp;nbsp; &amp;nbsp;d. Navigate using your operating system tools to the data set&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="cs95E872D0"&gt;&lt;SPAN class="cs1B16EEB5"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="cs95E872D0"&gt;&lt;SPAN class="cs1B16EEB5"&gt;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt; Path &amp;gt; \ &amp;lt; project name &amp;gt; \ Workspaces \ &amp;lt; diagram ID&amp;gt; \ &amp;lt;Node ID&amp;gt;_rules&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="cs95E872D0"&gt;&lt;SPAN class="cs1B16EEB5"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="cs95E872D0"&gt;&lt;SPAN class="cs1B16EEB5"&gt;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;so for my example it would be&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="cs95E872D0"&gt;&lt;SPAN class="cs1B16EEB5"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="cs95E872D0"&gt;&lt;SPAN class="cs1B16EEB5"&gt;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;C:\EM14proj\MyExample\Workspaces\EMWS3\assoc2_rules.sas7bdat&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="cs95E872D0"&gt;&lt;SPAN class="cs1B16EEB5"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="cs95E872D0"&gt;&lt;SPAN class="cs1B16EEB5"&gt;4 - Copy this file outside of the project and save it under a new name (e.g. RulesTable.sas7bdat), but do not modify the original file in the Workspaces folder as it might corrupt your diagram or project&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="cs95E872D0"&gt;&lt;SPAN class="cs1B16EEB5"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="cs95E872D0"&gt;&lt;SPAN class="cs1B16EEB5"&gt;5 - Run something similar to the following SAS code to identify which right-hand side (RHS) fields only contain one item:&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="cs95E872D0"&gt;&lt;SPAN class="cs1B16EEB5"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="cs95E872D0"&gt;&lt;SPAN class="cs1B16EEB5"&gt;&amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class="csD28C4F3F"&gt;libname&lt;/SPAN&gt;&lt;SPAN class="csAB6422E4"&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;mylib&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class="csAF1817D"&gt;'C:\data'&lt;/SPAN&gt;&lt;SPAN class="csAB6422E4"&gt;; &amp;nbsp;&amp;nbsp;* define path to where data is;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="cs95E872D0"&gt;&lt;SPAN class="csE0EE740F"&gt;&amp;nbsp; &amp;nbsp; data&lt;/SPAN&gt;&lt;SPAN class="csAB6422E4"&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;mylib.RHS; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;* name for new data set;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="cs95E872D0"&gt;&lt;SPAN class="csAB6422E4"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class="csD28C4F3F"&gt;set&lt;/SPAN&gt;&lt;SPAN class="csAB6422E4"&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;mylib.RulesTable; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;* name for data set copied from project folder;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="cs95E872D0"&gt;&lt;SPAN class="csAB6422E4"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class="csD28C4F3F"&gt;if&lt;/SPAN&gt;&lt;SPAN class="csAB6422E4"&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;index(_RHAND,&lt;/SPAN&gt;&lt;SPAN class="csAF1817D"&gt;'&amp;amp;'&lt;/SPAN&gt;&lt;SPAN class="csAB6422E4"&gt;) gt&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class="cs6858504D"&gt;0&lt;/SPAN&gt;&lt;SPAN class="csAB6422E4"&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class="csD28C4F3F"&gt;then&lt;/SPAN&gt;&lt;SPAN class="csAB6422E4"&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class="csD28C4F3F"&gt;delete&lt;/SPAN&gt;&lt;SPAN class="csAB6422E4"&gt;; &amp;nbsp;* remove rules with more than one item in RHS;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="cs95E872D0"&gt;&lt;SPAN class="csE0EE740F"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;run&lt;/SPAN&gt;&lt;SPAN class="csAB6422E4"&gt;;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="cs95E872D0"&gt;&lt;SPAN class="cs1B16EEB5"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="cs95E872D0"&gt;&lt;SPAN class="cs1B16EEB5"&gt;6 - Review the resulting rules and sort as desired by the available statistics in the data set such as expected confidence (EXP_CONF), confidence (CONF), support, lift, or count. &amp;nbsp;&amp;nbsp;You will likely disqualify several rules that are of lesser interest in spite of these values. &amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="cs95E872D0"&gt;&lt;SPAN class="cs1B16EEB5"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="cs95E872D0"&gt;&lt;SPAN class="cs1B16EEB5"&gt;7 - You will likely need to write code to deploy your rules once you have chosen them. &amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="cs95E872D0"&gt;&lt;SPAN class="cs1B16EEB5"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="cs95E872D0"&gt;&lt;SPAN class="cs1B16EEB5"&gt;As I said, there is not an easy way to accomplish what you were hoping to do.&lt;SPAN&gt;&amp;nbsp; &amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;I hope this helps!&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="cs95E872D0"&gt;&lt;SPAN class="cs1B16EEB5"&gt;&lt;SPAN&gt;Doug&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 25 Aug 2017 18:50:33 GMT</pubDate>
    <dc:creator>DougWielenga</dc:creator>
    <dc:date>2017-08-25T18:50:33Z</dc:date>
    <item>
      <title>Next-Best Offer/Recommendation under the Association Node while using Sequence Analysis</title>
      <link>https://communities.sas.com/t5/SAS-Data-Science/Next-Best-Offer-Recommendation-under-the-Association-Node-while/m-p/390556#M5913</link>
      <description>&lt;P&gt;I have tried to do the sequence analysis using association node and final aim is to get the Next-Best Offer but I am unable to generate the recommendations at the user level since only output is the rules.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Kindly revert if anyone has faced the same problem. Early revert will be appreciated.&lt;/P&gt;</description>
      <pubDate>Thu, 24 Aug 2017 10:43:10 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Science/Next-Best-Offer-Recommendation-under-the-Association-Node-while/m-p/390556#M5913</guid>
      <dc:creator>kjsj400</dc:creator>
      <dc:date>2017-08-24T10:43:10Z</dc:date>
    </item>
    <item>
      <title>Re: Next-Best Offer/Recommendation under the Association Node while using Sequence Analysis</title>
      <link>https://communities.sas.com/t5/SAS-Data-Science/Next-Best-Offer-Recommendation-under-the-Association-Node-while/m-p/390995#M5923</link>
      <description>&lt;P class="cs95E872D0"&gt;&lt;SPAN class="cs1B16EEB5"&gt;You can obtain single step recommendations (one product on the left-hand side and one product on the right-hand side) from the Link Analysis node, but identifying next best recommendations for more complex rules is a far more manual process.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="cs95E872D0"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P class="cs95E872D0"&gt;&lt;SPAN class="cs1B16EEB5"&gt;Association analysis at its core is a fairly manual process anyway since there are so many rules that are generated. &amp;nbsp;Scoring the data requires transposing the rules making each rule a new column in the scored data, so there are only a limited number of rules which can be actually transposed (200 maximum in the node itself). The decision which rules are of interest invariably relies on the business question of interest. &amp;nbsp;&amp;nbsp;Given you are hoping to identify a recommendation for each person, you might consider the following strategy which although manual might be manageable depending on the number of products you might consider recommending. &amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="cs95E872D0"&gt;&lt;SPAN class="cs1B16EEB5"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="cs95E872D0"&gt;&lt;SPAN class="cs1B16EEB5"&gt;1 - Generate as many rules as possible by doing the following:&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="cs95E872D0"&gt;&lt;SPAN class="cs1B16EEB5"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="cs95E872D0"&gt;&lt;SPAN class="cs1B16EEB5"&gt;In the Association section of the property sheet...&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="cs95E872D0"&gt;&lt;SPAN class="cs1B16EEB5"&gt;&amp;nbsp; &amp;nbsp;a. Increase the Maximum Items property to a larger number (e.g. 8 or 10)&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="cs95E872D0"&gt;&lt;SPAN class="cs1B16EEB5"&gt;&amp;nbsp; &amp;nbsp;b. &amp;nbsp;Lower the Minimum Confidence Level property to 1&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="cs95E872D0"&gt;&lt;SPAN class="cs1B16EEB5"&gt;&amp;nbsp; &amp;nbsp;c. &amp;nbsp;Lower the Support Percentage property to 1&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="cs95E872D0"&gt;&lt;SPAN class="cs1B16EEB5"&gt;&lt;BR /&gt;In the Rules section of the property sheet, specify the largest possible values for "Number to Keep" in the Rules section of the property sheet for the Association node you are using. &amp;nbsp;Should the maximum number listed there be insufficient, I can tell you how to modify the properties to allow more.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="cs95E872D0"&gt;&lt;SPAN class="cs1B16EEB5"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="cs95E872D0"&gt;&lt;SPAN class="cs1B16EEB5"&gt;2 - Run the flow.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="cs95E872D0"&gt;&lt;SPAN class="cs1B16EEB5"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="cs95E872D0"&gt;&lt;SPAN class="cs1B16EEB5"&gt;3 - Identify where the full rules table is located in the SAS Enterprise Miner project (a possibly truncated version can be surfaced by viewing the results of the run and clicking on View --&amp;gt; Table. &amp;nbsp;To see the table in the project, proceed as follows:&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="cs95E872D0"&gt;&lt;SPAN class="cs1B16EEB5"&gt;&amp;nbsp; &amp;nbsp;a. Click on the Association node of interest and note the value for the Node ID property (e.g. mine is Assoc2) &amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="cs95E872D0"&gt;&lt;SPAN class="cs1B16EEB5"&gt;&amp;nbsp; &amp;nbsp;b. Click on the diagram name in the top left corner panel and note the ID property (e.g. mine is EMWS3)&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="cs95E872D0"&gt;&lt;SPAN class="cs1B16EEB5"&gt;&amp;nbsp; &amp;nbsp;c. Click on the project name in the top left corner panel and note the project name and the Path property for the project (e.g. mine project is named MyExample and Path=C:\EM14proj )&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="cs95E872D0"&gt;&lt;SPAN class="cs1B16EEB5"&gt;&amp;nbsp; &amp;nbsp;d. Navigate using your operating system tools to the data set&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="cs95E872D0"&gt;&lt;SPAN class="cs1B16EEB5"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="cs95E872D0"&gt;&lt;SPAN class="cs1B16EEB5"&gt;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt; Path &amp;gt; \ &amp;lt; project name &amp;gt; \ Workspaces \ &amp;lt; diagram ID&amp;gt; \ &amp;lt;Node ID&amp;gt;_rules&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="cs95E872D0"&gt;&lt;SPAN class="cs1B16EEB5"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="cs95E872D0"&gt;&lt;SPAN class="cs1B16EEB5"&gt;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;so for my example it would be&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="cs95E872D0"&gt;&lt;SPAN class="cs1B16EEB5"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="cs95E872D0"&gt;&lt;SPAN class="cs1B16EEB5"&gt;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;C:\EM14proj\MyExample\Workspaces\EMWS3\assoc2_rules.sas7bdat&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="cs95E872D0"&gt;&lt;SPAN class="cs1B16EEB5"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="cs95E872D0"&gt;&lt;SPAN class="cs1B16EEB5"&gt;4 - Copy this file outside of the project and save it under a new name (e.g. RulesTable.sas7bdat), but do not modify the original file in the Workspaces folder as it might corrupt your diagram or project&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="cs95E872D0"&gt;&lt;SPAN class="cs1B16EEB5"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="cs95E872D0"&gt;&lt;SPAN class="cs1B16EEB5"&gt;5 - Run something similar to the following SAS code to identify which right-hand side (RHS) fields only contain one item:&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="cs95E872D0"&gt;&lt;SPAN class="cs1B16EEB5"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="cs95E872D0"&gt;&lt;SPAN class="cs1B16EEB5"&gt;&amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class="csD28C4F3F"&gt;libname&lt;/SPAN&gt;&lt;SPAN class="csAB6422E4"&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;mylib&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class="csAF1817D"&gt;'C:\data'&lt;/SPAN&gt;&lt;SPAN class="csAB6422E4"&gt;; &amp;nbsp;&amp;nbsp;* define path to where data is;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="cs95E872D0"&gt;&lt;SPAN class="csE0EE740F"&gt;&amp;nbsp; &amp;nbsp; data&lt;/SPAN&gt;&lt;SPAN class="csAB6422E4"&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;mylib.RHS; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;* name for new data set;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="cs95E872D0"&gt;&lt;SPAN class="csAB6422E4"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class="csD28C4F3F"&gt;set&lt;/SPAN&gt;&lt;SPAN class="csAB6422E4"&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;mylib.RulesTable; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;* name for data set copied from project folder;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="cs95E872D0"&gt;&lt;SPAN class="csAB6422E4"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class="csD28C4F3F"&gt;if&lt;/SPAN&gt;&lt;SPAN class="csAB6422E4"&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;index(_RHAND,&lt;/SPAN&gt;&lt;SPAN class="csAF1817D"&gt;'&amp;amp;'&lt;/SPAN&gt;&lt;SPAN class="csAB6422E4"&gt;) gt&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class="cs6858504D"&gt;0&lt;/SPAN&gt;&lt;SPAN class="csAB6422E4"&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class="csD28C4F3F"&gt;then&lt;/SPAN&gt;&lt;SPAN class="csAB6422E4"&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class="csD28C4F3F"&gt;delete&lt;/SPAN&gt;&lt;SPAN class="csAB6422E4"&gt;; &amp;nbsp;* remove rules with more than one item in RHS;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="cs95E872D0"&gt;&lt;SPAN class="csE0EE740F"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;run&lt;/SPAN&gt;&lt;SPAN class="csAB6422E4"&gt;;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="cs95E872D0"&gt;&lt;SPAN class="cs1B16EEB5"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="cs95E872D0"&gt;&lt;SPAN class="cs1B16EEB5"&gt;6 - Review the resulting rules and sort as desired by the available statistics in the data set such as expected confidence (EXP_CONF), confidence (CONF), support, lift, or count. &amp;nbsp;&amp;nbsp;You will likely disqualify several rules that are of lesser interest in spite of these values. &amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="cs95E872D0"&gt;&lt;SPAN class="cs1B16EEB5"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="cs95E872D0"&gt;&lt;SPAN class="cs1B16EEB5"&gt;7 - You will likely need to write code to deploy your rules once you have chosen them. &amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="cs95E872D0"&gt;&lt;SPAN class="cs1B16EEB5"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="cs95E872D0"&gt;&lt;SPAN class="cs1B16EEB5"&gt;As I said, there is not an easy way to accomplish what you were hoping to do.&lt;SPAN&gt;&amp;nbsp; &amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;I hope this helps!&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="cs95E872D0"&gt;&lt;SPAN class="cs1B16EEB5"&gt;&lt;SPAN&gt;Doug&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 25 Aug 2017 18:50:33 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Science/Next-Best-Offer-Recommendation-under-the-Association-Node-while/m-p/390995#M5923</guid>
      <dc:creator>DougWielenga</dc:creator>
      <dc:date>2017-08-25T18:50:33Z</dc:date>
    </item>
    <item>
      <title>Re: Next-Best Offer/Recommendation under the Association Node while using Sequence Analysis</title>
      <link>https://communities.sas.com/t5/SAS-Data-Science/Next-Best-Offer-Recommendation-under-the-Association-Node-while/m-p/603765#M8046</link>
      <description>&lt;P&gt;I am looking for similar information and analysis.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;1) Anomalous&amp;nbsp;Commodity Bundling: Objective of my study is to find anomaly in terms of item bundling. Hence need to detect associations with lower threshold and compare with historical associations to&amp;nbsp;flag them as anomaly with some confidence.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;2)&amp;nbsp; I am trying to apply&amp;nbsp;&lt;STRONG&gt;Link analysis node&lt;/STRONG&gt; as throws out item clusters.&amp;nbsp; However&amp;nbsp;I couldn't find option to change the maximum items property. The output of link analysis seems to only generate 2 item rules. Is there any work around?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;3) Do you suggest to apply &lt;STRONG&gt;Association nodes&lt;/STRONG&gt; instead? Any tips to compare multiple association rules across two set of results will be&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Sharmila&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 13 Nov 2019 05:20:16 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Science/Next-Best-Offer-Recommendation-under-the-Association-Node-while/m-p/603765#M8046</guid>
      <dc:creator>Mila_das</dc:creator>
      <dc:date>2019-11-13T05:20:16Z</dc:date>
    </item>
  </channel>
</rss>

