Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove sample_row from probatus #140

Merged
merged 1 commit into from
Apr 21, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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.