SheShe: Smart High-dimensional Edge Segmentation & Hyperboundary Explorer
Project description
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
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file sheshe-0.1.12.tar.gz.
File metadata
- Download URL: sheshe-0.1.12.tar.gz
- Upload date:
- Size: 104.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.10.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4b7b2defc1c0363be513dbb9f2b963fa5d5babe866838944d68c5bc29b8858ea
|
|
| MD5 |
1ba263687a32f811ff69d0247045caa1
|
|
| BLAKE2b-256 |
f4f3c1b1ac60de520659bb09d2e935a7d4899678b0d41e824b9d04aba6797439
|
File details
Details for the file sheshe-0.1.12-py3-none-any.whl.
File metadata
- Download URL: sheshe-0.1.12-py3-none-any.whl
- Upload date:
- Size: 86.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.10.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
78fe0cfe95d2a6120cb7583d978e3bc43495dcc23d6438b480cf93964e0d2ef2
|
|
| MD5 |
88764f4e2b7f3290033eac2679ca2c9c
|
|
| BLAKE2b-256 |
1f996e35291c1d8e7059485ecaa1c2962d4ec29ed4d4dd28e912fe1f7bbdd3db
|