Giter VIP home page Giter VIP logo

gammli's People

Contributors

ajzhanghk avatar gyf9712 avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar

gammli's Issues

Can't import Gammli

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.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.