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
33
votes
4answers
17k views

How to perform Random Forest land cover classification?

This is a follow-up to a previous post: Machine Learning Algorithms for Land Cover Classification. It seems that the Random Forest (RF) classification method is gaining much momentum in the remote ...
12
votes
1answer
3k views

Multispectral image segmentation for natural-resources applications using R

R has the capacity for image segmentation, although all of the examples I have come across utilize a single band for the segmentation (example). I am interested in combining R's capacity for random ...
7
votes
3answers
2k views

How to generalize training data for a random forest classifier?

I am working with a random forest classifier in eCognition (new with eCognition 9.0). The image shows 8 NAIP tiles I am attempting to classify using approximately 100 training points. The training ...
6
votes
1answer
2k views

Random Forest land cover classification in ArcMap?

I am an undergraduate student working with a very large data set (to me), and who has NO experience with R, but is fairly comfortable with ArcMap. I have about 60GB of 8band 1m satellite imagery of ...
5
votes
3answers
3k views

Pixel-based and object-based classification!

I would like to understand if pixel-based classification algorithm (e.g. Maximum Likelihood classification ) can be used for object-based classification (i.e. after a segmentation procedure). On the ...
5
votes
2answers
396 views

Random Forest to estimate land use in past with Landsat

I am new in Machine Learning and in R. I am working in my Master thesis. I am trying to estimate the LULC of the years 1984, 1990, 2000, 2011, 2014 for characterizing the forest dynamics. I have for ...
4
votes
1answer
5k views

Image classification random forest [duplicate]

I am a newbie in R. I want to classify images using random forest in R. I am trying to learn the codes. But in the mean time, is there a push button (like a gui) in R that can be used for ...
4
votes
1answer
2k views

Performing Random-Forest Classification of 10cm Imagery for species-distribution in R (no point-shapes)? [closed]

I'm trying to classify 10cm-resolution images with the RF-package. I do this to separate some species in the forest, seen on my images. While I was searching for an answer, I found the following ...
4
votes
2answers
129 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 ...
4
votes
1answer
1k views

Looking for example of a Random Forest tutorial to estimate spatial distribution

Could anyone point me to a Random Forest tutorial for predicting a spatial random variable? Or an easy dataset to try to work through. For Decision Trees and Random Forests, I found some very good ...
4
votes
2answers
591 views

Pickling a Classifier in Google Earth Engine

I'm busy trying to create a widely applicable reedbed vegetation classifier that could potentially classify any given area within Europe. I already have training data for an area around the Balaton ...
4
votes
1answer
671 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 ...
4
votes
0answers
89 views

ArcGis Raster Resampling Question [duplicate]

Possible Duplicate: How do you decide what interpolation method to use for resampling raster data? I want to interpolate a certiain target variable over a large territory. I trained a random ...
3
votes
2answers
4k 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....
3
votes
2answers
2k views

How to utilise single 'randomForest' model for several rasters in R?

I am using randomForest package in R to derive species distribution models. When I predict the model to the RasterStack containing the predictors in which the values were extracted to build my model, ...
3
votes
1answer
985 views

Rf-Classification seems to work but gives an error 15 seconds later

This is my code. It classifies an imagery-stack(xvars) and reads a shapefile with training-points. If I run single rows they work. Even if I run them all, they work and start to predict but after 15s ...
3
votes
1answer
146 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 ...
3
votes
1answer
444 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 ...
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 ...
3
votes
1answer
1k views

Confusion Matrix R

I'm having some problems to understand the result of my confusion matrix. Here is my case: I've run a classification (random forest) on a satellite image. To do so, I created 50 random points for ...
3
votes
1answer
568 views

Performing Random Forest using EnMap Box?

I am new to the software EnMap Box that incorporates Random Forest (RF) as one of its capability. To learn the Enmap, I followed the RF tutorial provided online. My goal is to use RF as a tool to ...
3
votes
2answers
341 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 ...
3
votes
1answer
6k views

Random Forest out of the bag and confusion matrix

