obvaekernel 0.1.0__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,20 @@
1
+ # Python caches
2
+ __pycache__/
3
+ *.pyc
4
+ *.pyo
5
+ *.pyd
6
+ .pytest_cache/
7
+ .ruff_cache/
8
+
9
+ # Build artifacts
10
+ dist/
11
+ build/
12
+ *.egg-info/
13
+
14
+ # Virtual environments
15
+ .venv/
16
+ venv/
17
+
18
+ # Benchmark outputs
19
+ benchmark_outputs*/
20
+
@@ -0,0 +1,30 @@
1
+ BSD 3-Clause License
2
+
3
+ Copyright (c) 2026, Sweet
4
+ All rights reserved.
5
+
6
+ Redistribution and use in source and binary forms, with or without
7
+ modification, are permitted provided that the following conditions are met:
8
+
9
+ 1. Redistributions of source code must retain the above copyright notice, this
10
+ list of conditions and the following disclaimer.
11
+
12
+ 2. Redistributions in binary form must reproduce the above copyright notice,
13
+ this list of conditions and the following disclaimer in the documentation
14
+ and/or other materials provided with the distribution.
15
+
16
+ 3. Neither the name of the copyright holder nor the names of its
17
+ contributors may be used to endorse or promote products derived from
18
+ this software without specific prior written permission.
19
+
20
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
21
+ AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
22
+ IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
23
+ DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
24
+ FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
25
+ DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
26
+ SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
27
+ CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
28
+ OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
29
+ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
30
+
@@ -0,0 +1,121 @@
1
+ Metadata-Version: 2.4
2
+ Name: obvaekernel
3
+ Version: 0.1.0
4
+ Summary: Portable NumPy-first OBVAE kernel features for PCA/kernel workflows.
5
+ Project-URL: Homepage, https://github.com/sweet00000/OvercompleteBetaVariationalAutoEncoderKernel
6
+ Project-URL: Repository, https://github.com/sweet00000/OvercompleteBetaVariationalAutoEncoderKernel
7
+ Author: Sweet
8
+ License: BSD 3-Clause License
9
+
10
+ Copyright (c) 2026, Sweet
11
+ All rights reserved.
12
+
13
+ Redistribution and use in source and binary forms, with or without
14
+ modification, are permitted provided that the following conditions are met:
15
+
16
+ 1. Redistributions of source code must retain the above copyright notice, this
17
+ list of conditions and the following disclaimer.
18
+
19
+ 2. Redistributions in binary form must reproduce the above copyright notice,
20
+ this list of conditions and the following disclaimer in the documentation
21
+ and/or other materials provided with the distribution.
22
+
23
+ 3. Neither the name of the copyright holder nor the names of its
24
+ contributors may be used to endorse or promote products derived from
25
+ this software without specific prior written permission.
26
+
27
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
28
+ AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
29
+ IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
30
+ DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
31
+ FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
32
+ DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
33
+ SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
34
+ CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
35
+ OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
36
+ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
37
+
38
+ License-File: LICENSE
39
+ Classifier: Development Status :: 3 - Alpha
40
+ Classifier: Intended Audience :: Science/Research
41
+ Classifier: License :: OSI Approved :: BSD License
42
+ Classifier: Programming Language :: Python :: 3
43
+ Classifier: Programming Language :: Python :: 3.10
44
+ Classifier: Programming Language :: Python :: 3.11
45
+ Classifier: Topic :: Scientific/Engineering :: Artificial Intelligence
46
+ Requires-Python: >=3.10
47
+ Requires-Dist: numpy>=1.23
48
+ Provides-Extra: benchmark
49
+ Requires-Dist: matplotlib>=3.7; extra == 'benchmark'
50
+ Requires-Dist: pandas>=1.5; extra == 'benchmark'
51
+ Requires-Dist: requests>=2.31; extra == 'benchmark'
52
+ Requires-Dist: scikit-learn>=1.2; extra == 'benchmark'
53
+ Requires-Dist: scipy>=1.9; extra == 'benchmark'
54
+ Provides-Extra: dev
55
+ Requires-Dist: build>=1.2; extra == 'dev'
56
+ Requires-Dist: ruff>=0.6; extra == 'dev'
57
+ Requires-Dist: twine>=5; extra == 'dev'
58
+ Description-Content-Type: text/markdown
59
+
60
+ # obvaekernel
61
+
62
+ `obvaekernel` is a NumPy-first implementation of an overcomplete beta-VAE kernel feature map designed for PCA and kernel-method workflows.
63
+
64
+ ## Install
65
+
66
+ ```bash
67
+ pip install .
68
+ ```
69
+
70
+ Benchmark/data extras:
71
+
72
+ ```bash
73
+ pip install .[benchmark]
74
+ ```
75
+
76
+ Development/build extras:
77
+
78
+ ```bash
79
+ pip install .[dev]
80
+ ```
81
+
82
+ ## Quick Usage
83
+
84
+ ```python
85
+ import numpy as np
86
+ from obvaekernel import OBVAEKernel
87
+
88
+ X = np.random.randn(256, 12).astype("float32")
89
+ model = OBVAEKernel(latent_dim="auto", epochs=25, random_state=42)
90
+ Z = model.fit_transform(X)
91
+ K = model.kernel_matrix(X)
92
+ ```
93
+
94
+ ## Benchmark Scripts
95
+
96
+ Run the root benchmark harness:
97
+
98
+ ```bash
99
+ python main.py --mode quick --no-plots
100
+ ```
101
+
102
+ Run the examples copy:
103
+
104
+ ```bash
105
+ python examples/benchmark_main.py --mode full --include-weather
106
+ ```
107
+
108
+ ## Build and Publish Checks
109
+
110
+ Build wheel + sdist:
111
+
112
+ ```bash
113
+ python -m build
114
+ ```
115
+
116
+ Validate distribution metadata:
117
+
118
+ ```bash
119
+ python -m twine check dist/*
120
+ ```
121
+
@@ -0,0 +1,62 @@
1
+ # obvaekernel
2
+
3
+ `obvaekernel` is a NumPy-first implementation of an overcomplete beta-VAE kernel feature map designed for PCA and kernel-method workflows.
4
+
5
+ ## Install
6
+
7
+ ```bash
8
+ pip install .
9
+ ```
10
+
11
+ Benchmark/data extras:
12
+
13
+ ```bash
14
+ pip install .[benchmark]
15
+ ```
16
+
17
+ Development/build extras:
18
+
19
+ ```bash
20
+ pip install .[dev]
21
+ ```
22
+
23
+ ## Quick Usage
24
+
25
+ ```python
26
+ import numpy as np
27
+ from obvaekernel import OBVAEKernel
28
+
29
+ X = np.random.randn(256, 12).astype("float32")
30
+ model = OBVAEKernel(latent_dim="auto", epochs=25, random_state=42)
31
+ Z = model.fit_transform(X)
32
+ K = model.kernel_matrix(X)
33
+ ```
34
+
35
+ ## Benchmark Scripts
36
+
37
+ Run the root benchmark harness:
38
+
39
+ ```bash
40
+ python main.py --mode quick --no-plots
41
+ ```
42
+
43
+ Run the examples copy:
44
+
45
+ ```bash
46
+ python examples/benchmark_main.py --mode full --include-weather
47
+ ```
48
+
49
+ ## Build and Publish Checks
50
+
51
+ Build wheel + sdist:
52
+
53
+ ```bash
54
+ python -m build
55
+ ```
56
+
57
+ Validate distribution metadata:
58
+
59
+ ```bash
60
+ python -m twine check dist/*
61
+ ```
62
+