Classify by raster issues

Description

http://forum.step.esa.int/t/random-forest-classifier-feature-error-by-applying-a-rfc/7824
"Random Forest Classifier - Feature error by applying a RFC"
Classifiers (that are trained on raster) do not work when loaded back.

Environment

None

GitHub Work

None

Activity

Show:

Cecilia Wong7 February 2018 at 14:25

The code has been pushed to a branch called Array. The modified files pushed are:

  • snap-desktop\snap-classification-ui\src\main\java\org\esa\snap\classification\gpf\ui\BaseClassifierOpUI.java

  • snap-desktop\snap-classification-ui\src\main\resources\org\esa\snap\classification\docs\operators\SupervisedClassification.html

  • snap-engine\snap-classification\src\main\java\org\esa\snap\classification\gpf\BaseClassifier.java

Cecilia Wong29 January 2018 at 14:09

Hopefully, this would fix the issue described in
http://forum.step.esa.int/t/random-forest-classifier-feature-error-by-applying-a-rfc/7824

Fixes:

  • Added warning to user if overwriting old saved classifier

  • Improved error handling in loading classifiers

  • Improved error handling in general

  • Disabled evaluation of loaded classifier (it was not working)

  • Removed option for user to choose labels (it was not working, not fully implemented?)

  • Fixed bug in data type of the label band when train on raster

Fixed

Details

Assignee

Reporter

Fix versions

Affects versions

Priority

Created 29 January 2018 at 13:50
Updated 27 February 2019 at 14:52
Resolved 29 January 2018 at 14:09