original_docstring: Performs a modified k-means clustering operation on a multi-spectral dataset.
  
          Keyword arguments:
  
          inputs -- Input raster files. 
          output -- Output raster file. 
          out_html -- Output HTML report file. 
          start_clusters -- Initial number of clusters. 
          merger_dist -- Cluster merger distance. 
          max_iterations -- Maximum number of iterations. 
          class_change -- Minimum percent of cells changed between iterations before completion. 
          callback -- Custom functon for handling tool text outputs.
          
docstring: Performs a modified k-means clustering operation on a multi-spectral dataset.
  Keyword arguments.
  
  - Input raster files.
  output -- Output raster file.
  out_html -- Output HTML report file.
  start_clusters -- Initial number of clusters.
  merger_dist -- Cluster merger distance.
  max_iterations -- Maximum number of iterations.
  class_change -- Minimum percent of cells changed between iterations before completion.
  callback -- Custom functon for handling tool text outputs.
docstring_tokens: Performs a modified k - means clustering operation on a multi - spectral dataset . Keyword arguments . - Input raster files . output -- Output raster file . out_html -- Output HTML report file . start_clusters -- Initial number of clusters . merger_dist -- Cluster merger distance . max_iterations -- Maximum number of iterations . class_change -- Minimum percent of cells changed between iterations before completion . callback -- Custom functon for handling tool text outputs .
code: def modified_k_means_clustering(self, inputs, output, out_html=None, start_clusters=1000, merger_dist=None, max_iterations=10, class_change=2.0, callback=default_callback):
          """Performs a modified k-means clustering operation on a multi-spectral dataset.
  
          Keyword arguments:
  
          inputs -- Input raster files. 
          output -- Output raster file. 
          out_html -- Output HTML report file. 
          start_clusters -- Initial number of clusters. 
          merger_dist -- Cluster merger distance. 
          max_iterations -- Maximum number of iterations. 
          class_change -- Minimum percent of cells changed between iterations before completion. 
          callback -- Custom functon for handling tool text outputs.
          """
          args = []
          args.append("--inputs='{}'".format(inputs))
          args.append("--output='{}'".format(output))
          if out_html is not None: args.append("--out_html='{}'".format(out_html))
          args.append("--start_clusters={}".format(start_clusters))
          if merger_dist is not None: args.append("--merger_dist='{}'".format(merger_dist))
          args.append("--max_iterations={}".format(max_iterations))
          args.append("--class_change={}".format(class_change))
          return self.run_tool('modified_k_means_clustering', args, callback)
code_tokens: def modified_k_means_clustering ( self , inputs , output , out_html = None , start_clusters = 1000 , merger_dist = None , max_iterations = 10 , class_change = 2.0 , callback = default_callback ) : args = [ ] args . append ( "--inputs='{}'" . format ( inputs ) ) args . append ( "--output='{}'" . format ( output ) ) if out_html is not None : args . append ( "--out_html='{}'" . format ( out_html ) ) args . append ( "--start_clusters={}" . format ( start_clusters ) ) if merger_dist is not None : args . append ( "--merger_dist='{}'" . format ( merger_dist ) ) args . append ( "--max_iterations={}" . format ( max_iterations ) ) args . append ( "--class_change={}" . format ( class_change ) ) return self . run_tool ( 'modified_k_means_clustering' , args , callback )
short_docstring: Performs a modified k-means clustering operation on a multi-spectral dataset.
short_docstring_tokens: Performs a modified k - means clustering operation on a multi - spectral dataset .
comment: """Performs a modified k-means clustering operation on a multi-spectral dataset.
  
          Keyword arguments:
  
          inputs -- Input raster files. 
          output -- Output raster file. 
          out_html -- Output HTML report file. 
          start_clusters -- Initial number of clusters. 
          merger_dist -- Cluster merger distance. 
          max_iterations -- Maximum number of iterations. 
          class_change -- Minimum percent of cells changed between iterations before completion. 
          callback -- Custom functon for handling tool text outputs.
          """