Skip to main content

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.

SheShe classification example

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

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 hnswlib or lightgbm may 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)

Source distribution for sheshe 0.1.14
File Size Uploaded
sheshe-0.1.14.tar.gz 116.1 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for sheshe 0.1.14
File Interpreter ABI Platform
sheshe-0.1.14-py3-none-any.whl Python 3 none any Details

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

Release history Release notifications | RSS feed

This release

0.1.14 This release

2 release files

0.1.9

2 release files

0.1.8

2 release files

0.1.7

2 release files

0.1.6

2 release files

0.1.5

2 release files

0.1.4

2 release files

0.1.3

2 release files

0.1.2

2 release files

0.1.1

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page