calm-additive 0.1.0__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2026 Vasilis Gkolemis
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
@@ -0,0 +1,42 @@
1
+ Metadata-Version: 2.4
2
+ Name: calm-additive
3
+ Version: 0.1.0
4
+ Summary: CALM: interpretable by design. Accurate locally additive models for tabular data.
5
+ Keywords: additive models,interpretable machine learning,glassbox,tabular,explainable ai
6
+ Author-email: Vasilis Gkolemis <ntipakos@gmail.com>
7
+ Requires-Python: >=3.10
8
+ Description-Content-Type: text/markdown
9
+ License-File: LICENSE
10
+ Requires-Dist: effector>=0.6.0
11
+ Requires-Dist: numpy
12
+ Requires-Dist: scikit-learn
13
+ Requires-Dist: xgboost
14
+ Requires-Dist: interpret
15
+ Requires-Dist: tqdm
16
+ Project-URL: homepage, https://givasile.github.io/calm-additive
17
+ Project-URL: source, https://github.com/givasile/calm-additive
18
+
19
+ # CALM: interpretable by design
20
+
21
+ Accurate locally additive models with conditional feature effects for tabular data.
22
+ Python package for the NeurIPS 2026 paper
23
+ *Interpretability-by-Design with Accurate Locally Additive Models and Conditional Feature Effects*
24
+ ([arXiv](https://arxiv.org/abs/2602.16503)).
25
+
26
+ **Project page:** https://givasile.github.io/calm-additive
27
+ **Documentation:** https://givasile.github.io/calm-additive/docs/
28
+
29
+ ```bash
30
+ pip install calm-additive
31
+ ```
32
+
33
+ ```python
34
+ from calm_additive import CALMRegressor
35
+
36
+ model = CALMRegressor().fit(X_train, y_train)
37
+ model.predict(X_test)
38
+ model.print_summary()
39
+ ```
40
+
41
+ Built on [effector](https://github.com/givasile/effector).
42
+
@@ -0,0 +1,23 @@
1
+ # CALM: interpretable by design
2
+
3
+ Accurate locally additive models with conditional feature effects for tabular data.
4
+ Python package for the NeurIPS 2026 paper
5
+ *Interpretability-by-Design with Accurate Locally Additive Models and Conditional Feature Effects*
6
+ ([arXiv](https://arxiv.org/abs/2602.16503)).
7
+
8
+ **Project page:** https://givasile.github.io/calm-additive
9
+ **Documentation:** https://givasile.github.io/calm-additive/docs/
10
+
11
+ ```bash
12
+ pip install calm-additive
13
+ ```
14
+
15
+ ```python
16
+ from calm_additive import CALMRegressor
17
+
18
+ model = CALMRegressor().fit(X_train, y_train)
19
+ model.predict(X_test)
20
+ model.print_summary()
21
+ ```
22
+
23
+ Built on [effector](https://github.com/givasile/effector).
@@ -0,0 +1,33 @@
1
+ """CALM: interpretable by design.
2
+
3
+ Accurate locally additive models with conditional feature effects.
4
+ """
5
+
6
+ from calm_additive import fitters, teachers # noqa: F401 (register "ebm", "xgb")
7
+ from calm_additive.engine import (
8
+ AdditiveTerms,
9
+ CALMClassifier,
10
+ CALMRegressor,
11
+ Curve,
12
+ ExecutableCALM,
13
+ MaskedFitter,
14
+ fit_chain,
15
+ fit_partitions,
16
+ register_curve_fitter,
17
+ register_teacher,
18
+ )
19
+
20
+ __version__ = "0.1.0"
21
+
22
+ __all__ = [
23
+ "AdditiveTerms",
24
+ "CALMClassifier",
25
+ "CALMRegressor",
26
+ "Curve",
27
+ "ExecutableCALM",
28
+ "MaskedFitter",
29
+ "fit_chain",
30
+ "fit_partitions",
31
+ "register_curve_fitter",
32
+ "register_teacher",
33
+ ]