Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

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

-2
votes
0answers
20 views

Object classification in R

I did a supervised pixel-based image classification using Random Forest algorithm in R. Now I would like to compare my results with object-based approach using the same classifier. Is it possible to ...
1
vote
0answers
35 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 ...
0
votes
0answers
14 views

Error in compareRaster(rasters) : different extent

I'm having this error in NDVI tif layers, however, all the layers have the same extent and resolution. The only difference is an elevation layer (Aster_DEM_UTM).
2
votes
1answer
164 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
94 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 ...
0
votes
2answers
117 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
80 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
1
vote
2answers
138 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 ...
0
votes
0answers
30 views

Using random forest (spatially) to predict unknown parameter in borehole by establishing relationship with 7 other parameters?

How can I use random forest to test the 'importance' of 8 parameters to the correlation of 1 parameter? Specifically the correlation controls on a parameter in one borehole by 8 other measured ...
2
votes
2answers
513 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 ...
3
votes
0answers
339 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 ...
-1
votes
1answer
130 views

Predicting Enhanced Vegetation Index using Random Forest in R [closed]

I am a master's student and I am trying to use radar observables derived from SAR imagery to predict Landsat 8 Enhanced Vegetation Index (EVI) for different seasons. I have extracted EVI and various ...
2
votes
1answer
156 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 ...
3
votes
0answers
488 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 <...
0
votes
1answer
253 views

Random Forest Classification of Landsat8 Image gives invalid/noise output

In my previous question (memoryerror in Supervised Random Forest Classification in Python sklearn) encounter further issue on random forest classification output. The python code runs fine, but the ...
1
vote
0answers
2k views

NumPy ValueError: operands could not be broadcast together with shapes (1,2) > (1678,2218)

My objective is to classify a Landsat 8 image using supervised classification. I have a training point shapefile data and a preprocessed Imagery. I want to use Random Forest classification method. ...
0
votes
1answer
1k views

memoryerror in Supervised Random Forest Classification in Python sklearn

I have Landsat 8 preprocessed image I want to classify using random forest(RF) classification in python. The size of the image is 3,721,804 pixels with 7 bands. I have 250 training data shapefiles ...
3
votes
1answer
775 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 ...
2
votes
0answers
146 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
190 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
1answer
995 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 ...
0
votes
1answer
621 views

How to convert lat long coordinates into categorical value in R?

I have latitude, longitude coordinates as follows latitude longitude 41.775974 -71.329887 42.184913 -71.9179 41.682957373 -71.56037000 I want to use it as one of the features in a ...
1
vote
0answers
181 views

Supervised Random Forest in R

I did an image classification using random forest algorithm in R. I got the result but I do not understand what does the confusion matrix shows ? I mean what does the rows and column show? These are ...
3
votes
1answer
4k 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 ...
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 ...
2
votes
1answer
471 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
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 ...
1
vote
0answers
145 views

Effects of heterogeneous vegetation in mapping canopy cover using randomForest in R

I have a 5.8 m resolution satellite image (LISS IV aboard IRS-P6, in the wavelength (micrometers): 0.52 - 0.59 (band 2),0.62 - 0.68 (band 3) and 0.77 - 0.86 (band4). The swath covers a densely ...
1
vote
1answer
1k 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) ...
2
votes
1answer
242 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 ...
5
votes
2answers
349 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 ...
1
vote
1answer
374 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,...
2
votes
1answer
3k 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
1answer
345 views

R code for SDM using randomForest [closed]

I wonder if someone can provide me with R code for running Species Distribution model using randomForest where I can't find any tutorials or demos for this.
1
vote
1answer
259 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, ...
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 ...
6
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 ...
3
votes
1answer
461 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
1answer
800 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 ...
0
votes
1answer
2k views

I don't find the mistake in my RandomForest-classification

I am trying to make a RF-classification of aerial-imagery to specify tree-species. I extracted 3 bands and made a .csv file with columns: band1 band2 band3 x y class The band columns include ...
4
votes
1answer
1k 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 ...
11
votes
1answer
2k 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 ...
3
votes
0answers
335 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
889 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
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 ...
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, ...
4
votes
1answer
4k 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
0answers
79 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 ...
31
votes
3answers
14k 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 ...