Questions tagged [confusion-matrix]

A confusion matrix contains information about actual and predicted classifications done by a classification system.

Filter by
Sorted by
Tagged with
1 vote
0 answers
32 views

Fatal error using orfeo toolbox (otb 8.0.0) algorithm Computeconfusionmatrix in QGIS 3.22

I tried to compute a confusion matrix of a raster classification with otb's Computeconfusionmatrix using vector data (polygons) as reference input. When I run the same algorithm in mapla (otb ...
user avatar
  • 11
0 votes
0 answers
19 views

Accuracy assessment of land class covers in ArcGIS

I want to compare the accuracy of citizen scientists in mapping a satellite image by using a raster labelled by an expert as my ground truth. How can I do this in ArcGIS Pro? What I've tried so far: I'...
user avatar
  • 11
0 votes
1 answer
42 views

What's the use of ImageCollection.errorMatrix() in Google Earth Engine?

In the docs there are two versions of the errorMatrix function: ee.FeatureCollection.errorMatrix and ee.ImageCollection.errorMatrix I've been sampling points from my classified images to create error ...
user avatar
  • 77
0 votes
0 answers
49 views

Accuracy of threshold images

I am studying on identifying flood zones using Google Earth Engine. I calculated the NDWI index for the Sentinel 2 image. Then I set a threshold according to the OTSU thresholding method. I classified ...
user avatar
1 vote
1 answer
211 views

Creating formatted chart for Confusion Matrix using Google Earth Engine