I have implemented Random Forest classifier to classify remote sensing data in R. The original code comes from here: How to perform Random Forest land classification? Everything works fine, but what ...
3
votes
1answer
627 views

Classified Images of RandomForest-Classification look clustered

I performed a RF-classification. I have 6 bands, ~250 trainingpoints in a shapefile, OOB estimate of error rate: 1.56% Picture of take trainingpoints added. My code: setwd("D:/BA-Workspace/...
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 ...
3
votes
0answers
530 views

Using Random Forest for big data?

I used Random Forest regression for my work, but now I have another problem because I have really big data. I am using a VHR and this is much raster information. My script in R is this: rand.zero <...
3
votes
0answers
404 views

R: Can raster predict function pass to predict.rfsrc (a prediction function in a parallel verion of RandomForest)?

It seems that raster predict function can pass to predict.randomForest by setting the "type='response'". I am using a parallel version of randomForest package called the "randomForestSRC" and I am ...
2
votes
1answer
4k views

Computing unsupervised random forest classification in R?

I want to compute an unsupervised random forest classification out of a raster stack in R. The raster stack represents the same extent in different spectral bands and as a result I want to obtain an ...
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 ...
2
votes
1answer
292 views

Incorporating terrain data to predict canopy cover using randomForest in R? [closed]

I have a 5.8 m resolution satellite image (LISS IV by IRS-P6, in bands 4, 3 and 2) of a densely forested region in the Eastern Himalayas (altitude 700 m to 3200 m). My objective is to predict regions ...
2
votes
1answer
2k views

Using Regression Trees in ArcGIS

I have a follow up question to Statistical analyses for survey against raster? I have a very similar problem as the initial poster David. I am creating a multivariate model from raster data in order ...
2
votes
2answers
970 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 ...
2
votes
1answer
575 views

WorldClim data NA for my coordinates

I am trying to run a species distribution model using random forests in R. I have location data for species occurrence in a national park. When I load the WorlClim data, the data for my coordinates is ...
2
votes
1answer
1k views

Running Random Forest Classification on WorldViev-2 image in R - problem

I have a problem with performing RF in R for a WorldView-2 Scene. I've never ever before used R for remote sensing classification, so I simply followed what is written here. I've loaded scene (8-band ...
2
votes
0answers
48 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 ...
2
votes
1answer
282 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 ...
2
votes
0answers
218 views

Image classification: separating pine forest, lowland and upland hardwood

I want to classify 20 feet-resolution 4-band leaf-off image into lowland hardwood, upland hardwood, pine trees, and other (bare ground, water, roads etc). I am thinking to use randomForest package in ...
1
vote
1answer
314 views

Low Recall for Radar Image Flood Classification

I am following the example here to learn how to classify flood images. I am using a single band of the Sentinel-1 radar imagery. I am able to build and train my model without trouble. The problem is ...
1
vote
2answers
151 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 ...
1
vote
1answer
497 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, ...
1
vote
2answers
437 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
33 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
2answers
461 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
1answer
1k views

Random Forest classification not in R [closed]

I had previously used ENVI to create ROIs for a Random Forest classification. After creating my files in ENVI, I exported these to EnMap and ran the classification there. (Please note knowledge of ...
1
vote
1answer
2k views

The stability of randomForest models after increasing predictor variables

With reference to the posts: Incorporating terrain data to predict canopy cover using randomForest in R and Random-Forest Classification of 10cm Imagery for species-distribution in R (no point-shapes) ...
1
vote
1answer
417 views

error of randomforest classification with Landsat data

I want perform randomforest classification on Landsat data. Here is some code I found from a paper. But when I run into the "classification" part, there is an error said "Error in eval(expr, envir,...
1
vote
1answer
353 views

Customize rules in Random Forest for tree species classification

Is it possible to customize the rules in Random Forest algorithm for tree species classification? all the integration or customization of rules in random forest algorithm is done in medical field, ...
1
vote
1answer
168 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 ...
1
vote
1answer
143 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 ...
1
vote
1answer
599 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 ...