Questions tagged [random-forest]
An ensemble classifier that consists of many decision trees and outputs the class that is the mode of the classes output by individual trees
151 questions
2 votes
1 answer
97 views
Extracting raster band values for each cell into GeoDataFrame using Python
I am building a simple random forest classification model. This requires samples of data points, in this case, the stacked band values at different coordinate (x, y) points. I am using a GeoPandas ...
0 votes
1 answer
43 views
Number of votes of final decision in a random forest Google Earth Engine
I am attempting to determine the number of votes that contribute to the final decision in the Google Earth Engine Random Forest algorithm. However, I am unsure how to obtain this information. Could ...
0 votes
1 answer
131 views
Computation timed out error in Google Earth Engine
I'm new to GEE. I am trying to use random forest classification to identify solar panels in a region of Brazil using a Landsat 8 median image and derived bands. However, the dataset seems to be too ...
0 votes
1 answer
140 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. ...
0 votes
1 answer
63 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....
0 votes
1 answer
212 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 ...
1 vote
0 answers
179 views
Using raster images as explanatory variables in regression model in python
I have yield data and multiple vegetation indices values in a tabulated form for multiple years. I applied machine learning regressors using the .csv file and tested the performance. The random forest ...
-2 votes
1 answer
88 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/...
2 votes
0 answers
486 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 ...
0 votes
1 answer
563 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 ...
1 vote
1 answer
803 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 ...
1 vote
0 answers
610 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: ...
0 votes
1 answer
201 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 ...
0 votes
0 answers
161 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....
0 votes
1 answer
268 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 ...