selfexplainml / gammli Goto Github PK
View Code? Open in Web Editor NEWExplainable Recommendation Systems
License: MIT License
Explainable Recommendation Systems
License: MIT License
Hi,
if I try to use gammli (installed it according to read me and also installed the library interpret with pip, Anaconda and Python 3.7 are available ) I get the following error message:
ImportError Traceback (most recent call last)
<ipython-input-1-76c77b19f9bd> in <module>
6 from sklearn.metrics import mean_squared_error,roc_auc_score,mean_absolute_error,log_loss
7
----> 8 from gammli.gammli import GAMMLI
9 from gammli.dataReader import data_initialize
10 from gammli.utils import local_visualize
/opt/conda/envs/venv/lib/python3.7/site-packages/gammli/__init__.py in <module>
1
----> 2 from .gammli import GAMMLI
3
4
5 __all__ = ['GAMMLI']
/opt/conda/envs/venv/lib/python3.7/site-packages/gammli/gammli.py in <module>
4 import tensorflow as tf
5 from .li import LatentVariable
----> 6 from .gaminet import GAMINet
7 from sklearn.metrics.pairwise import cosine_similarity
8 from sklearn.cluster import KMeans
/opt/conda/envs/venv/lib/python3.7/site-packages/gammli/gaminet.py in <module>
6
7 from .layers import *
----> 8 from .utils import get_interaction_list
9 from itertools import product
10
/opt/conda/envs/venv/lib/python3.7/site-packages/gammli/utils.py in <module>
14 from interpret.glassbox.ebm.utils import EBMUtils
15 from interpret.utils import autogen_schema
---> 16 from interpret.glassbox.ebm.internal import NativeEBM
17 from interpret.glassbox.ebm.ebm import EBMPreprocessor
18
ImportError: cannot import name 'NativeEBM' from 'interpret.glassbox.ebm.internal' (/opt/conda/envs/venv/lib/python3.7/site-packages/interpret/glassbox/ebm/internal.py)
Any hints what to do ?
Thank you very much in advance.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.