Gabriel/autotune logfile and n_epochs (#323)
Gabriel/autotune logfile and n_epochs (#323)

* use number of epochs before early stopping to train best model

* add log file

* fix objective function

* fix in case user doesn't use early stopping

YosefLab/scVI