Commit 9c030688 authored by Daniel Scheffler's avatar Daniel Scheffler
Browse files

Added weights attribute to prediction result.


Signed-off-by: Daniel Scheffler's avatarDaniel Scheffler <danschef@gfz-potsdam.de>
parent 55bdd607
......@@ -7,6 +7,9 @@ History
* Solved matplotlib DeprecationWarning.
* 'make lint' now directly prints the log output.
* Revised RSImage_ClusterPredictor.predict() to improve speed
(reduced processing time to 70-50% of the previous version).
* Added weights attribute to prediction result.
0.9.3 (2020-12-15)
......
......@@ -600,6 +600,9 @@ class RSImage_ClusterPredictor(object):
# copy mask_nodata
image_predicted.mask_nodata = image.mask_nodata
# append weights to predicted image
image_predicted.weights = weights
# image_predicted.save(
# '/home/gfz-fe/scheffler/temp/SPECHOM_py/image_predicted_QRclust1_MinDist_noB9.bsq')
# GeoArray(self.classif_map).save(
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment