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

Filter by
Sorted by
Tagged with
0
votes
1answer
48 views

Getting forest area (km2) of a region after the classification by RF considering the >10% tree cover and 0.5Ha?

I am trying to make a yearly image collection using Landsat images, then trying to make a classification using Random forest for the image of the years 1990, 1995, 2000, 2005, 2010, 2015 and 2020. I ...
0
votes
0answers
38 views

Smile Random Forest / computation timed out /Computed value is too large

I want to make a binary clasificación (1 = burned area, 0 = non burned area) using smile random forest, to train Sentinel 2 SR (12 band included NDVI and DBR) and get new burned trained areas. I try ...
0
votes
1answer
32 views

Seeking Random Forest R Code for Temporal Datasets [closed]

I have images from 4 different years and field datasets that correspond for each year. Is there an R Code for Random Forest that will give me a classification map based on the 4 images and their ...
0
votes
0answers
44 views

PCA for Sentinel2 SVM and RF classification

I am attempting to classify dump pile in google earth engine. Using Sentinel 2 data and classifying the first 5 PCAs lead to the best visual result. Here the PCA code used in script with Sentinel2. ...
1
vote
0answers
27 views

How to compare the results of the random forest algorithm with the other SDMs?

I'm using the random forests algorithm in species distribution context. I have presence-absence as a dependent variable, so I decided to work with classification. At this point, I recovered the ...
1
vote
0answers
72 views

“User memory limit exceeded” during Random Forest classification in GEE

I succeeded in an initial attempt at using Random Forest classification on my input image (an exported mosaic covering ~ 2,797 km2). I used 30 trees, classified based on 4 bands, and passed a training ...
0
votes
0answers
22 views

GEE create chart for the area of classified image

In Google Earth Engine I have classified a mosaic image using Random Forest, and using reducer the area of each class classified was determined by the code below. var area_classified = ee.Image....
4
votes
2answers
91 views

“User memory limit exceeded” using Random Forest classification

I am trying to classify using randomForest classification in GEE . However, I always get the error User memory limit exceeded, so I assume the number of the feature are too large. Nevertheless, I saw ...
1
vote
0answers
24 views

What Explained Variance is good to proceed with Predictive Soil Mapping?

