You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: effector/calm/README.md
+11-8Lines changed: 11 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,6 @@
1
1
# Interpretability-by-Design with Accurate Locally Additive Models and Conditional Feature Effects
2
2
3
-
This repository contains the official code for the paper titled **Interpretability-by-Design with Accurate Locally Additive Models and Conditional Feature Effects**.
3
+
This repository contains the official code for the paper titled **Interpretability-by-Design with Accurate Locally Additive Models and Conditional Feature Effects** implemented as a submodule of Effector.
4
4
5
5
## Table of Contents
6
6
-[Package Installation](#package-installation)
@@ -15,7 +15,7 @@ This repository contains the official code for the paper titled **Interpretabili
15
15
16
16
## Package Installation
17
17
18
-
To install the CALM package and its dependencies, follow the steps below.
18
+
To install the CALM package (as effector module) and its dependencies, follow the steps below.
19
19
20
20
21
21
### Set Up a Python Environment
@@ -25,17 +25,14 @@ You can use either **Python's built-in `venv`** or **`conda`**.
25
25
#### Option A: Using `venv` (recommended for most users)
26
26
27
27
```bash
28
-
# From the root of the project (e.g., CALM/)
29
-
cd code
30
-
31
28
# Create and activate virtual environment
32
29
python3.10 -m venv calm-env
33
30
source calm-env/bin/activate # On Linux/Mac
34
31
# .\calm-env\Scripts\activate # On Windows
35
32
```
36
33
37
34
#### Option B: Using Conda
38
-
```
35
+
```bash
39
36
# Create a new conda environment with Python = 3.10
40
37
conda create -n calm-env python=3.10 -y
41
38
conda activate calm-env
@@ -62,6 +59,7 @@ Use TensorFlow 2.18.0 for compatibility:
62
59
To install the package normally (without editing the source code):
63
60
64
61
```shell
62
+
# From the repo root (the folder that contains pyproject.toml)
- Description: Comparison of CALM against EBM, $EB^{2}M$ methods on 3 synthetic regression datasets
117
120
118
121
### Evaluation on Real Datasets
119
-
All scripts should be executed from inside the `effector/calm-experiments/` directory to ensure relative paths and imports work correctly.
122
+
All scripts should be executed from inside the `calm-experiments/` directory to ensure relative paths and imports work correctly.
120
123
121
124
#### Main Paper Results
122
125
For the main paper results the XGB, EBM, NAM, CALM, $EB^{2}M$, $NODE-GA^{2}M$, GAMI-Net methods were run in both regression and classification datasets. CALM is configured to run with the default configuration.
0 commit comments