Skip to main content

Local similarity comparison for feature extraction – biologically inspired, zero‑training edge / pattern detection.

Project description

Cos Comparison

Python 3.8+ License: MIT

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

cos_comparison-0.1.0.tar.gz (22.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

cos_comparison-0.1.0-py3-none-any.whl (22.7 kB view details)

Uploaded Python 3

File details

Details for the file cos_comparison-0.1.0.tar.gz.

File metadata

  • Download URL: cos_comparison-0.1.0.tar.gz
  • Upload date:
  • Size: 22.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.0

File hashes

Hashes for cos_comparison-0.1.0.tar.gz
Algorithm Hash digest
SHA256 62ab8c0371a4ab842217f1cf593c999f4cbc882918e59ee6b63ab83bc48a13de
MD5 108c9c41ff5187df0c931948f12059ce
BLAKE2b-256 96e7e8f13e8593b025a141068cad9caf88a244eaa9f78f3437802a01d8d8b372

See more details on using hashes here.

File details

Details for the file cos_comparison-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: cos_comparison-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 22.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.0

File hashes

Hashes for cos_comparison-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 38088fa4e9f371cd6f0c03912e1396c6b8de6dfb8d9e70f88fdbac75f557595a
MD5 e670245d02487c0eebdb3eaf35424e28
BLAKE2b-256 30320581a5cdde020a0eaf849d91b6c2d9a9604b345b8499678a443cde394801

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