ethicalml / xai Goto Github PK
View Code? Open in Web Editor NEWXAI - An eXplainability toolbox for machine learning
Home Page: https://ethical.institute/principles.html#commitment-3
License: MIT License
XAI - An eXplainability toolbox for machine learning
Home Page: https://ethical.institute/principles.html#commitment-3
License: MIT License
I encountered an issue while installing xai due to compatibility conflicts with Python 3.11. The libraries specified in the requirements.txt file have versions that are not compatible with Python 3.11. As a result, the installation process fails.
Any suggestions would be appreciated.
A conda installation option could be very helpful. I have already started working on this, to add xai
to conda-forge.
Conda-forge PR:
Once the conda-forge PR is merged, you will be able to install the library with conda as follows:
conda install -c conda-forge xai
๐ก I will push a PR to update the docs once the package is available on conda-forge.
I'm working with text data and looking for ways to explain BERT models. Is there any workaround using XAI or any other package/resources if anyone can recommend?
There is some bug in https://github.com/EthicalML/xai/blob/master/xai/__init__.py#L962
it was written as
r1s = r2s = []
but should be instead
r1s, r2s = [], []
The impact is that if the user would like to us r1s and r2s returned to construct the the curve (e.g. for storing the data for later analysis), they would find that r1s and r2s are referring to the same instance which stores all the curve data that should have been separately stored in r1s and r2s
catboost 0.21 has requirement numpy>=1.16.0
xai 0.0.5 has requirement numpy==1.15.4
How xai is supposed to work?
Hello,
Is there any guideline on how to run the method on sample inputs?
And can you please provide the related paper?
Tnx
your requirements are very restrictive. Can you please change it to >= instead of ==.
for example:
numpy>=1.3
pandas>=0.23.0
matplotlib>2.02,<=3.0.3
scikit-learn>=0.19.0
AttributeError: module 'xai' has no attribute 'show_imbalances;
How to handle this error?
Collecting matplotlib==3.0.2
Using cached matplotlib-3.0.2.tar.gz (36.5 MB)
ERROR: Command errored out with exit status 1:
command: /opt/anaconda3/envs/ethicalml/bin/python -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/private/var/folders/wv/m62_p54d5bx1dnq_m07ck3l40000gn/T/pip-install-303disb7/matplotlib/setup.py'"'"'; file='"'"'/private/var/folders/wv/m62_p54d5bx1dnq_m07ck3l40000gn/T/pip-install-303disb7/matplotlib/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(file);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' egg_info --egg-base /private/var/folders/wv/m62_p54d5bx1dnq_m07ck3l40000gn/T/pip-install-303disb7/matplotlib/pip-egg-info
Hello!
I've been trying to install this package and am unable to do so.
I've tried both methods on my Ubuntu machine.
pip install xai
python setup.py install
What can I do to install this?
Also, is this project active anymore at all?
Can you update the requirements to use the latest version of pandas? Pretty please ๐บ
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.