The Machine Learning Classification tool performs classification for all ENVI Machine Learning model types.

You can also write a script to perform classification for all ENVI Machine Learning model types using the MachineLearningClassification task.

  1. From the Toolbox, select Machine Learning > Machine Learning Classification. The Machine Learning Classification dialog appears.
  2. Click the Browse button next to the Input Raster field. In the Data Selection dialog that appears, select the input raster, perform optional spatial and spectral subsetting and/or masking, then click OK.
  3. In the Input Model field, select a trained machine learning model to use for classifying the input raster.
  4. In the Normalize field, you can optionally apply normalization statistics to the raster that will be used for classification by specifying Min and Max data values that correspond to 0% and 100% reflectance.

  5. In the Output Raster field, enter a location and filename for the classification raster.
  6. Enable the Display result check box to display the output in the view when processing is complete.
  7. To reuse these task settings in future ENVI sessions, save them to a file. Click the down arrow and select Save Parameter Values, then specify the location and filename to save to. Note that some parameter types, such as rasters, vectors, and ROIs, will not be saved with the file. To apply the saved task settings, click the down arrow and select Restore Parameter Values, then select the file where you previously stored your settings.

  8. You can run the process in the background on your computer or in the background on an ENVI Server (if available). Click the down arrow next to the OK button and select one of the following:

    • Run Task in the Background: Runs the process on your computer. This method does not use an ENVI Server. The job progress will show in the ENVI Job Console's Background Jobs tab.
    • Run Task on envi_server_name. Runs the process on the selected ENVI Server. The job progress will show in the ENVI Job Console's envi_server_name tab.

    In ENVI Help, see ENVI Job Console for details on monitoring ENVI Server jobs and viewing results, and see ENVI Servers for details on setting up an ENVI Server.

  9. Click OK.

See Also


Machine Learning Labeling Tool