Skip to content

Commit

Permalink
improve docstring
Browse files Browse the repository at this point in the history
  • Loading branch information
c-w-feldmann committed Jun 20, 2024
1 parent 33dcc70 commit a46ed61
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions molpipeline/estimators/chemprop/loss_wrapper.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,10 @@ def get_params(self: _LossFunction, deep: bool = True) -> dict[str, Any]:
deep : bool, optional
Not used, only present to match the sklearn API.
Returns
-------
dict[str, Any]
The parameters of the loss function.
"""
return {"task_weights": self._original_task_weights}

Expand Down

0 comments on commit a46ed61

Please sign in to comment.