Skip to main content

SheShe: Smart High-dimensional Edge Segmentation & Hyperboundary Explorer

Project description

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.11.tar.gz (102.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.11-py3-none-any.whl (85.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: sheshe-0.1.11.tar.gz
  • Upload date:
  • Size: 102.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.11.tar.gz
Algorithm Hash digest
SHA256 7fa6a48c4fbee970508a8d795912caa0a223a01045f8eb47a98d25586d4f4d5b
MD5 cd78349ebc3b59795664c90c12afb8fb
BLAKE2b-256 9271e2cc97b984d681f22fa3c6547d27818461f3efb65de80eebdc0655b2cad7

See more details on using hashes here.

File details

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

File metadata

  • Download URL: sheshe-0.1.11-py3-none-any.whl
  • Upload date:
  • Size: 85.6 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.11-py3-none-any.whl
Algorithm Hash digest
SHA256 1382c9f54f3d4269e9bfa43ce0c6dda3a5cb69ee01ba31c8d86d85cda5f2484e
MD5 c17db5fe1ea309599e42e0fb5436a531
BLAKE2b-256 bf449143e1847788562321b11df07cb2e7452e1890c16065ce9485342cf41394

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