<?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 Unsupervised Classification runs on wrong number of classes? in Geoprocessing Questions</title>
    <link>https://community.esri.com/t5/geoprocessing-questions/unsupervised-classification-runs-on-wrong-number/m-p/418885#M14117</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi, &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;So my problem is that I am running an unsupervised classification, and for some reason it is not running on the correct number of classes. If I try to run a 12 class classification, it returns only 10 classes. I have no idea why this is happening, as it runs correctly for a different set of data.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="plain" name="code"&gt;
#Unsupervised Classification
&amp;nbsp;&amp;nbsp;&amp;nbsp; Classified= Divided
&amp;nbsp;&amp;nbsp;&amp;nbsp; Output_signature_file= "Scrap.gsg"
&amp;nbsp;&amp;nbsp;&amp;nbsp; outUnsupervised = IsoClusterUnsupervisedClassification(Filtered, 12, 20, 10, Output_signature_file)
&amp;nbsp;&amp;nbsp;&amp;nbsp; outUnsupervised.save(Classified)
&amp;nbsp;&amp;nbsp;&amp;nbsp; arcpy.AddMessage("Unsupervised classification complete.")
&lt;/PRE&gt;&lt;DIV style="display:none;"&gt; &lt;/DIV&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Advice?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 06 Aug 2013 17:01:04 GMT</pubDate>
    <dc:creator>ScottBarron</dc:creator>
    <dc:date>2013-08-06T17:01:04Z</dc:date>
    <item>
      <title>Unsupervised Classification runs on wrong number of classes?</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/unsupervised-classification-runs-on-wrong-number/m-p/418885#M14117</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi, &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;So my problem is that I am running an unsupervised classification, and for some reason it is not running on the correct number of classes. If I try to run a 12 class classification, it returns only 10 classes. I have no idea why this is happening, as it runs correctly for a different set of data.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="plain" name="code"&gt;
#Unsupervised Classification
&amp;nbsp;&amp;nbsp;&amp;nbsp; Classified= Divided
&amp;nbsp;&amp;nbsp;&amp;nbsp; Output_signature_file= "Scrap.gsg"
&amp;nbsp;&amp;nbsp;&amp;nbsp; outUnsupervised = IsoClusterUnsupervisedClassification(Filtered, 12, 20, 10, Output_signature_file)
&amp;nbsp;&amp;nbsp;&amp;nbsp; outUnsupervised.save(Classified)
&amp;nbsp;&amp;nbsp;&amp;nbsp; arcpy.AddMessage("Unsupervised classification complete.")
&lt;/PRE&gt;&lt;DIV style="display:none;"&gt; &lt;/DIV&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Advice?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Aug 2013 17:01:04 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/unsupervised-classification-runs-on-wrong-number/m-p/418885#M14117</guid>
      <dc:creator>ScottBarron</dc:creator>
      <dc:date>2013-08-06T17:01:04Z</dc:date>
    </item>
    <item>
      <title>Re: Unsupervised Classification runs on wrong number of classes?</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/unsupervised-classification-runs-on-wrong-number/m-p/418886#M14118</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Hi, &lt;BR /&gt;So my problem is that I am running an unsupervised classification, and for some reason it is not running on the correct number of classes. If I try to run a 12 class classification, it returns only 10 classes. I have no idea why this is happening, as it runs correctly for a different set of data.&lt;BR /&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I would look closely at your dataset. It's possible it your data distribution does not allow it to separate into 12 discernible groups. The help article &lt;/SPAN&gt;&lt;A href="http://resources.arcgis.com/en/help/main/10.2/index.html#/How_Iso_Cluster_works/009z000000q8000000/"&gt;How Iso Cluster Works&lt;/A&gt;&lt;SPAN&gt; discusses this:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;The specified Number of classes value &lt;STRONG style="font-style: italic;"&gt;is the maximum number of clusters&lt;/STRONG&gt; that can result from the clustering process. &lt;STRONG style="font-style: italic;"&gt;However, the number of clusters in the output signature file may not be the same&lt;/STRONG&gt; as the number specified for the number of classes.&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Have you tried running the output signatures through the &lt;/SPAN&gt;&lt;A href="http://resources.arcgis.com/en/help/main/10.2/index.html#//009z000000q6000000"&gt;Dendrogram&lt;/A&gt;&lt;SPAN&gt; tool? It may shed some light.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Aug 2013 03:43:56 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/unsupervised-classification-runs-on-wrong-number/m-p/418886#M14118</guid>
      <dc:creator>curtvprice</dc:creator>
      <dc:date>2013-08-07T03:43:56Z</dc:date>
    </item>
  </channel>
</rss>

