Skip to content

Commit

Permalink
fix reimports from ml-wrappers package for WrappedClassificationModel…
Browse files Browse the repository at this point in the history
…, WrappedRegressionModel (#485)
  • Loading branch information
imatiach-msft authored Jan 13, 2022
1 parent 8bb715c commit c07b34f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
6 changes: 4 additions & 2 deletions python/interpret_community/common/model_wrapper/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@

"""Reimports helpful model wrapper and utils for implicitly rewrapping the model to conform to explainer contracts."""

from ml_wrappers.model import WrappedPytorchModel, _wrap_model, wrap_model
from ml_wrappers.model import (WrappedClassificationModel, WrappedPytorchModel,
WrappedRegressionModel, _wrap_model, wrap_model)

__all__ = ['WrappedPytorchModel', '_wrap_model', 'wrap_model']
__all__ = ['WrappedClassificationModel', 'WrappedPytorchModel',
'WrappedRegressionModel', '_wrap_model', 'wrap_model']
2 changes: 1 addition & 1 deletion python/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
'numpy',
'pandas',
'scipy',
'ml-wrappers==0.0.5',
'ml-wrappers==0.0.6',
'scikit-learn',
'packaging',
'interpret-core[required]>=0.1.20, <=0.2.7',
Expand Down

0 comments on commit c07b34f

Please sign in to comment.