{"id":384,"date":"2018-05-03T14:36:04","date_gmt":"2018-05-03T12:36:04","guid":{"rendered":"https:\/\/blogs.fu-berlin.de\/reseda\/?page_id=384"},"modified":"2018-10-03T14:48:13","modified_gmt":"2018-10-03T12:48:13","slug":"validate","status":"publish","type":"page","link":"https:\/\/blogs.fu-berlin.de\/reseda\/validate\/","title":{"rendered":"Validate"},"content":{"rendered":"<p>By now, you have generated your classification map, great! But can you rely on the map&#8217;s information? To underpin the meaningfulness of your results, a validation is needed.<br \/>\nThe validation of remote sensing data is the last step in our workflow. The purpose of this chapter is to describe standard and advanced methods for validating a classification map.<\/p>\n<div style=\"background-color:#f1f1f1;padding:18px 30px 1px\">\n<h1>Chapter in a Box<\/h1>\n<p>In this chapter, the following content awaits you:<\/p>\n<p><a href=\"#1\"><strong>Validation Intro<\/strong><\/a><br \/>\n&#8211; training, testing, validation &#8211; use the right terminology<br \/>\n&#8211; best validation practice for remote sensing<br \/>\n<a href=\"https:\/\/blogs.fu-berlin.de\/reseda\/create-samples-in-r\/\"><strong>Create Samples in R<\/strong><\/a><br \/>\n&#8211; stratified random sampling in R<br \/>\n&#8211; generation and export of point coordinates as shapefile for usage in QGIS<br \/>\n<a href=\"https:\/\/blogs.fu-berlin.de\/reseda\/label-samples-in-qgis\/\"><strong>Label Samples in QGIS<\/strong><\/a><br \/>\n&#8211; import of point shapefile<br \/>\n&#8211; label points according to their class membership<br \/>\n&#8211; use Landsat and very high resolution basemaps as validation basis for labeling<br \/>\n&#8211; save labeled point shapefile<br \/>\n<a href=\"https:\/\/blogs.fu-berlin.de\/reseda\/accuracy-statistics-in-r\/\"><strong>Accuracy Statistics in R<\/strong><\/a><br \/>\n&#8211; generate a complete accuracy matrix in R<br \/>\n&#8211; calculate confidence intervalls for overall accuracies<br \/>\n&#8211; calculate kappa statistics<br \/>\n<a href=\"https:\/\/blogs.fu-berlin.de\/reseda\/area-adjusted-accuracies\/\"><strong>Area Adjusted Accuracies<\/strong><\/a><br \/>\n&#8211; calculate area weighted accuracy statistics according to <a href=\"http:\/\/reddcr.go.cr\/sites\/default\/files\/centro-de-documentacion\/olofsson_et_al._2014_-_good_practices_for_estimating_area_and_assessing_accuracy_of_land_change.pdf\" rel=\"noopener\" target=\"_blank\">Olofsson et al. 2014<\/a>\n<\/div>\n<p><a name=\"1\"><\/a><\/p>\n<h1>Validation Intro<\/h1>\n<p><strong>Training dataset<\/strong>: A model is initially fit on a training sample dataset. The model iteratively learn from those training samples and tries to map data \\(x\\) to output response \\(y\\).<\/p>\n<p><strong>Testing dataset<\/strong>: During training, algorithms often use a testing dataset for an unbiased evaluation of a model fit while tuning the model&#8217;s hyperparameter, e.g., \\(mtry\\) for RF, or \\(\\gamma\\) and \\(C\\) for SVM. The testing dataset is generated internally, e.g., in the form of OOB samples in RF, or cross validation in SVM. <\/p>\n<p><strong>Validation dataset<\/strong>: Finally, a validation dataset is completely independent from the other two datasets and provides an unbiased evaluation of a model fit. <\/p>\n<p>All right, so what is the best validation practice for remote sensing studies?<\/p>\n<ol>\n<li>automatically create multiple point coordinates all over your study area or your classification extent<\/li>\n<li>manually attribute the corresponding class labels to all of those point coordinates (labeling)<\/li>\n<li>statistically examine the deviations and matches between the manually assigned class labels and the labels assigned by the classificator at any given point coordinates<\/li>\n<\/ol>\n<p>In the following, we want to present a best practice workflow for a classification in detail.<\/p>\n<p><\/br><\/br><\/p>\n<hr style=\"height:4px;background-color:#6b9e1f\">\n<a href=\"https:\/\/blogs.fu-berlin.de\/reseda\/create-samples-in-r\/\"><br \/>\n<button style=\"width:100%;text-align:right;padding: 10 0;background-color:white;margin:-55px 0 0 0\"><\/p>\n<div style=\"font-family: 'Noto Sans',sans-serif;line-height: 1.2\">\n<span style=\"font-size: 12px;color:#bfbfbf\"><strong><em>NEXT<\/em><\/strong><\/span><br \/>\n<span style=\"font-size: 30px;color:#6b9e1f\"><strong><em>Create Samples in R<\/em><\/strong><\/span>\n<\/div>\n<p><\/button><\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>By now, you have generated your classification map, great! But can you rely on the map&#8217;s information? To underpin the meaningfulness of your results, a validation is needed. The validation of remote sensing data is the last step in our workflow. The purpose of this chapter is to describe standard and advanced methods for validating &hellip; <a href=\"https:\/\/blogs.fu-berlin.de\/reseda\/validate\/\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;Validate&#8221;<\/span><\/a><\/p>\n","protected":false},"author":3237,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-384","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/blogs.fu-berlin.de\/reseda\/wp-json\/wp\/v2\/pages\/384","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blogs.fu-berlin.de\/reseda\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/blogs.fu-berlin.de\/reseda\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/blogs.fu-berlin.de\/reseda\/wp-json\/wp\/v2\/users\/3237"}],"replies":[{"embeddable":true,"href":"https:\/\/blogs.fu-berlin.de\/reseda\/wp-json\/wp\/v2\/comments?post=384"}],"version-history":[{"count":15,"href":"https:\/\/blogs.fu-berlin.de\/reseda\/wp-json\/wp\/v2\/pages\/384\/revisions"}],"predecessor-version":[{"id":2785,"href":"https:\/\/blogs.fu-berlin.de\/reseda\/wp-json\/wp\/v2\/pages\/384\/revisions\/2785"}],"wp:attachment":[{"href":"https:\/\/blogs.fu-berlin.de\/reseda\/wp-json\/wp\/v2\/media?parent=384"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}