Skip to main content

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.

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

sheshe-0.1.14.tar.gz (116.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

sheshe-0.1.14-py3-none-any.whl (98.7 kB view details)

Uploaded Python 3

File details

Details for the file sheshe-0.1.14.tar.gz.

File metadata

  • Download URL: sheshe-0.1.14.tar.gz
  • Upload date:
  • Size: 116.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.7

File hashes

Hashes for sheshe-0.1.14.tar.gz
Algorithm Hash digest
SHA256 1f22db1b3fc044cac02fb3fdaa9601e915bf2c88c85d86481a57e3fa6ba4f6c1
MD5 7f8392694a43b8b252ebf42c8d1512e1
BLAKE2b-256 9391ccc7ad93dc8e92ed17b13a7cf07156a78c58abdb52da3565b6752eea2639

See more details on using hashes here.

File details

Details for the file sheshe-0.1.14-py3-none-any.whl.

File metadata

  • Download URL: sheshe-0.1.14-py3-none-any.whl
  • Upload date:
  • Size: 98.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.7

File hashes

Hashes for sheshe-0.1.14-py3-none-any.whl
Algorithm Hash digest
SHA256 11750a91a6185eedad5b2dc8723db0bbab9f4bf73565fba89555b99ce2be6cc9
MD5 019dd02fad3c62acf5a6ddbc9dbba6bb
BLAKE2b-256 5fc6a9b4ff974724dffeee608304d3f5af78f965b5a8b5619ef9d14ecdc751e2

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page