Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cropland: Mali-National Level 2019 #239

Open
5 of 9 tasks
cnakalembe opened this issue Nov 9, 2022 · 14 comments
Open
5 of 9 tasks

Cropland: Mali-National Level 2019 #239

cnakalembe opened this issue Nov 9, 2022 · 14 comments
Assignees
Labels
crop map Generate new crop map

Comments

@cnakalembe
Copy link

cnakalembe commented Nov 9, 2022

Month: Feb
Year: 2019

  • Labeling project created
  • Set 1 Labeling: Ben, Diana, Aditya, Mirali
  • Set 2 Labeling: Abena, Isha, Bhanu, Taryn
  • Data added to the repository
  • LULC stratified labeling created
  • Set 1
  • Set 2
  • Model trained
  • Map made
@cnakalembe cnakalembe added the crop map Generate new crop map label Nov 9, 2022
@ivanzvonkov
Copy link
Collaborator

@cnakalembe what year?

@cnakalembe
Copy link
Author

cnakalembe commented Nov 12, 2022 via email

@ivanzvonkov ivanzvonkov changed the title Mali-National Level Cropland: Mali-National Level Nov 14, 2022
@ivanzvonkov ivanzvonkov changed the title Cropland: Mali-National Level Cropland: Mali-National Level 2022 Nov 14, 2022
@ivanzvonkov
Copy link
Collaborator

ivanzvonkov commented Nov 14, 2022

Context: When we randomly sample points for evaluation on CEO, 1% or less of the sample may be crop

Issue: Low crop sample size make evaluation difficult

Potential solution:

  • Consider stratification to have a representative sample that has more crops
  • List possible stratification strategies (E.g. by land cover map, by NDVI, by acroecozone, research other methods in the literature)
  • Visualize stratification strategies
  • Pick stratification strategy by democratic vote
  • Consider evaluation adjustments to match sample inclusion

@MsPixels
Copy link
Collaborator

From the literature review on stratification techniques, I summarized some of the methods used in the papers listed in the Google Doc -- https://docs.google.com/document/d/1QfBemFjJtRUJ3C8Z70tszGlNZo5iB50knRK0y6iusqk/edit

Happy to hear your comments!

@ivanzvonkov
Copy link
Collaborator

Read through the report in some more detail, great summaries!

@MsPixels
Copy link
Collaborator

MsPixels commented Nov 29, 2022

Context: NDVI by stratification is the easiest and most intuitive way of sampling random points

Issue: Low crop sample size makes evaluation difficult

Potential solution:

  • Research into NDVI by quartiles
  • Decide on NDVI metrics (median, mean, time period)
  • Write a code in GEE or Colab that performs stratification by NDVI using MODIS
  • Compare results to the random sampling results generated by CEO

@ivanzvonkov
Copy link
Collaborator

Changing year to 2019

@ivanzvonkov ivanzvonkov changed the title Cropland: Mali-National Level 2022 Cropland: Mali-National Level 2019 Dec 5, 2022
@MsPixels
Copy link
Collaborator

MsPixels commented Jan 10, 2023

@ivanzvonkov, @hannah-rae, I tried the NDVI by quartiles. What do you think?

Screen Shot 2023-01-10 at 1 34 04 PM

Also adding the GEE code - https://code.earthengine.google.com/0d6758d51ef68a4bbdb881d11edd1eb3

@ivanzvonkov ivanzvonkov self-assigned this Jan 23, 2023
@ivanzvonkov
Copy link
Collaborator

@MsPixels okay took a look at this in some more detail couple questions:

  1. How come the percentiles are [10,25,50,75,90] in ee.Reducer.percentiles, shouldn't it be [25, 50, 75]?
  2. How come the fourth region is percentiles.get("NDVI_p90")) shouldn't it be p100 or something like that?

After clarification of these questions the next step is to figure out how many points to sample. The Olofsson paper: https://www.sciencedirect.com/science/article/abs/pii/S0034425714000704 is one resource for this. Once you have that number we can figure out how to create a Collect Earth Online labeling set from these points.

@ivanzvonkov ivanzvonkov removed their assignment Jan 23, 2023
@MsPixels
Copy link
Collaborator

  1. @ivanzvonkov, I was curious about the difference between the 10th and 25th quartiles, that's why I calculated it. However, the 10th quartile doesn't reflect in the strata map. Also, the 25th, 50th, and 75th percentiles only exclude the woody vegetation zone of Mali.
    image

  2. Again, changing the 90th percentile to the 100th generalizes the map.
    image

@ivanzvonkov
Copy link
Collaborator

Okay I see. So given:

NDVI_p25: 0.09578940770143446
NDVI_p50: 0.1190916155868571
NDVI_p75: 0.19721850558714377
NDVI_p90: 0.2832040283154737

As I understand your suggestion is:

  • strata 1: NDVI p0 - p50
  • strata 2: NDVI p50 - p75
  • strata 3: NDVI p75 - p90
  • strata 4: NDVI p90 - p100

But these are not true quartiles, right?
Wouldn't quartiles be:

  • strata 1: NDVI p0 - p25
  • strata 2: NDVI p25 - p50
  • strata 3: NDVI p50 - p75
  • strata 4: NDVI p75 - p100

This can be plotted with:

var NDVI_threshold = ee.Image(1)
      .where(clip.gte(ee.Number(percentiles.get("NDVI_p25"))), 2)
      .where(clip.gte(ee.Number(percentiles.get("NDVI_p50"))), 3)
      .where(clip.gte(ee.Number(percentiles.get("NDVI_p75"))), 4)
      ;

Would this make more sense as a stratification? What are the pros and cons of your suggested ranges?

@MsPixels
Copy link
Collaborator

MsPixels commented Jan 30, 2023

I chose the 25th, 50th, 75th, and 90th percentiles based on this article I found Long-Term_Land_UseLand_Cover_Change_Assessment_of_the_Kilombero_Catchment_in_Tanzania. I will go ahead and use the quartiles you suggested.

@MsPixels
Copy link
Collaborator

Also, after going through Olofsson's paper, I came up with this sampling design for three scenarios based on the standard error of the overall accuracy. Will be on standby for your comments. Sampling Design for Mali

@MsPixels
Copy link
Collaborator

Stratification by LULC. This code combines 11 LULC layers to get a majority vote of crop and noncrop zones. Based on the strata, I sampled the crop and noncrop points.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
crop map Generate new crop map
Projects
None yet
Development

No branches or pull requests

5 participants