Skip to content

Commit

Permalink
fixing name change bug
Browse files Browse the repository at this point in the history
  • Loading branch information
jeandut committed Nov 28, 2023
1 parent 96a0a4c commit 8b2a744
Show file tree
Hide file tree
Showing 7 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion docs/source/api/iptw.rst
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
fedeca.fedeca
fedeca.fedeca_core
=========================

.. autoclass:: fedeca.FedECA
2 changes: 1 addition & 1 deletion experiments/config/model/fl_iptw.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
defaults:
- common

_target_: fedeca.fedeca.FedECA
_target_: fedeca.fedeca_core.FedECA
num_rounds_list: [20, 20]
dtype: "float64"
2 changes: 1 addition & 1 deletion fedeca/scripts/dp_logreg.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
from torch.optim import SGD

from fedeca.algorithms.torch_dp_fed_avg_algo import TorchDPFedAvgAlgo
from fedeca.fedeca import LogisticRegressionTorch
from fedeca.fedeca_core import LogisticRegressionTorch
from fedeca.utils import (
Experiment,
make_accuracy_function,
Expand Down
2 changes: 1 addition & 1 deletion fedeca/tests/test_dp_end2end.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
from torch.optim import SGD

from fedeca.algorithms.torch_dp_fed_avg_algo import TorchDPFedAvgAlgo
from fedeca.fedeca import LogisticRegressionTorch
from fedeca.fedeca_core import LogisticRegressionTorch
from fedeca.tests.common import TestTempDir
from fedeca.utils import (
Experiment,
Expand Down
2 changes: 1 addition & 1 deletion fedeca/tests/test_fliptw_end2end.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
"""Tests for webdisco."""
from pandas.testing import assert_frame_equal

from fedeca.fedeca import FedECA
from fedeca.fedeca_core import FedECA
from fedeca.tests.common import TestTempDir
from fedeca.utils.data_utils import generate_survival_data

Expand Down
2 changes: 1 addition & 1 deletion fedeca/tests/test_robust_iptw.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
import pytest

from fedeca.competitors import PooledIPTW
from fedeca.fedeca import FedECA
from fedeca.fedeca_core import FedECA
from fedeca.tests.common import TestTempDir
from fedeca.utils.survival_utils import CoxData

Expand Down
4 changes: 2 additions & 2 deletions fedeca/utils/experiment_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
import pandas as pd
from lifelines.exceptions import ConvergenceError

from fedeca.fedeca import FedECA
from fedeca.fedeca_core import FedECA
from fedeca.utils.survival_utils import BaseSurvivalEstimator, CoxData
from fedeca.utils.typing import _SeedType

Expand Down Expand Up @@ -127,7 +127,7 @@ def single_experiment(
The seed for reproducibility. Defaults to None.
fit_fedeca: dict[str, Any], optional, by default None
Dictionary of kwargs for the fit function of
:class:`fedeca.fedeca.FedECA`.
:class:`fedeca.fedeca_core.FedECA`.
return_propensities: bool
return propensity scores in the results dataframe, by default True
return_weights: bool
Expand Down

0 comments on commit 8b2a744

Please sign in to comment.