Skip to content
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 table(testlabel, t.pred$predictions) : all arguments must have the same length #56

Open
seuriously opened this issue Mar 20, 2018 · 0 comments

Comments

@seuriously
Copy link

Hi,
I tried to run rf_opt where my train has dim=101673, 10 whilst my test dim=43574, 10.
I face this error:
Error in table(testlabel, t.pred$predictions) :
all arguments must have the same length
Timing stopped at: 4.31 0.22 1.81

I've checked there's no NA values on both dataset.
All my variables are factor.

When i run iris_train and iris_test it run smoothly. when i use iris_train as is and sampled the iris_test to 30 it still work.
when I sample my train and test both to 1000 rf_opt run smoothly.

So I'm kind of confussed here. If it because of different number of rows why on iris dataset with different number of rows it still work.

thx.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant