Skip to content
Snippets Groups Projects
pbclassif.rst 42.4 KiB
Newer Older
  • Learn to ignore specific revisions
  • 
    Once the model is trained, it can be used in application to perform the
    prediction on an entire image containing input predictors (i.e. an image
    with only *n* feature components). If the model was trained with
    normalization, the same statistic file must be used for prediction. The
    
    behavior of with respect to statistic file is identical to:
    
    -  no statistic file: normalization off
    
    -  *n* components: input only
    
    -  *n+1* components: input and output
    
    
    The model to use is read from file (the one produced during training).
    
    ::
    
        otbcli_PredictRegression  -in     features_bis.tif
                                  -model  model.txt
                                  -imstat stats.xml
                                  -out    prediction.tif