The Publish Machine Learning Model tool uploads a trained ENVI Machine Learning model as a package to an ENVI Repository.

You can also write a script to publish Machine Learning models to the ENVI Repository using the PublishMachineLearningModel task.

  1. From the ENVI Toolbox, select Machine Learning > Publish Machine Learning Model. The Publish Machine Learning Model dialog appears.
  2. Click the Browse button next to the Input Model field. The Select Machine Learning Model File dialog displays.
  3. Select the model to publish. If trained models are saved to the Output Directory set in your ENVI preference, they will automatically appear in the list of models. Or, to select a trained model file from a different directory, click the Open button , select the model, and click Open to add it to the list of models.
  4. Enter a Name for the package.
  5. Enter a Display Name for the package, if you want the name that appears in the ENVI Repository to be different from the entry in Name.
  6. Optionally, enter a Description of the package.
  7. Enter a Version number for the trained model package (example: 1.0.0). This parameter is used to track the iteration or release of the model for documentation, debugging, and compatibility purposes. This number can be incremented if the model already exists and you are publishing a new version of it.

  8. In the Repository URL drop-down list, select a registered repository to which to publish the package. Or, enter the URL and port number for an ENVI Repository server.
  9. 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.

  10. 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.

  11. Click OK to upload the package.

See Also


Refer to ENVI Help for more details on the ENVI Repository.