Skip to main content

Questions tagged [stratified-sampling]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
2 votes
1 answer
413 views

How to add a randomColumn to a Feature Collection while maintaining strata in Google Earth Engine?

I am creating training and test data for a Random Forest model using Google Earth Engine (Python API). I have used stratifiedSample() to create a Feature Collection of sample points within my training ...
Matt's user avatar
  • 17.4k
2 votes
2 answers
1k views

Stratified random sampling in R

I want to generate 5 pairs of random points per each stratum. I have 4 strata that represent different rock types. For each rock type i want to generate 5 random points and to each random point I want ...
Luc's user avatar
  • 21
2 votes
0 answers
113 views

Designing stratified random sampling considering two or more shapefiles in QGIS

I have two different shapefiles, one containing field boundaries other is a soil class. I want to choose stratified random sampling points (around 200 points) which will be representative of both ...
tawhid hossain's user avatar
1 vote
0 answers
257 views

Sampling random points over each class of a Classification in GEE

I performed an Unsupervised Classification in GEE and I have 3 classes. I need to create random points in each class in order to draw a histogram of spectral signature later. In line 150 of the script ...
Paris's user avatar
  • 591
0 votes
1 answer
775 views

Random sampling In Google Earth Engine

I want to select random 90000 pixels/points from region of interest wherever there is built-up area. To my surprise when I print number of pixels selected it shows only 1044. I am literally lost how ...
Muddasir Ahmad Akhoon's user avatar
0 votes
1 answer
45 views

Using ee.Image.stratifiedSample with .smileRandomForest produces type error (python)

Can you advise me on how to correctly use .stratifiedSample to prep input for .smileRandomForest, using Google Earth Engine (GEE) Python API? I'm trying to create training data with .stratifiedSample. ...
user2748630's user avatar
-1 votes
1 answer
182 views

Creating fishnet based on DMS Coordinates

I am trying to create a random sampling map of an ocean area. To do this, I would like to create cells that are 1' x 1' in size (one minute by one minute in DMS). My map is using WGS 1984 Web Mercator ...
Chris's user avatar
  • 1