Skip to content

Commit

Permalink
docs
Browse files Browse the repository at this point in the history
  • Loading branch information
marcotcr committed Jun 3, 2021
1 parent a307fc8 commit c8f21c2
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
7 changes: 4 additions & 3 deletions doc/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,12 +25,13 @@
sys.path.insert(0, curr_path)

import mock
MOCK_MODULES = ['numpy', 'scipy', 'scipy.sparse', 'sklearn',
'sklearn.preprocessing', 'sklearn.linear_model', 'matplotlib',
MOCK_MODULES = ['numpy', 'scipy', 'scipy.sparse', 'scipy.special',
'scipy.stats','sklearn', 'sklearn.preprocessing',
'sklearn.linear_model', 'matplotlib',
'sklearn.datasets', 'sklearn.ensemble', 'sklearn.cross_validation',
'sklearn.feature_extraction', 'sklearn.feature_extraction.text',
'sklearn.metrics', 'sklearn.naive_bayes', 'sklearn.pipeline',
'sklearn.utils']
'sklearn.utils', 'pyDOE2',]
for mod_name in MOCK_MODULES:
sys.modules[mod_name] = mock.Mock()

Expand Down
3 changes: 3 additions & 0 deletions lime/lime_tabular.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@
import sklearn.preprocessing
from sklearn.utils import check_random_state
from pyDOE2 import lhs
import scipy
import scipy.stats
import scipy.stats.distributions
from scipy.stats.distributions import norm

from lime.discretize import QuartileDiscretizer
Expand Down

0 comments on commit c8f21c2

Please sign in to comment.