Skip to content
Back to formatted view

Raw Message

Message-ID: <21da85430803071136x66abc489v8c7ff130ce2bf323@mail.gmail.com>
Date: 2008-03-07T19:36:36Z
From: Nagu
Subject: error in random forest

Hi,

I get the following error when I try to predict the probabilities of a
test sample:

Error in predict.randomForest(fit.EBA.OM.rf.50, x.OM, type = "prob") :
  New factor levels not present in the training data

I have about 630 predictor variables in the dataset x.OM (25 factor
variables and the remaining are continuous variables). Any ideas on
how to trace it?

Thank you,
Nagu