Skip to content

Commit

Permalink
made access to error codes and niter of estimator nicer
Browse files Browse the repository at this point in the history
  • Loading branch information
davidsebfischer committed Aug 21, 2019
1 parent 97c4407 commit 261e73c
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions batchglm/models/base/estimator.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,14 @@ def __init__(
self._error_codes = None
self._niter = None

@property
def error_codes(self):
return self._error_codes

@property
def niter(self):
return self._niter

@property
def loss(self):
return self._loss
Expand Down

0 comments on commit 261e73c

Please sign in to comment.