Create unsupervised dataset (from spectral library)

Create an unsupervised dataset from spectral profiles and store the result as a pickle file.


Spectral library [vector]

Spectral library with feature data X (i.e. spectral profiles). It is assumed, but not enforced, that the spectral characteristics of all spectral profiles match. If not all spectral profiles share the same number of spectral bands, an error is raised.

Field with spectral profiles used as features [field]

Field with spectral profiles used as feature data X. If not selected, the default field named “profiles” is used. If that is also not available, an error is raised.


Output dataset [fileDestination]

Pickle file destination.

Command-line usage

>qgis_process help enmapbox:CreateUnsupervisedDatasetFromSpectralLibrary:


library: Spectral library
    Argument type:  vector
    Acceptable values:
            - Path to a vector layer
field: Field with spectral profiles used as features (optional)
    Argument type:  field
    Acceptable values:
            - The name of an existing field
            - ; delimited list of existing field names
outputUnsupervisedDataset: Output dataset
    Argument type:  fileDestination
    Acceptable values:
            - Path for new file


outputUnsupervisedDataset: <outputFile>
    Output dataset