aloysius-lim / bigrf

Random forests for R for large data sets, optimized with parallel tree-growing and disk-based memory
91 stars 26 forks source link

varnlevels needs to be integer (throws error when using matrix X) #12

Closed grantbrown closed 9 years ago

grantbrown commented 9 years ago

Also, what's your opinion about the warning message:

"x is not a data.frame and argument varnlevels is not specified. Number of levels cannot be inferred so all variables will be treated as numeric"?

I feel like when folks supply a matrix X rather than a data frame, they probably know what they're trying to do and don't need the reminder.

aloysius-lim commented 9 years ago

Thanks for the fix :)

I think it is helpful to have the warning message. I have had questions from people who were confused by it.