Metadata-Version: 2.5
Name: believe14
Version: 0.1.0
Summary: Paper-first dimensionality reduction and intrinsic-dimension estimation
Project-URL: Repository, https://github.com/kisungyou/believe14
Project-URL: Issues, https://github.com/kisungyou/believe14/issues
Author: Kisung You
License: MIT License
        
        Copyright (c) 2026 Kisung You
        
        Permission is hereby granted, free of charge, to any person obtaining a copy
        of this software and associated documentation files (the "Software"), to deal
        in the Software without restriction, including without limitation the rights
        to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
        copies of the Software, and to permit persons to whom the Software is
        furnished to do so, subject to the following conditions:
        
        The above copyright notice and this permission notice shall be included in all
        copies or substantial portions of the Software.
        
        THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
        IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
        FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
        AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
        LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
        OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
        SOFTWARE.
License-File: LICENSE
Keywords: dimensionality reduction,intrinsic dimension,machine learning,manifold learning
Classifier: Development Status :: 3 - Alpha
Classifier: Intended Audience :: Science/Research
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Classifier: Programming Language :: Python :: 3.14
Classifier: Topic :: Scientific/Engineering :: Mathematics
Requires-Python: >=3.12
Requires-Dist: numpy>=2.5.1
Requires-Dist: scikit-learn>=1.9.0
Requires-Dist: scipy>=1.18.0
Provides-Extra: dev
Requires-Dist: build>=1.3; extra == 'dev'
Requires-Dist: mypy>=1.17; extra == 'dev'
Requires-Dist: pytest-cov>=6.2; extra == 'dev'
Requires-Dist: pytest>=8.4; extra == 'dev'
Requires-Dist: ruff>=0.12; extra == 'dev'
Provides-Extra: docs
Requires-Dist: matplotlib>=3.10; extra == 'docs'
Requires-Dist: myst-nb>=1.3; extra == 'docs'
Requires-Dist: pydata-sphinx-theme>=0.16; extra == 'docs'
Requires-Dist: sphinx-copybutton>=0.5; extra == 'docs'
Requires-Dist: sphinx>=8.2; extra == 'docs'
Requires-Dist: sphinxcontrib-bibtex>=2.6; extra == 'docs'
Provides-Extra: test
Requires-Dist: pytest-cov>=6.2; extra == 'test'
Requires-Dist: pytest>=8.4; extra == 'test'
Description-Content-Type: text/markdown

# believe14

`believe14` is a paper-first Python library for dimensionality reduction and
intrinsic-dimension estimation. Version 0.1.0 contains 30 independently
implemented and validated methods organized into three public families:
`believe14.linear`, `believe14.nonlinear`, and `believe14.estimation`.

The package follows the scikit-learn estimator protocol while keeping its
scientific implementations independent. NumPy and SciPy provide numerical
primitives; scikit-learn provides estimator interoperability and validation.

## Installation

```bash
python -m pip install believe14
```

Python 3.12 or newer is required.

## Example

```python
from believe14.linear import PCA

model = PCA(n_components=2)
embedding = model.fit_transform(X)
```

Each method has a validation ledger under `docs/validation/` recording its
normative equations, numerical conventions, and independent evidence.

## Documentation and method examples

The documentation contains an executable method card for every public class,
six task-oriented guides, and a registry-generated coverage table. Examples use
small deterministic datasets and run without network access. They distinguish
inductive reducers with a justified `transform` from transductive embeddings
that intentionally expose no out-of-sample operation.

Build the examples from the packaged wheel, rather than the source checkout:

```bash
make examples
```

## Development and validation

Create the locked development environment and add Twine, then use the same
commands as continuous integration. The local build uses uv's offline artifact
cache so documentation examples never fetch data or packages while executing.

```bash
uv sync --extra dev --extra docs
uv pip install twine
make quality
make test
make package-check
```

`make release-check` adds executable documentation, research checks, clean-tree
and repository provenance checks, installed wheel/sdist tests, and the complete
scientific release audit. The supported release matrix is Python 3.12–3.14 on
Linux, macOS, and Windows. See [RELEASING.md](RELEASING.md) for the trusted
TestPyPI, PyPI, GitHub Release, and documentation deployment process.

## Release trajectory

- **0.1.1:** correctness, packaging, and documentation fixes only.
- **0.2.0:** supervised and feature-selection expansion.
- **0.3.0:** nonlinear and landmark-method expansion.
- **0.4.0:** intrinsic-dimension estimation expansion.

New methods must land as complete vertical slices: paper ledger, literal oracle,
implementation, normal tests, method card, and guide integration. Performance
work is profiling-led, and the readable NumPy/SciPy path remains the permanent
reference implementation.