I have 1851 soil samples data on pH covering a study area of 7482sq.km in northern Ghana and I am using 52 environmental long-term average variables (Relief, Climate, MODIS Reflectances and derived ...
1
vote
0answers
75 views

Training Random Forest using more than 5,000 samples

I'm estimating forest biomass using Random Forest regression at a large scale. I want to train the Random Forest model using as many samples as possible (~100,000 samples), but it seems the Google ...
0
votes
1answer
128 views

Normalising image bands in google earth engine before classification [closed]

I have an image that has four bands. Three of them are derived from Sentinel-2 to give NDVI, NDBI and SAVI. The fourth band is derived from a Sentinel 1 SAR image collection. The Sentinel 2 bands have ...
0
votes
1answer
46 views

Can we use “evaluate” function for other models not included in dismo package?

I'm using several models to predict species occurence probabilities. Some of them are not included in dismo library such as "MARS" and random forests. I want to know if I still can use "...
0
votes
0answers
26 views

Running Train Random Trees Classifier which classifies by probability and not discrete classes using ArcMap

I have a a series of points which values' are a binary of a feature being present or not-present and a multiband raster of various landscape varables. Is there a way to use random trees classification ...
2
votes
0answers
44 views

Calculate and plot the feature importance of the input dataset of a random forest classification within Google Earth Engine (GEE)

I run a random forest classification for agricultural land use and other land cover classes (12 classes). My dataset for 2019 consists of a Sentinel 1 and Sentinel 2 monthly time series, statistical ...
1
vote
0answers
58 views

random forest image classfication on python

I am new to python, I would like to do a rf classification on an multispectral image which I applied the PCA. After applying acp on different bands including NDVI I got negative values, after that my ...
0
votes
0answers
111 views

Calculate and plot the feature importance of the input dataset of a random forest classification within Google Earth Engine

I run a random forest classification for agricultural land use and other land cover classes (12 classes). My dataset for 2019 consists of a Sentinel 1 and Sentinel 2 monthly time series, statistical ...
0
votes
0answers
48 views

Accuracy assessment of RFclassificatiton in dzetsaka plugin QGIS

I tried random forest classification on dzetsaka plugin in QGIS to discriminate different plant species using sentinell(10m) and planet(3m) image. Classification is performed but i am confused about ...
0
votes
0answers
26 views

How to drawing ROC curve in Orfeo Toolbox

I would to like to known how i plot the roc curve after training the machine learning model in orfeo toolbox/monteverdi GUI. I have the matrix error of the model. I used Large scale mean shift ...
1
vote
2answers
147 views

Combining imagery, masking and sampling in Descartes Labs Platform

I am trying to sample data from Descartes Lab imagery to train a random forest classifier in the Descartes Plaform for an agricultural region. I have already written a script to prepare the imagery of ...
0
votes
0answers
50 views

Classified image using RF method in R displays less no. of classes than it was trained to

I am trying to classify crops using Sentinel-2 image including 10 classes, using randomForest classification in R. For that, I extracted 2000 random samples points from the training areas for 11 bands ...
1
vote
1answer
417 views

SMILE classifiers/regressors in Earth Engine

I am working on a project intended for publication that leans heavily on Earth Engine for much of the workflow: assembling, compositing, and mosaicking lots of images from multiple data sources, ...
0
votes
1answer
73 views

Raster image error when entering stack layers using Rstudio

I am a beginning user of Rstudio, and I want to run Random Forest by using a couple of "raster layers" which were stacked in ENVI. Before doing stacking I checked the cell size and the ...
3
votes
1answer
550 views

Results of Variable Importance of RF Classifier in GEE

I create a RF modulu in GEE like this; //Random Forest Result Function Module exports.getRfResults = function(image, title, bands, trainPoint, testPoint, area, label) { //Create Sample Points ...
1
vote
0answers
255 views

Memory allocation problem when running Random forest regression in python

I have image with 4 bands . I want to see if I can predict the first band using the 3 other bands. My problem is that I cannot fit the model because I get the following error message: MemoryError: ...
1
vote
2answers
394 views

How does the randomColumn() function in Google Earth Engine work

Does the randomColumn() function assign an arbitrary random value as a collection element property or is it based on some aspect of the collection element? For instance, I have a script that calls ...
3
votes
1answer
143 views

Calculate new band for satellite image after predict values with RF

I have satellite image which contains 3 different bands. I'm using Python (jupyter notebook) in order to calculate new band by applying random forest regression. My problem is that after I have ...
1
vote
2answers
367 views

Probability of variable importance calculation error in Google Earth Engine

I am trying to calculate the probability of variable importance each bands for classification. Basically, I have 3 class but when I try to implement the probability of variable importance, the error ...
1
vote
1answer
108 views

Random forest classifier

I set up a script for supervised following the model from the EE tutorial -- Only thing I changed was to substitute Landsat 5 with Sentinel 2. The classifier does not give me any result -- Any idea ...
1
vote
1answer
145 views

Google Earth Engine Hansen Forest Cover - annual loss

https://code.earthengine.google.com/b15af44386f0770df3ba21d38022c8d6 I am trying to get annual forest loss using the Hansen dataset in Google Earth to get a video. I have added the yearly loss image ...
0
votes
0answers
127 views

ArcGIS Pro (2.3.0) Forest-based Classification and Regression Issue

I keep getting this error when I'm using the 'Predict to raster' Prediction Type in the Forest-based Classification and Regression tool: 'Problem extracting values from a.img using origin location [...
3
votes
0answers
3k views

Encoding categorical variable for random forest with sklearn

I have a random forest model that works pretty well, taking a bunch of vanilla remote sensing raster data as input. I think it could be improved with addition of some information that I currently have ...
1
vote
1answer
29 views

Leaving Image Objects that are Uncertain to be a Particular Class as 'Unclassified' in eCognition

In classification of the imagery, is there a way of leaving certain image objects unclassified? Say for example, if the classifier is uncertain what class to classify the image object as, does ...
1
vote
0answers
99 views

Random forest classification starting from a JSON file

I have a lot of images of Earth and I need to find the section of the image where there is water using random forest. I also have one JSON file (not GeoJSON) that have all the image's information. ...
3
votes
1answer
407 views

Splitting up a region into training data and validation data for Landsat7 classification

I am building a classifier for Landsat7 by using MODIS land cover classification. My goal is to split up my region of interest into 80% being training data and 20% being validation data (with a ...
0
votes
1answer
125 views

Practical limitations of image classification of large rasters?

Been attempting (with no success so far) to implement the random forest classification in ArcMap on a reasonably large image. If I throw a raster with say 20-30 bands in it, works fine, just takes ...
2
votes
1answer
266 views

Working/Functioning of “sampleRegions” function in Google Earth Engine

I am doing land use classification in Google Earth Engine. I am using three different classes(forest, building, water) for classification. For each class, there is a shapefile containing polygon ...
1
vote
1answer
140 views

Using NDVI along with regular RGB and NIR bands for image classification

Is it plausible to use NDVI along with other regular bands for image classification related data processing? Recently, I came across a comment that RED and NIR band might interfere with NDVI or vice ...
0
votes
1answer
997 views

Google Earth Engine really slow in loading maps

I am using the code below to run random forest classification, clip and mask the layer, and then export the map to Google Drive. I expected the export process to be slow. Nevertheless, why are the ...
1
vote
1answer
545 views

No valid training data were found [Google Earth Engine]

I would like to create a classification model through randomForest model. I used Sentinel 2 dataset. Everything is working if I'm using the original bands for the predicted variable. However, if I ...
3
votes
2answers
3k views

Generating prediction raster from Random Forest model using R?

I fit a Random Forest model to tabular data from test sites in R, and now would like to generate a raster showing predicted probability values using raster data corresponding to the same predictors (e....
0
votes
1answer
442 views

GLCM measure in an object-based classification?

I am trying to classify agricultural fields with randomForest model. I will conduct an object-based classification. To do so, in the code by Ned Horning, I provide the boundaries in a shapefile. The ...
1
vote
1answer
397 views

ArcGIS Pro Forest-based Classification and Regression fails with error

I'm trying to run a Random Forest Classification and Regression in ArcGIS Pro 2.3.2. I've already run this analysis using Bayesian logistic regression in R, and want to compare the results from RF. ...
-1
votes
1answer
552 views

Classify polygons with Random Forest on Python

I have a segmentation shapefile made with e-cognition containing many polygons of which a part classified for the train file. I would like to classify them by applying labels (e.g. water, vegetation, ...
2
votes
2answers
923 views

Difference between GEE and sklearn random forest output

I am training a random forest in GEE to predict canopy cover. See here for example. Implementation of RF is var rf_model = ee.Classifier.randomForest(5).train(to_TrainAll, target, bands); My ...
3
votes
1answer
1k views

Calculate variable importance for classifications in Google Earth Engine

I am doing a simple Random Forest classification in Google Earth Engine. I try to classify upland, water and wetlands, using 25 variables derived from one year of Sentinel-1 images. The classifier ...
1
vote
0answers
253 views

Using output of unsupervised cluster analysis to train supervised classification for vegetation mapping?

I'm using Google Earth Engine to classify mangrove forests from Landsat imagery to calculate extent. Let's say I perform an unsupervised K-means cluster analysis on a Landsat scene to identify general ...
1
vote
2answers
455 views

Is the Random Trees Classifier in ArcMap 10.5 equal to Random Forest?

Is the Random Trees Classifier in ArcMap 10.5 the same as what is named Random Forest in other applications/software? I see that the parameters are the same and the design seems the same, but I need a ...
1
vote
0answers
111 views

Crash after performing random forest using enmap box and dzetsaka

i want to perform random forest classification using tools like dzetsaka and enmap box on qgis 3.2 version but after classification completes upto 50 percent qgis crashes what can be the issue
3
votes
2answers
325 views

Classification model using NDVI time series?

I am trying to form a classification model with the help of NDVI time series data. I want to use methods like SVM and Random Forest. I know how to apply these methods to normal data. But, I am ...
2
votes
2answers
1k views

Load (input) and Save (output) rds files with R in QGIS script

I have done a Random Forest classification model in R and I have implemented a script to work in QGIS. For the moment I specify the model's path into the script to apply it (image), but is it any form ...