<?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: SMOTE with missing values in SAS Data Science</title>
    <link>https://communities.sas.com/t5/SAS-Data-Science/SMOTE-with-missing-values/m-p/427255#M6556</link>
    <description>&lt;P&gt;The answer to your question depends on what approach you are using to apply SMOTE.&amp;nbsp; &amp;nbsp;In another SAS communities discussion available at&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://communities.sas.com/t5/SAS-Data-Mining-and-Machine/SAS-Enterprise-Miner-SMOTE-sampling-with-categorical-variables/m-p/394037/thread-id/5980/highlight/true#M6009" target="_self"&gt;https://communities.sas.com/t5/SAS-Data-Mining-and-Machine/SAS-Enterprise-Miner-SMOTE-sampling-with-categorical-variables/m-p/394037/thread-id/5980/highlight/true#M6009&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;there is a link to code which uses the MODECLUS procedure to attempt this approach. The documentation to MODECLUS can be found in the documentation for SAS/STAT available at&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &lt;A href="http://support.sas.com/documentation/onlinedoc/stat/" target="_self"&gt;http://support.sas.com/documentation/onlinedoc/stat/&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;where it shares the following:&lt;/P&gt;
&lt;BLOCKQUOTE&gt;
&lt;P&gt;&lt;STRONG&gt;Missing Values &lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;If the data are coordinates, observations with missing values are excluded from the analysis. If the data are distances, missing values are treated as infinite. The neighbors of each observation are determined solely by the distances in that observation. The distances are not required to be symmetric, and there is no check for symmetry; the neighbors of each observation are determined only from the distances in that observation. This treatment of missing values is quite different from that of the CLUSTER procedure, which ignores the upper triangle of the distance matrix.&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;How this impacts your data ultimately depends in part on the type of data and the nature of the missing values.&amp;nbsp; &amp;nbsp;Replacing the missing values will likely provide different results and it is unclear whether those results will be superior.&amp;nbsp; Replacing missing values is typically done in situations where it is necessary to avoid ignoring a large percentage of the data.&amp;nbsp; &amp;nbsp; It is not necessary in SAS Enterprise Miner to replace all missing values because you can generate a set of cluster seeds from a subset of the original data, but as you increase the number of observations with missing values on the input variables, you move toward obtaining a less meaningful solution (which still might be better than no solution at all, but not necessarily!).&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Hope this helps!&lt;/P&gt;
&lt;P&gt;Doug&lt;/P&gt;</description>
    <pubDate>Fri, 12 Jan 2018 16:36:44 GMT</pubDate>
    <dc:creator>DougWielenga</dc:creator>
    <dc:date>2018-01-12T16:36:44Z</dc:date>
    <item>
      <title>SMOTE with missing values</title>
      <link>https://communities.sas.com/t5/SAS-Data-Science/SMOTE-with-missing-values/m-p/426917#M6545</link>
      <description>&lt;P&gt;Hi there&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am willing to try the SMOTE method and use the code available online. I am wondering about the effects of having missing values in the dataset on which to run the code. I would guess it is best to deal with those missing values and run the SOTE code after, am I correct?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Nicolas&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 11 Jan 2018 16:55:23 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Science/SMOTE-with-missing-values/m-p/426917#M6545</guid>
      <dc:creator>NicolasC</dc:creator>
      <dc:date>2018-01-11T16:55:23Z</dc:date>
    </item>
    <item>
      <title>Re: SMOTE with missing values</title>
      <link>https://communities.sas.com/t5/SAS-Data-Science/SMOTE-with-missing-values/m-p/427255#M6556</link>
      <description>&lt;P&gt;The answer to your question depends on what approach you are using to apply SMOTE.&amp;nbsp; &amp;nbsp;In another SAS communities discussion available at&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://communities.sas.com/t5/SAS-Data-Mining-and-Machine/SAS-Enterprise-Miner-SMOTE-sampling-with-categorical-variables/m-p/394037/thread-id/5980/highlight/true#M6009" target="_self"&gt;https://communities.sas.com/t5/SAS-Data-Mining-and-Machine/SAS-Enterprise-Miner-SMOTE-sampling-with-categorical-variables/m-p/394037/thread-id/5980/highlight/true#M6009&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;there is a link to code which uses the MODECLUS procedure to attempt this approach. The documentation to MODECLUS can be found in the documentation for SAS/STAT available at&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &lt;A href="http://support.sas.com/documentation/onlinedoc/stat/" target="_self"&gt;http://support.sas.com/documentation/onlinedoc/stat/&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;where it shares the following:&lt;/P&gt;
&lt;BLOCKQUOTE&gt;
&lt;P&gt;&lt;STRONG&gt;Missing Values &lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;If the data are coordinates, observations with missing values are excluded from the analysis. If the data are distances, missing values are treated as infinite. The neighbors of each observation are determined solely by the distances in that observation. The distances are not required to be symmetric, and there is no check for symmetry; the neighbors of each observation are determined only from the distances in that observation. This treatment of missing values is quite different from that of the CLUSTER procedure, which ignores the upper triangle of the distance matrix.&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;How this impacts your data ultimately depends in part on the type of data and the nature of the missing values.&amp;nbsp; &amp;nbsp;Replacing the missing values will likely provide different results and it is unclear whether those results will be superior.&amp;nbsp; Replacing missing values is typically done in situations where it is necessary to avoid ignoring a large percentage of the data.&amp;nbsp; &amp;nbsp; It is not necessary in SAS Enterprise Miner to replace all missing values because you can generate a set of cluster seeds from a subset of the original data, but as you increase the number of observations with missing values on the input variables, you move toward obtaining a less meaningful solution (which still might be better than no solution at all, but not necessarily!).&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Hope this helps!&lt;/P&gt;
&lt;P&gt;Doug&lt;/P&gt;</description>
      <pubDate>Fri, 12 Jan 2018 16:36:44 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Science/SMOTE-with-missing-values/m-p/427255#M6556</guid>
      <dc:creator>DougWielenga</dc:creator>
      <dc:date>2018-01-12T16:36:44Z</dc:date>
    </item>
  </channel>
</rss>

