Local similarity comparison for feature extraction – biologically inspired, zero‑training edge / pattern detection.
Project description
Cos Comparison
Local similarity comparison for feature extraction – biologically inspired, zero‑training edge / pattern detection.
Core Idea
Information is produced by local comparison in raw data.
This module implements the center‑surround antagonism mechanism from neuroscience, extracting edges, textures, and keypoints using only sliding window similarity.
The main formula (cosine‑modulated similarity):
$$ \text{cosmod} = \frac{2,(A\cdot B)}{|A|^2 + |B|^2} $$
- Spurt for real AGI
- No training, no labels, no backpropagation
- Works on 1D, 2D, 3D, 4D data (audio, images, video, volumes)
- Supports passive (reflex) and active (template matching) modes
- Pure Python core + optional NumPy / C acceleration
Installation
pip install cos-comparison
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 cos_comparison-0.1.1.tar.gz.
File metadata
- Download URL: cos_comparison-0.1.1.tar.gz
- Upload date:
- Size: 22.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2e3896fba2335533e025f712e6caf90981a149799e480af28e0ddd5f5fd56156
|
|
| MD5 |
fae33f8260cf153c244984db64352810
|
|
| BLAKE2b-256 |
79e877b6f14cb62fdad7d0a9992fcd47d6550ac38a87a6213ad933d079133089
|
File details
Details for the file cos_comparison-0.1.1-py3-none-any.whl.
File metadata
- Download URL: cos_comparison-0.1.1-py3-none-any.whl
- Upload date:
- Size: 23.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a06def94b31d0e32533d0605dd1334f7d5541c37b23201bd67742c5553d6d9ff
|
|
| MD5 |
262bdeca53ffb9f35d9bd7be8fd8a9f2
|
|
| BLAKE2b-256 |
f002c867a1e8f0652b3d8e6fc40910f5863acba168a5983de48f9960906026ac
|