<?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: Using scoring node to perform scoring on new dataset of Clustering algorithm (k-means) in SAS Data Science</title>
    <link>https://communities.sas.com/t5/SAS-Data-Science/Using-scoring-node-to-perform-scoring-on-new-dataset-of/m-p/112932#M947</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi jedakyu,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I checked with a SAS Education Specialist on this and here is some insight.&lt;/P&gt;&lt;P&gt;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #1f497d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; If the score data set has a nominal variable with a code that did not exist in the training data, then the observation associated with the “new” code will not be assigned to a segment. That is, it will be assigned to the&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; “missing” segment.&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #1f497d;"&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Binning should not cause this sort of nominal code mismatch. However, you need to attach the score data Input Data Source node directly to the Score node. If you attempt to bin the score data separately with the&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Transform Variables node, you are likely to get different bins, and there will almost certainly be a nominal code mismatch.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="color: #1f497d;"&gt; &lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #1f497d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; In general, it is considered unwise to use nominal variables in K-Means clustering, and binning would not be recommended.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #1f497d;"&gt;I hope this is helpful.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #1f497d;"&gt;Anna&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 16 Oct 2013 19:28:13 GMT</pubDate>
    <dc:creator>AnnaBrown</dc:creator>
    <dc:date>2013-10-16T19:28:13Z</dc:date>
    <item>
      <title>Using scoring node to perform scoring on new dataset of Clustering algorithm (k-means)</title>
      <link>https://communities.sas.com/t5/SAS-Data-Science/Using-scoring-node-to-perform-scoring-on-new-dataset-of/m-p/112931#M946</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi there,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm using SAS Enterprise Miner to perform clustering of customers on specific dataset at one extraction date. After finalize the model, I wanted to score a new dataset to existing clustering model (k-means in SAS-EM). I found out that there are 80% of record classified as no cluster assigned. Only few of them there were be able to scored with segment number attached.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I supposed it is from the data transformation part that I did binning continuous data to nominal data within SAS-EM. But I have reviewed all of the variables of the model and all the ranges were covered and there is no missing value in any cell of the table used to model and score.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So, I wondered if it is the algorithm limit that they treat 80% of scoring data as outlier that SAS-EM cannot assigned any segment to specific cluster from the training model?&lt;/P&gt;&lt;P&gt;Is there any point that I can force the scoring cutoff point to assign all the scoring record data to the nearest possible cluster? Thus, all the scoring record can have a segment label assigned.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Oct 2013 06:25:07 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Science/Using-scoring-node-to-perform-scoring-on-new-dataset-of/m-p/112931#M946</guid>
      <dc:creator>jedakyu</dc:creator>
      <dc:date>2013-10-15T06:25:07Z</dc:date>
    </item>
    <item>
      <title>Re: Using scoring node to perform scoring on new dataset of Clustering algorithm (k-means)</title>
      <link>https://communities.sas.com/t5/SAS-Data-Science/Using-scoring-node-to-perform-scoring-on-new-dataset-of/m-p/112932#M947</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi jedakyu,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I checked with a SAS Education Specialist on this and here is some insight.&lt;/P&gt;&lt;P&gt;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #1f497d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; If the score data set has a nominal variable with a code that did not exist in the training data, then the observation associated with the “new” code will not be assigned to a segment. That is, it will be assigned to the&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; “missing” segment.&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #1f497d;"&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Binning should not cause this sort of nominal code mismatch. However, you need to attach the score data Input Data Source node directly to the Score node. If you attempt to bin the score data separately with the&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Transform Variables node, you are likely to get different bins, and there will almost certainly be a nominal code mismatch.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="color: #1f497d;"&gt; &lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #1f497d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; In general, it is considered unwise to use nominal variables in K-Means clustering, and binning would not be recommended.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #1f497d;"&gt;I hope this is helpful.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #1f497d;"&gt;Anna&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Oct 2013 19:28:13 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Science/Using-scoring-node-to-perform-scoring-on-new-dataset-of/m-p/112932#M947</guid>
      <dc:creator>AnnaBrown</dc:creator>
      <dc:date>2013-10-16T19:28:13Z</dc:date>
    </item>
    <item>
      <title>Re: Using scoring node to perform scoring on new dataset of Clustering algorithm (k-means)</title>
      <link>https://communities.sas.com/t5/SAS-Data-Science/Using-scoring-node-to-perform-scoring-on-new-dataset-of/m-p/112933#M948</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi abrown,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your help in clarifying thing.&lt;/P&gt;&lt;P&gt;I'm now figure out the problem already. There is one variable from the source table before I combined them to analytical base table that were include byte(13) and the scoring table was using difference ETL script that already compress the text. Thus, EM treat this two variable as difference so leading to un-match of the data between the ABT and scoring data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After investigated in the SAS scoring code within EM I found this error and now everything is fixed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 Oct 2013 02:56:35 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Science/Using-scoring-node-to-perform-scoring-on-new-dataset-of/m-p/112933#M948</guid>
      <dc:creator>jedakyu</dc:creator>
      <dc:date>2013-10-18T02:56:35Z</dc:date>
    </item>
    <item>
      <title>Re: Using scoring node to perform scoring on new dataset of Clustering algorithm (k-means)</title>
      <link>https://communities.sas.com/t5/SAS-Data-Science/Using-scoring-node-to-perform-scoring-on-new-dataset-of/m-p/112934#M949</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Excellent, jedakyu, I'm glad you resolved the issue!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Anna&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 Oct 2013 13:15:21 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Science/Using-scoring-node-to-perform-scoring-on-new-dataset-of/m-p/112934#M949</guid>
      <dc:creator>AnnaBrown</dc:creator>
      <dc:date>2013-10-18T13:15:21Z</dc:date>
    </item>
  </channel>
</rss>

