-
Notifications
You must be signed in to change notification settings - Fork 632
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error in na.fail.default and #461 fix #479
Comments
It is not a bug. Originally it was setup to stop execution when you have The issue here is that people had missing data and did not realized that it was being omitted. Even when they chose an imputation method, the missing data were excluded before |
Thanks for the explanation. I am still not clear why I got the missing value error when there are no NAs in the data. |
We would need the data to figure that out. |
@farbodr had same issue and it annoyed the hell out of me. Still not sure what exactly causes it, but found that I'd passed my object as a |
titanicData$Pclass <- as.factor(titanicData$Pclass) index<- sample(1:nrow(titanicData),nrow(titanicData)*0.75, replace = F) library(randomForest) I am getting following error when I am fitting the rf: Error in randomForest.default(m, y, ...) : Can you please explain? |
Please open a new issue and follow the issue template. |
str(data) i am getting the error when i am running the statement of "rf" |
This is unrelated to |
Not sure if this is a new issue or not. I am getting this error and don't quite understand the fix that was applied for #461 as this appears to be related to the fix.
Here is my call to train. The data set contains no NA:
This produces the error:
As shown below, my data set contains no NA. This data set is from a current kaggle competition:
This data set is from a current kaggle competition:
If I change the call to train to this, it seems to run. I've never had to do this before so not sure I understand the need.
The text was updated successfully, but these errors were encountered: