|
31 | 31 | To install **`xai_evals`**, you can use `pip`. First, clone the repository or download the files to your local environment. Then, install the necessary dependencies:
|
32 | 32 |
|
33 | 33 | ```bash
|
34 |
| -git clone https://github.com/AryaXAI/xai_evals.git |
35 |
| -cd xai_evals |
36 |
| -pip install . |
| 34 | +pip install xai_evals |
37 | 35 | ```
|
38 | 36 |
|
39 |
| -Alternatively, if you don't want to clone the repo manually, you can install the package directly from pip (after we publish it [TODO]). |
40 |
| - |
41 |
| -### Dependencies |
42 |
| - |
43 |
| -- **`dl_backtrace`**: A library for analyzing neural networks by tracing the relevance of each component from output to input. |
44 |
| -- **`shap==0.46.0`**: A library for computing SHAP values (SHapley Additive exPlanations) to interpret machine learning models. |
45 |
| -- **`lime==0.2.0.1`**: A library for generating LIME (Local Interpretable Model-Agnostic Explanations) to explain individual predictions. |
46 |
| -- **`xgboost==2.1.3`**: A gradient boosting library designed for efficient and scalable machine learning tasks. |
47 |
| -- **`scikit-learn==1.3.2`**: A versatile machine learning library for building and evaluating models, and performing preprocessing. |
48 |
| -- **`torch`**: A deep learning framework (PyTorch) for creating and training neural networks. |
49 |
| -- **`pandas==2.1.4`**: A powerful library for data manipulation and analysis, particularly useful for handling tabular data. |
50 |
| -- **`numpy==1.26.4`**: A fundamental library for numerical computations, providing support for large, multi-dimensional arrays and matrices. |
51 |
| -- **`catboost==1.2.7`**: A gradient boosting library that is particularly effective for categorical feature handling. |
52 |
| -- **`lightgbm==4.5.0`**: A fast, distributed, high-performance gradient boosting framework for machine learning. |
53 |
| -- **`tensorflow==2.14.0`**: An open-source library for machine learning and deep learning tasks, developed by Google. |
54 |
| -- **`captum==0.7.0`**: A model interpretability library for PyTorch, offering various attribution methods. |
55 |
| -- **`tf-explain`**: A library for interpreting deep learning models, particularly for TensorFlow/Keras-based models. |
56 |
| -- **`quantus`**: A library for evaluating model explanations using various quantitative metrics. |
57 |
| - |
58 |
| -This list ensures all required dependencies, with specific versions, are included for optimal compatibility. |
59 |
| - |
60 |
| -To install all dependencies, run: |
61 |
| - |
62 |
| -```bash |
63 |
| -pip install -r requirements.txt |
64 |
| -``` |
65 |
| - |
66 |
| ---- |
67 |
| - |
68 | 37 | ## Usage
|
69 | 38 |
|
70 | 39 | Supported Machine Learning Models for `SHAPExplainer` and `LIMEExplainer` class is as follows :
|
@@ -969,7 +938,7 @@ This project is licensed under the MIT License - see the [LICENSE](LICENSE) file
|
969 | 938 |
|
970 | 939 | ### Future Plans
|
971 | 940 |
|
972 |
| -In the future, we will continue to improve this library by: |
| 941 | +In the future, we will continue to improve this library. |
973 | 942 |
|
974 | 943 |
|
975 | 944 |
|
|
0 commit comments