Portable NumPy-first OBVAE kernel features for PCA/kernel workflows.
Project description
obvaekernel
obvaekernel is a NumPy-first implementation of an overcomplete beta-VAE kernel feature map designed for PCA and kernel-method workflows.
Install
pip install .
Benchmark/data extras:
pip install .[benchmark]
Development/build extras:
pip install .[dev]
Quick Usage
import numpy as np
from obvaekernel import OBVAEKernel
X = np.random.randn(256, 12).astype("float32")
model = OBVAEKernel(latent_dim="auto", epochs=25, random_state=42)
Z = model.fit_transform(X)
K = model.kernel_matrix(X)
Benchmark Scripts
Run the root benchmark harness:
python main.py --mode quick --no-plots
Run the examples copy:
python examples/benchmark_main.py --mode full --include-weather
Build and Publish Checks
Build wheel + sdist:
python -m build
Validate distribution metadata:
python -m twine check dist/*
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file obvaekernel-0.1.0.tar.gz.
File metadata
- Download URL: obvaekernel-0.1.0.tar.gz
- Upload date:
- Size: 18.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.10.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e15c33f6abbc82d2cab735fe9115f34385e2d2d583fcda856e6a34aae99fce77
|
|
| MD5 |
c7b0db6c83d5395b2c3a6adce1af9793
|
|
| BLAKE2b-256 |
4357cc387c78a7fcde091a5dd0ec92aa9f49654003d91837fb50b313af83fc4f
|
File details
Details for the file obvaekernel-0.1.0-py3-none-any.whl.
File metadata
- Download URL: obvaekernel-0.1.0-py3-none-any.whl
- Upload date:
- Size: 9.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.10.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
654527f40e3662238661c6c2eee618db26163243bce54cf9c5d4313c26b3098b
|
|
| MD5 |
a8eda7cfa5747cec32c1076f3a702bb3
|
|
| BLAKE2b-256 |
30f4e4d877798f172dfcc401e043050bf58afee992abc15a73cb7dd064152fe4
|