Skip to Content.

mget-help - [mget-help] RandomForestPredictFromArcGISRasters using model built with Party package

Please Wait...

Subject: Marine Geospatial Ecology Tools (MGET) help

Text archives


From: Liza Hoos <>
To: "" <>, Jason Roberts <>
Subject: [mget-help] RandomForestPredictFromArcGISRasters using model built with Party package
Date: Mon, 2 Dec 2013 15:25:19 -0500
Hi Jason,

I am having trouble with the RandomForestPredictFromArcGISRasters tool.

If I build a model specifying the use of the randomForest package in the FitToArcGISTable tool, then use that model in the PredictFromArcGISRasters tool, everything runs smoothly. However, if I try to use PredictFromArcGISRasters using a model built with the party package in the FitToArcGISTable tool, I receive the error: "Classes of new data do not match original data".

I thought that perhaps the one categorical variable in my model was somehow the cause of this error message, but I tried using the party package to build the model again, leaving out the categorical variable, and still received the same error message. I also thought that perhaps that specifying the Surrogate Splits parameter as greater than 0 could be causing the problem, but I tried specifying it as 0 and running the model again and still received the same error message.

Do you have any guesses as to what could be causing this problem? I attached a txt file with output from the run with the party package and randomForest package - all parameters are exactly the same between these two runs except for which R package is used.

Thanks so much,
Liza






Attachment: Random Forest errors.rtf
Description: RTF file

< date >
< thread >
Archives powered by MHonArc.
Top of Page