Skip to content

Commit 1595e69

Browse files
committed
Removed accept in a condition.
This shouldn't matter too much. It means before I was not considering the samples that were repeated (i.e. rejected). This might have a minor increase in our results for cumulative data sizes, but the minibatch averages will be the same roughly
1 parent 2430b3b commit 1595e69

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/main/scala/BIDMach/updaters/MHTest.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -209,7 +209,7 @@ class MHTest(override val opts:MHTest.Opts = new MHTest.Options) extends Updater
209209
modelmats(i) <-- tmpTheta(i) // Now modelmats back to old theta.
210210
}
211211
}
212-
if (newMinibatch && accept) afterEachMinibatch()
212+
if (newMinibatch) afterEachMinibatch()
213213
}
214214

215215

0 commit comments

Comments
 (0)