Add the n_mc kwarg to probflow.Model.fit, which sets the number of monte carlo samples which are taken per batch. This performs parameter updates using average of the gradients across multiple MC samples per batch. It's slower with more samples, but leads to more stable fitting.
n_mc
kwarg toprobflow.Model.fit
, which sets the number of monte carlo samples which are taken per batch. This performs parameter updates using average of the gradients across multiple MC samples per batch. It's slower with more samples, but leads to more stable fitting.Fixes https://github.com/brendanhasz/probflow/issues/21
n_mc
kwarg toModel.fit
)