I was curious how to create a formatted Confusion Matrix: (https://developers.google.com/earth-engine/apidocs/ee-confusionmatrix) I've completed my Supervised Classification, and I've created a ...
user avatar
0 votes
0 answers
105 views

GEE: How can I create error matrices from a large list of feature collections?

I have a list of feature collections, from which I want to produce error matrices. If I select one FC and create an error matrix I have no issue. If I use map to create 3 or 4, it usually works. If I ...
user avatar
  • 77
0 votes
1 answer
162 views

Accuracy assessment in GEE with an external data source

I'm new on GEE and I'm trying to perform an accuracy assessment of a supervised classification from S1 of a flood area, by the use of a confusion matrix. Once the model is created, in order to ...
user avatar
0 votes
0 answers
80 views

Confusion Matrix in ArcGIS Pro not for accuracy but comparing two raster

I am wondering how to calculate or process confusion matrix on ArcGIS or other software for two raster data? I have tried to do it on ArcGIS by create accuracy point (~700 random point) to get the ...
user avatar
0 votes
0 answers
213 views

How to redesign confusion matrices from Ecognition with python and seaborn?

I am using eCognition manual classification as a baseline for performance comparison with other 3D classification methods. For each method, I am creating confusion matrices in python with sklearn and ...
user avatar
2 votes
1 answer
433 views

Confusion matrices for two lists of raster objects

I have two lists of raster objects. One contains validation plots and the other contains results from a random forest binary classification of those plots. I would like to loop through both lists ...
user avatar
1 vote
1 answer
166 views

How to exclude/eliminate invalid areas (such as NoData, cloud, water, etc) from raster so that it does not effect the accuracy assessment?

I have two classified raster (snow cover % 10-100) one is prepared from coarse resolution and another is from finer resolution. I am doing accuracy assessment and matrix calculation of snow cover %. ...
user avatar
  • 57
1 vote
0 answers
80 views

When creating a confusion matrix, can you have more ground-truth points than the recommended 10-times the number of classes you have?

Using ArcGIS Pro, I classified a field of grain sorghum (supervises, pixel-based support vector machine) using 5 classes: Soil, Shadows, Leaves, Heads, and Ground targets (this was a UAS study). The ...
user avatar
  • 463
1 vote
1 answer
389 views

Get a Confusion matrix in QGIS from two vectors

How and with what QGIS tools can I get a confusion matrix from a vector polygon layer as a verifiable classification and a vector point sample layer as a reference classification? That is, if the ...
user avatar
3 votes
1 answer
880 views

Splitting up a region into training data and validation data for Landsat7 classification

I am building a classifier for Landsat7 by using MODIS land cover classification. My goal is to split up my region of interest into 80% being training data and 20% being validation data (with a ...
user avatar
  • 61
2 votes
0 answers
945 views

Change size to the squares of the confusion matrix [closed]

I have a problem with size in the 'plot_confusion_matrix', the squares of the confusion matrix appear cut off. I would like to solve this problem. svc = SVC(kernel='linear',C=1,probability=True) svc....
user avatar
  • 365
1 vote
0 answers
433 views

Confusion matrix from supervised learning

I am performing a supervised classification in GEE and want to verify how well my classifier has got trained. For this, I found a method confusionMatrix() and my respective program is var training = ...
user avatar
  • 103
0 votes
1 answer
487 views

Generating confusion matrix using classified image with geotiff format?

I am working on yielding a confusion matrix with importing an image which is a geotiff format. After classified by a python program, The image has two values (two classifications). However, when I ...
user avatar
3 votes
1 answer
1k views

Confusion Matrix R

I'm having some problems to understand the result of my confusion matrix. Here is my case: I've run a classification (random forest) on a satellite image. To do so, I created 50 random points for ...
user avatar
  • 1,058
0 votes
1 answer
799 views

Ground truthing with Google Earth

I need to obtain ground truth data of Google Earth for a certain region for the purpose of constructing confusion matrix. The data should correspond to Landcover classes. My main aim is to construct ...
user avatar
0 votes
1 answer
264 views

Classification validation: Trouble with the Confusion Matrix

I'm supposed to validate my supervised classification with a Confusion Matrix, but I'm having a hard time getting what I should use as a comparison. At first, I used the same ROIs I created for ...
user avatar
  • 348
4 votes
1 answer
3k views

Confusion matrix in ArcGIS 10.3

How can I get a confusion matrix using specific columns in two different rasters in ArcGIS ? I have one raster of risk classes 1,2,3,4 and another raster of land cover A, B, C,D. I am looking for a ...
user avatar
  • 351
1 vote
0 answers
254 views

Supervised Random Forest in R

I did an image classification using random forest algorithm in R. I got the result but I do not understand what does the confusion matrix shows ? I mean what does the rows and column show? These are ...
user avatar
  • 11
3 votes
1 answer
6k views

Random Forest out of the bag and confusion matrix

I have implemented Random Forest classifier to classify remote sensing data in R. The original code comes from here: How to perform Random Forest land classification? Everything works fine, but what ...
user avatar
  • 76
-1 votes
1 answer
1k views

How to interpret accuracy assessment results for classified data?

eCognition has the ability to perform an accuracy assessment for classified data by using an error matrix based on a TTA mask. The image shows the results of the accuracy assessment. Is there a ...
user avatar
  • 15
2 votes
2 answers
928 views

R: creating an error matrix from two rasters

I have two land use rasters (6 classes each) and I'd like to create an error matrix (errors of omission and commission) from them both. The premise is that I have a very fine 'base' raster and have ...
user avatar
  • 1,560
3 votes
1 answer
1k views

Remote sensing accuracy assessment - McNemar`s Test

I would like to know how you determine the f12, f21 parameters for use in the McNemar`s test when for example I have two confusion matrices such as below: (where f12 = number of cells misclassified ...
user avatar
  • 31
0 votes
1 answer
2k views

Doing Accuracy Assessment using test data from shapefile in ENVI?

ENVI 5.2.1. From a .tiff image (4 bands) I created a Supervised Classification Maximum Likelihood .dat file. Now I want to perform an Accuracy Assessment using test data from a shapefile. I've tried ...
user avatar
  • 41
3 votes
1 answer
3k views

Building confusion matrix for image classification using SAGA?

I did a supervised classification of a Landsat image subset using my training data polygons. I used SAGA GIS for that and everything worked out fine. Now I am stuck since I have no clue how to ...
user avatar
  • 1,180