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

Fix incorrect sampling in bagged avNNet. #156

Merged
merged 1 commit into from
May 25, 2015
Merged

Fix incorrect sampling in bagged avNNet. #156

merged 1 commit into from
May 25, 2015

Conversation

timcdlucas
Copy link
Contributor

avNNet with bag = TRUE currently samples without replacement. This therefore just reorders the rows.
avNNet now samples WITH replacement therefore giving proper bagging.

I don't think the same error occurs in other models but I'm not sure.

avNNet with bag = TRUE currently samples without replacement. This therefore just reorders the rows.
avNNet now samples WITH replacement therefore giving proper bagging.
@coveralls
Copy link

Coverage Status

Coverage remained the same at 12.22% when pulling f30672b on timcdlucas:avNNetBagPR into c96fa7f on topepo:master.

topepo added a commit that referenced this pull request May 25, 2015
Fix incorrect sampling in bagged avNNet.
@topepo topepo merged commit bc49807 into topepo:master May 25, 2015
@topepo
Copy link
Owner

topepo commented May 25, 2015

Thanks. That is definitely a bug.

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

Successfully merging this pull request may close these issues.

None yet

3 participants