<?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: aproblem with unsupervised classification in Python Questions</title>
    <link>https://community.esri.com/t5/python-questions/aproblem-with-unsupervised-classification/m-p/309843#M24137</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Should be raw input&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;
outUnsupervised.save(&lt;STRONG&gt;r&lt;/STRONG&gt;"e:\Users\profiles\sjmeel77\Desktop\arcgis_jmeel\iso_clustre.pyoutunsup01.tif")&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 11 Dec 2021 14:49:37 GMT</pubDate>
    <dc:creator>MathewCoyle</dc:creator>
    <dc:date>2021-12-11T14:49:37Z</dc:date>
    <item>
      <title>aproblem with unsupervised classification</title>
      <link>https://community.esri.com/t5/python-questions/aproblem-with-unsupervised-classification/m-p/309842#M24136</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;i have an issue with the python code i took from the arcgis help &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;im trying to run it but without any succes i modify to the durectory and the rasters i work with but it keeps telling me that i have error 000735 &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;HERE"S THE PYTHON CODE &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="plain" name="code"&gt;# Name: IsoClusterUnsupervisedClassification_Ex_02.py
 # Description: Uses an isodata clustering algorithm to determine the 
# characteristics of the natural groupings of cells in multidimensional 
# attribute space and stores the results in an output ASCII signature file.
 # Requirements: Spatial Analyst Extension
 # Author: ESRI
 
# Import system modules
 import arcpy
 import sys
 from arcpy import env
 from arcpy.sa import *
 

# Set environment settings
 env.workspace = "e:\Users\profiles\sjmeel77\Desktop\arcgis_jmeel"
 
# Set local variables
 inRaster = sys.argv[1]
 classes = 8
 minMembers = 50
 sampInterval = 15
 
# Check out the ArcGIS Spatial Analyst extension license
 arcpy.CheckOutExtension("Spatial")
 
# Execute IsoCluster
 
outUnsupervised = IsoClusterUnsupervisedClassification(inRaster, classes, minMembers, sampInterval)
 outUnsupervised.save("e:\Users\profiles\sjmeel77\Desktop\arcgis_jmeel\iso_clustre.pyoutunsup01.tif")
 
&lt;/PRE&gt;&lt;DIV style="display:none;"&gt; &lt;/DIV&gt;&lt;BR /&gt;&lt;SPAN&gt;and heres the error that appears after the process &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="plain" name="code"&gt;Traceback (most recent call last):
 File "e:\Users\profiles\sjmeel77\Desktop\arcgis_jmeel\iso_clustre.py", line 29, in &amp;lt;module&amp;gt;
 outUnsupervised = IsoClusterUnsupervisedClassification(inRaster, classes, minMembers, sampInterval)
 File "C:\Program Files (x86)\ArcGIS\Desktop10.0\arcpy\arcpy\sa\Functions.py", line 6607, in IsoClusterUnsupervisedClassification
 out_signature_file)
 File "C:\Program Files (x86)\ArcGIS\Desktop10.0\arcpy\arcpy\sa\Utils.py", line 47, in swapper
 result = wrapper(*args, **kwargs)
 File "C:\Program Files (x86)\ArcGIS\Desktop10.0\arcpy\arcpy\sa\Functions.py", line 6600, in wrapper
 out_signature_file)
 File "C:\Program Files (x86)\ArcGIS\Desktop10.0\arcpy\arcpy\geoprocessing\_base.py", line 474, in &amp;lt;lambda&amp;gt;
 return lambda *args: val(*gp_fixargs(args))
 ExecuteError: Failed to execute. Parameters are not valid.
 ERROR 000732: Input raster bands: Dataset 11 does not exist or is not supported
 ERROR 000735: Output classified raster: Value is required
 Failed to execute (IsoClusterUnsupervisedClassification).
&lt;/PRE&gt;&lt;DIV style="display:none;"&gt; &lt;/DIV&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;i have reached dead end so plz help me if u can&amp;nbsp; &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Nov 2011 10:18:26 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/aproblem-with-unsupervised-classification/m-p/309842#M24136</guid>
      <dc:creator>jmeelyounis</dc:creator>
      <dc:date>2011-11-30T10:18:26Z</dc:date>
    </item>
    <item>
      <title>Re: aproblem with unsupervised classification</title>
      <link>https://community.esri.com/t5/python-questions/aproblem-with-unsupervised-classification/m-p/309843#M24137</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Should be raw input&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;
outUnsupervised.save(&lt;STRONG&gt;r&lt;/STRONG&gt;"e:\Users\profiles\sjmeel77\Desktop\arcgis_jmeel\iso_clustre.pyoutunsup01.tif")&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 14:49:37 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/aproblem-with-unsupervised-classification/m-p/309843#M24137</guid>
      <dc:creator>MathewCoyle</dc:creator>
      <dc:date>2021-12-11T14:49:37Z</dc:date>
    </item>
  </channel>
</rss>

