SheShe
📚 Full documentation: https://jcval94.github.io/SheShe/
Smart High-dimensional Edge Segmentation & Hyperboundary Explorer
SheShe turns probabilistic models into guided explorers of their decision surfaces, revealing human‑readable regions by following local maxima of class probability or predicted value.
Features
- Supervised clustering for classification and regression
- Rule extraction and subspace exploration
- 2D/3D plotting utilities
Mathematical Overview
SheShe approximates the optimisation problem max_x f(x) by climbing gradient-ascent paths toward local maxima and delineating neighbourhoods around them. Detailed derivations for each module are provided in the documentation.
Installation
Requires Python ≥3.9.
Dependencies
Main
- NumPy for numerical operations
- Pandas for tabular data
- scikit-learn for model training
- Matplotlib for visualisation
- hnswlib for fast nearest-neighbour search
Optional
From PyPI
Install from PyPI:
pip install sheshe
From source
git clone https://github.com/jcval94/SheShe.git
cd SheShe
pip install -e .
Common issues
- Windows: Compiling packages such as
hnswliborlightgbmmay require the Build Tools for Visual Studio. Alternatively, use a conda environment or install via WSL. - macOS: Ensure Xcode command-line tools are installed (
xcode-select --install). Some dependencies (e.g.lightgbm) also need OpenMP support:brew install libomp. If wheels are unavailable, build from source using Homebrew-provided compilers.
Documentation
See the documentation for installation, API reference and guides.
Contributing
Set up a virtual environment and install the development dependencies:
pip install -r requirements-dev.txt
pip install -e .
Run the tests to ensure everything works:
pytest
No linter is currently configured; feel free to run black . locally before submitting changes.
Author
SheShe is authored by José Carlos Del Valle – LinkedIn | Portfolio
License
MIT
Metadata
Release files for sheshe 0.1.14
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| sheshe-0.1.14.tar.gz | 116.1 kB | Without provenance | Details for sheshe-0.1.14.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| sheshe-0.1.14-py3-none-any.whl | Python 3 | none | any | Details for sheshe-0.1.14-py3-none-any.whl |
Total release size: 214.7 kB
Release files / sheshe-0.1.14.tar.gz
| Download URL | sheshe-0.1.14.tar.gz |
|---|---|
| Size | 116.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
1f22db1b3fc044cac02fb3fdaa9601e915bf2c88c85d86481a57e3fa6ba4f6c1
|
|
BLAKE2b-256 checksum How to use checksums |
9391ccc7ad93dc8e92ed17b13a7cf07156a78c58abdb52da3565b6752eea2639
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.7
|
Release files / sheshe-0.1.14-py3-none-any.whl
| Download URL | sheshe-0.1.14-py3-none-any.whl |
|---|---|
| Size | 98.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
11750a91a6185eedad5b2dc8723db0bbab9f4bf73565fba89555b99ce2be6cc9
|
|
BLAKE2b-256 checksum How to use checksums |
5fc6a9b4ff974724dffeee608304d3f5af78f965b5a8b5619ef9d14ecdc751e2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.7
|
Security for sheshe 0.1.14
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.