To use this function, the input table should be a set of results containing both the label assigned by the user and the classification result. Accuracy assessment set us a confusion matrix to determine the accuracy of your classified result. This function uses an area-weighted technique proposed by Olofsson et al. to produce accuracy estimates that are more reliable.
This function calls twdtwAssess
from dtwSat.
twdtwAssess
performs an accuracy assessment of the classified, including
Overall Accuracy, User's Accuracy, Produce's Accuracy, error matrix (confusion matrix),
and estimated area according to [1-2].
sits_accuracy_area(class.tb, area = NULL, conf.int = 0.95,
rm.nosample = FALSE)
A sits tibble with a set of lat/long/time locations with known and trusted labels and with the result of classification method.
A list with the area of each label.
Specifies the confidence level (0-1).
If sum of columns and sum of rows of the error matrix are zero then remove class. Default is TRUE.
[1] Olofsson, P., Foody, G.M., Stehman, S.V., Woodcock, C.E. (2013). Making better use of accuracy data in land change studies: Estimating accuracy and area and quantifying uncertainty using stratified estimation. Remote Sensing of Environment, 129, pp.122-131.
[2] Olofsson, P., Foody G.M., Herold M., Stehman, S.V., Woodcock, C.E., Wulder, M.A. (2014) Good practices for estimating area and assessing accuracy of land change. Remote Sensing of Environment, 148, pp. 42-57.