Skip to content

Commit

Permalink
import cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
CDonnerer committed Jun 27, 2021
1 parent 3dca872 commit 0960af5
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 11 deletions.
4 changes: 0 additions & 4 deletions src/xgboost_distribution/distributions/__init__.py
Original file line number Diff line number Diff line change
@@ -1,11 +1,7 @@
from xgboost_distribution.distributions.base import BaseDistribution

# from xgboost_distribution.distributions.exponential import Exponential # noqa
from xgboost_distribution.distributions.lognormal import LogNormal # noqa
from xgboost_distribution.distributions.normal import Normal # noqa

#

# TOTA: alternative way of importing distribution subclasses?
# __all__ = ["normal"]
# from . import *
Expand Down
8 changes: 1 addition & 7 deletions src/xgboost_distribution/distributions/lognormal.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,7 @@


class LogNormal(BaseDistribution):
"""LogNormal distribution
We estimate two parameters, say a and b, such that:
- a = mean
- b = log ( variance ** (1/2) )
"""
"""LogNormal distribution"""

@property
def params(self):
Expand Down

0 comments on commit 0960af5

Please sign in to comment.