Skip to content

Commit

Permalink
Merge pull request #140 from ing-bank/remove_sample_ropw
Browse files Browse the repository at this point in the history
Remove sample_row from probatus
  • Loading branch information
Mateusz Garbacz authored Apr 21, 2021
2 parents 6bf1241 + 3df8b6a commit 8de5705
Show file tree
Hide file tree
Showing 5 changed files with 3 additions and 310 deletions.
2 changes: 0 additions & 2 deletions docs/api/utils.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,3 @@
This module contains various smaller functionalities that can be used across the `probatus` package.

::: probatus.utils.scoring

::: probatus.utils.sampling
2 changes: 0 additions & 2 deletions probatus/utils/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,6 @@
assure_list_of_strings,
assure_list_values_allowed,
)
from .sampling import sample_row
from .plots import plot_distributions_of_feature
from .interface import BaseFitComputeClass, BaseFitComputePlotClass

Expand All @@ -59,7 +58,6 @@
"shap_to_df",
"calculate_shap_importance",
"assure_pandas_series",
"sample_row",
"preprocess_data",
"preprocess_labels",
"BaseFitComputeClass",
Expand Down
112 changes: 0 additions & 112 deletions probatus/utils/sampling.py

This file was deleted.

6 changes: 3 additions & 3 deletions tests/docs/test_docstring.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@
import probatus.utils
import probatus.missing_values

from typing import List

# Turn off interactive mode in plots
plt.ioff()
matplotlib.use("Agg")
Expand Down Expand Up @@ -41,9 +43,7 @@
probatus.feature_elimination.EarlyStoppingShapRFECV,
]

FUNCTIONS_TO_TEST = [
probatus.utils.sample_row,
]
FUNCTIONS_TO_TEST: List = []


def handle_docstring(doc, indent):
Expand Down
191 changes: 0 additions & 191 deletions tests/utils/test_sampling.py

This file was deleted.

0 comments on commit 8de5705

Please sign in to comment.