Skip to content

Commit

Permalink
fix docstring mismatches (#492)
Browse files Browse the repository at this point in the history
  • Loading branch information
MatthewCaseres authored Jan 22, 2024
1 parent 9a3f235 commit 392467c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions chainladder/methods/chainladder.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ def fit(self, X, y=None, sample_weight=None):
return self

def predict(self, X, sample_weight=None):
"""Predicts the Benktander ultimate on a new triangle **X**
"""Predicts the chainladder ultimate on a new triangle **X**
Parameters
----------
Expand All @@ -61,7 +61,7 @@ def predict(self, X, sample_weight=None):
Returns
-------
X_new: Triangle
Loss data with Benktander ultimate applied
Loss data with chainladder ultimate applied
"""
X_new = super().predict(X, sample_weight)
X_new.ultimate_ = self._get_ultimate(X_new, sample_weight)
Expand Down
4 changes: 2 additions & 2 deletions chainladder/methods/expectedloss.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ def __init__(self, apriori=1.0, apriori_sigma=0.0, random_state=None):
self.random_state = random_state

def fit(self, X, y=None, sample_weight=None):
"""Applies the Bornhuetter-Ferguson technique to triangle **X**
"""Applies the Benktander technique to triangle **X**
Parameters
----------
Expand All @@ -60,7 +60,7 @@ def fit(self, X, y=None, sample_weight=None):
return self

def predict(self, X, sample_weight=None):
"""Predicts the Bornhuetter-Ferguson ultimate on a new triangle **X**
"""Predicts the Benktander ultimate on a new triangle **X**
Parameters
----------
Expand Down

0 comments on commit 392467c

Please sign in to comment.