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
Khisto is a Python library for creating histograms using the **Khiops optimal binning algorithm**. Unlike standard histograms that use fixed-width bins or simple heuristics, Khisto automatically determines the optimal number of bins and their variable widths to best represent the underlying data distribution.
@@ -10,6 +16,7 @@ Khisto is a Python library for creating histograms using the **Khiops optimal bi
10
16
-**Variable-Width Bins**: Captures dense regions with fine bins and sparse regions with wider bins.
11
17
-**NumPy Compatible**: Drop-in replacement for `numpy.histogram`.
12
18
-**Matplotlib Integration**: `khisto.matplotlib.hist` works like `plt.hist`.
19
+
-**Core Histogram API**: Inspect every available granularity with `khisto.core.compute_histograms` and `HistogramResult`.
13
20
-**Minimal Dependencies**: Only requires NumPy (matplotlib optional for plotting).
14
21
15
22
| Standard Gaussian | Heavy-tailed Pareto |
@@ -135,7 +142,13 @@ uv run pytest
135
142
136
143
## Documentation
137
144
138
-
See the [API](docs/API.md) and [API Comparison](docs/API_COMPARISON.md) for detailed information on available functions, parameters, and how Khisto compares to standard histogram implementations.
145
+
Full documentation is hosted at **[khiops.github.io/khisto-python](https://khiops.github.io/khisto-python/)**.
146
+
147
+
-[API Reference](https://khiops.github.io/khisto-python/array/histogram/index.html) — NumPy-like histogram API
148
+
-[Matplotlib Integration](https://khiops.github.io/khisto-python/matplotlib/index.html) — `hist` plotting function
149
+
-[Core API](https://khiops.github.io/khisto-python/core/index.html) — full access to histogram granularity levels
150
+
-[API Comparison](https://khiops.github.io/khisto-python/api_comparison.html) — side-by-side with NumPy and Matplotlib
0 commit comments