Skip to content

Commit

Permalink
linting
Browse files Browse the repository at this point in the history
  • Loading branch information
jeandut committed Aug 12, 2024
1 parent 2142efc commit 67f0d1e
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions fedeca/strategies/fed_smd.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ def __init__(
client_identifier: str,
tol: float = 1e-16,
):
"""FedSMD strategy.
"""Initialize FedSMD strategy.
This class computes weighted SMD.
Expand All @@ -50,7 +50,6 @@ def __init__(
propensity_model : Union[None, nn.Module], optional
_description_, by default None
"""

super().__init__()

self._duration_col = duration_col
Expand Down Expand Up @@ -117,7 +116,7 @@ def build_compute_plan(
# keep the states in a list: one/organization
shared_states.append(next_shared_state)

agg_shared_state = aggregation_node.update_states(
aggregation_node.update_states(
self.compute_smd(
shared_states=shared_states,
_algo_name="compute smd for weighted and unweighted data",
Expand Down Expand Up @@ -216,7 +215,7 @@ def compute_smd(
self,
shared_states,
):
"""Computes Kaplan-Meier curve for a subset of data.
"""Compute Kaplan-Meier curve for a subset of data.
Parameters
----------
Expand Down

0 comments on commit 67f0d1e

Please sign in to comment.