Entering edit mode
Salwa Eid
▴
100
@salwa-eid-5104
Last seen 10.2 years ago
Hello everyone, I have tried using random forest as classifier for
two classes. My data consists of 58 samples and each one of them
belongs one of the two classes. When I tried runnng the random forest
for the 58 samples, it gave me the followng error: Error in
randomForest.default(m,y,...): Can not handle categorical predctors
wth more than 32 categories. Although I have only 2 classes only.
When i tried running it on 32 or less samples, it worked but when
increased the samples, gave me this error. I thought maybe there is
a limitations to the input data but the iris example has 150 samples
and it works just fine. Any help? regards,salwa
[[alternative HTML version deleted]]