Skip to main content

All Questions

0 votes
0 answers
30 views

Saving pretrained random forest model for probability predictions in Google Earth Engine

I'm trying to export a pre-trained random forest model as an asset in Google Earth Engine, and then load it back in to predict on new data. The model is trained for binary classification, and I'd like ...
Nissim Lebovits's user avatar
0 votes
1 answer
47 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
0 votes
1 answer
36 views

Random Forest error

I have tried a LULC classification using random forest algorithm in Google Earth Engine but error showing: Layer error: Property 'B2' of feature '0' is missing. My script code: https://code....
Debasish Samanta's user avatar
0 votes
1 answer
67 views

Balancing data for doing Random Forest in Google Earth Engine

I am trying to do a Random Forest in Google Earth Engine. My data is unbalanced (more or less I have 3 times more points of one class) so I want to balance them. I tried to give different weights to ...
Omar Tomas's user avatar
-2 votes
1 answer
44 views

Land cover analysis GEE

I want to do a time series analysis analysis for land cover classification. For 2024 I am using this dataset COPERNICUS/S2_SR_HARMONIZED https://developers.google.com/earth-engine/datasets/catalog/...
Sonia Das's user avatar
0 votes
0 answers
26 views

Random forest invalid data

I'm trying to classify forest habitats at a 10-meter resolution. I have imported my points from a shapefile that contains habitat categories for each sampled point in the "target" column. I ...
Ecostudent's user avatar
2 votes
0 answers
188 views

Google Earth Engine k-fold cross-validation

I wrote a script for Google Earth Engine that allows me to analyze geospatial data. Initially, I loaded three data sets: a predictor shapefile, a forecast area shapefile, and a collection of landslide ...
gabrielenapolinic's user avatar
0 votes
1 answer
288 views

Extracting confusion matrix values in GEE

I am training a random forest model in Google Earth Engine, and I want to output the confusion matrices so I know which classes are being confused for which. By default, the confusion matrix is ...
Matt's user avatar
  • 151
1 vote
1 answer
387 views

Random forests Google Earth Engine

I have been trying to train a random forests algorithm to sort of predict fire occurrences, using MODIS fire occurrence data as an outcome variable and elevation, distance from urban areas, air ...
tcf's user avatar
  • 11
0 votes
0 answers
37 views

Corn Field Classification: Layer error: No valid training data were found

I have a code in GEE for crop mapping. I also have the shape of training points. but after running I faced an error: No valid training data were found. Please Help me how can I fix the code? The ...
bahare bahmanabadi's user avatar
1 vote
0 answers
342 views

GEE script for hyperparameter tuning for random forest regression with grid search

Is there any script GEE for hyperparameter tuning for random forest regression with grid search? Here's the code: // Hyperparameter Tuning var test = bands.sampleRegions({ collection: ...
galcit's user avatar
  • 21
0 votes
1 answer
104 views

GEE error: Unable to compute error margin in invalid area of projection (EPSG:32750: ........0))

i tried to visualize the regression from random forest, but it cannon appear in console or map, the variable predictor has been export by same scale and crs. why this is happen? // Display the input ...
galcit's user avatar
  • 21
0 votes
0 answers
437 views

Estimating forest cover density through Google Earth Engine

I am trying to make a forest cover map (estimating forest canopy density) of a particular district and block. But I don't know where to start since I am a beginner. I have researched and came to a ...
Spandan Kumar's user avatar
0 votes
0 answers
104 views

Exporting classified land cover class as an asset for NDVI calculations

I have conducted a supervised classification in Google Earth Engine using Random Forest, to which I have provided the code. https://code.earthengine.google.com/3b3d4583f26a4651f4fbe10aa80c5f30 Map....
Erika's user avatar
  • 1
0 votes
1 answer
154 views

Exporting raster to my assets

I am working on a vegetation type classification using random forest and Sentinel-2 imagery, and I would like to export my final output map (GeoTIFF) which contains 7 classes and some masked areas ...
leeng's user avatar
  • 1

15 30 50 per page
1
2 3 4 5 6