0
Output predictions of Random Forest in R
Hi all, How do I output (e.g. write as csv) the predictions using the predict function in R? Something like: predict(model, input, type = "response"). At the moment it just pastes the outputs in the Console. Thanks!
1 Respuesta
+ 1
What type is the return value of the prediction?
If it is a matrix or a data frame, write.table() or write.csv() should work