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.13.tar.gz (105.2 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.13-py3-none-any.whl (87.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: sheshe-0.1.13.tar.gz
  • Upload date:
  • Size: 105.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.10.6

File hashes

Hashes for sheshe-0.1.13.tar.gz
Algorithm Hash digest
SHA256 9b970dddf97e26ef66f679fe5c2d6b0151840dd005de6d31e61068bffcb92880
MD5 dcede6078e61c6afbbc60d51824bf583
BLAKE2b-256 0d56d83ce8c9d899b206e35ae30daabc39190ff1389aa60c7f0b269d83cb16a2

See more details on using hashes here.

File details

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

File metadata

  • Download URL: sheshe-0.1.13-py3-none-any.whl
  • Upload date:
  • Size: 87.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.10.6

File hashes

Hashes for sheshe-0.1.13-py3-none-any.whl
Algorithm Hash digest
SHA256 dde9d3e6548a24ba98a663e059fd6df3d28c0508fb4f72fdbbfeb1098695c358
MD5 39b8bd5b5b1a1ddde7e21744c4238664
BLAKE2b-256 1f827eee2dd8a5f895b523c2d382167071441ea6991614f53ff5b91829da88a5

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