Skip to content

Commit 84e186c

Browse files
committed
move base.py into the root
1 parent 4ae43de commit 84e186c

20 files changed

Lines changed: 20 additions & 20 deletions

python/interpret-core/interpret-core.pyproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,9 +32,9 @@
3232
<Content Include="pyproject.toml" />
3333
</ItemGroup>
3434
<ItemGroup>
35-
<Compile Include="interpret\api\base.py" />
3635
<Compile Include="interpret\api\templates.py" />
3736
<Compile Include="interpret\api\__init__.py" />
37+
<Compile Include="interpret\base.py" />
3838
<Compile Include="interpret\blackbox\_lime.py" />
3939
<Compile Include="interpret\blackbox\_partialdependence.py" />
4040
<Compile Include="interpret\blackbox\_sensitivity.py" />

python/interpret-core/interpret/api/templates.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
# Copyright (c) 2023 The InterpretML Contributors
22
# Distributed under the MIT software license
33

4-
import interpret.api.base
4+
import interpret.base
55

66

7-
class FeatureValueExplanation(interpret.api.base.BaseExplanation):
7+
class FeatureValueExplanation(interpret.base.BaseExplanation):
88
"""Handles explanations that can be visualized as horizontal bar graphs.
99
Usually these are feature-value pairs being represented.
1010
"""
File renamed without changes.

python/interpret-core/interpret/blackbox/_lime.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33

44
import numpy as np
55

6-
from ..api.base import LocalExplainer
6+
from ..base import LocalExplainer
77
from ..api.templates import FeatureValueExplanation
88
from ..utils._clean_simple import clean_dimensions, typify_classification
99
from ..utils._clean_x import preclean_X

python/interpret-core/interpret/blackbox/_partialdependence.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33

44
import numpy as np
55

6-
from ..api.base import GlobalExplainer, BaseExplanation
6+
from ..base import GlobalExplainer, BaseExplanation
77
from ..utils._clean_x import preclean_X
88
from ..utils._explanation import gen_global_selector, gen_name_from_class
99
from ..utils._unify_data import unify_data

python/interpret-core/interpret/blackbox/_sensitivity.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66
import numpy as np
77

8-
from ..api.base import GlobalExplainer
8+
from ..base import GlobalExplainer
99
from ..api.templates import FeatureValueExplanation
1010
from ..utils._clean_x import preclean_X
1111
from ..utils._explanation import gen_global_selector, gen_name_from_class

python/interpret-core/interpret/blackbox/_shap.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
# Distributed under the MIT software license
33
import numpy as np
44

5-
from ..api.base import LocalExplainer
5+
from ..base import LocalExplainer
66
from ..utils._clean_x import preclean_X
77
from ..utils._shap_common import shap_explain_local
88
from ..utils._unify_data import unify_data

python/interpret-core/interpret/data/_response.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33

44
import numpy as np
55

6-
from ..api.base import DataExplainer, BaseExplanation
6+
from ..base import DataExplainer, BaseExplanation
77
from ..utils._clean_simple import clean_dimensions, typify_classification
88
from ..utils._clean_x import preclean_X
99
from ..utils._explanation import gen_global_selector, gen_name_from_class

python/interpret-core/interpret/ext/examples.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Copyright (c) 2023 The InterpretML Contributors
22
# Distributed under the MIT software license
33

4-
from interpret.api.base import BaseExplanation
4+
from interpret.base import BaseExplanation
55

66

77
class ExampleExplanation(BaseExplanation):

python/interpret-core/interpret/glassbox/_aplr.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ class _SeriesType:
2323
SKNotFittedError,
2424
SKRegressorMixin,
2525
)
26-
from ..api.base import LocalExplainer, GlobalExplainer
26+
from ..base import LocalExplainer, GlobalExplainer
2727
from ..api.templates import FeatureValueExplanation
2828
from ..utils._clean_simple import clean_dimensions
2929
from ..utils._explanation import (

0 commit comments

Comments
 (0)