[GRASS-git] [OSGeo/grass-addons] 076ca2: r.confusionmatrix: Support usage of a single class...
griembauer
noreply at github.com
Wed Jan 20 00:22:20 PST 2021
Branch: refs/heads/master
Home: https://github.com/OSGeo/grass-addons
Commit: 076ca2969230b9dbb7528ab5b4161817128145f1
https://github.com/OSGeo/grass-addons/commit/076ca2969230b9dbb7528ab5b4161817128145f1
Author: griembauer <62383722+griembauer at users.noreply.github.com>
Date: 2021-01-20 (Wed, 20 Jan 2021)
Changed paths:
M grass7/raster/r.confusionmatrix/r.confusionmatrix.py
M grass7/raster/r.confusionmatrix/testsuite/data/confusionmatrix_raster_matrix.csv
A grass7/raster/r.confusionmatrix/testsuite/data/confusionmatrix_raster_matrix_oneclass.csv
M grass7/raster/r.confusionmatrix/testsuite/test_r_confusionmatrix.py
Log Message:
-----------
r.confusionmatrix: Support usage of a single class in reference (#409)
* add handling for single class
* remove unnecessary line printing
* add test
* change csv.writer linedelimiter to `\n`
More information about the grass-commit
mailing list