Skip to main content

A high-performance C++ KNN Engine with Adaptive PCA

Project description

KNN Engine Core

PyPI version Python Build system Bindings

High-performance K-Nearest Neighbors (KNN) classification engine implemented in C++17, with adaptive Principal Component Analysis (PCA) for dimensionality reduction, and exposed to Python via pybind11.

This project is designed for fast experimentation from Python while keeping the compute-intensive path in native C++.

Highlights

  • C++17 implementation of KNN with efficient top-k neighbor selection (std::nth_element).
  • Adaptive PCA that supports:
    • variance-threshold mode (for example 0.95 keeps enough components to preserve 95% variance),
    • fixed-component mode (for example 28 keeps exactly 28 components).
  • Automatic thin PCA path for high-dimensional datasets where features > samples.
  • Python bindings (knn_core) with a minimal, clean API.
  • Build system based on CMake + scikit-build-core + pybind11.

Repository Structure

.
├── CMakeLists.txt
├── CMakePresets.json
├── pyproject.toml
├── include/
│   ├── KNN.hpp
│   ├── KNNEngine.hpp
│   └── PCA.hpp
├── src/
│   ├── KNN.cpp
│   ├── KNNEngine.cpp
│   ├── PCA.cpp
│   └── binding.cpp
└── examples/
    └── script.py

How It Works

  1. KNNEngine.train(X, y, scale) fits PCA on X and projects training data.
  2. The projected training data is passed to the internal KNN classifier.
  3. During inference, incoming samples are projected using the same PCA transform.
  4. KNN predicts labels by majority vote among the nearest neighbors.

PCA Modes

  • Standard mode: used when number of features <= number of samples.
  • Thin mode: used when number of features > number of samples (memory- and compute-friendly formulation).

Requirements

  • Python 3.8+
  • CMake 3.18+
  • C++17 compiler
  • Ninja (recommended generator)

Python dependencies are declared in pyproject.toml:

  • numpy
  • scikit-learn

Installation

Option 1: Install from PyPI (recommended)

pip install knn-engine-core

This installs the published package and makes knn_core importable.

Quick verification after install:

python -c "import knn_core; cfg = knn_core.KNNConfig(); print('knn_core OK | k =', cfg.k, '| variance =', cfg.variance)"

Option 2: Install from source (editable)

From the project root:

python -m pip install -U pip
python -m pip install -e .

Option 3: Build with CMake presets

cmake --preset Release
cmake --build --preset Release

Artifacts are generated under out/build/Release.

Quick Start

import numpy as np
import knn_core

# Example data
X = np.array([
    [5.1, 3.5, 1.4, 0.2],
    [4.9, 3.0, 1.4, 0.2],
    [6.2, 3.4, 5.4, 2.3],
    [5.9, 3.0, 5.1, 1.8],
], dtype=np.float64)

y = ["setosa", "setosa", "virginica", "virginica"]

cfg = knn_core.KNNConfig()
cfg.k = 3
cfg.variance = 0.95

engine = knn_core.KNNEngine(cfg)
engine.train(X, y, scale=False)

sample = np.array([6.0, 3.1, 5.0, 1.9], dtype=np.float64)
pred = engine.predict(sample)
print(pred)

Python API

KNNConfig

  • k: int (default: 3)
    • Number of neighbors used for voting.
  • variance: float (default: 0.95)
    • If < 1.0: treated as explained-variance threshold.
    • If >= 1.0: treated as fixed number of principal components.

KNNEngine(config: KNNConfig)

  • train(X, y, scale=False)
    • X: 2D numpy.ndarray (float64 recommended), shape (n_samples, n_features)
    • y: list of labels (strings)
    • scale: whether to standardize features before PCA
  • predict(sample)
    • sample: 1D feature vector
    • returns predicted label (str)
  • predict_batch(samples)
    • samples: 2D feature matrix
    • returns list of predicted labels (list[str])

Benchmark Results

The following results were produced using the provided evaluation script pattern (examples/script.py) with train/test split and fixed random seed. Timings compare KNNEngine against an equivalent scikit-learn pipeline (PCA + KNeighborsClassifier).

Dataset Accuracy KNNEngine Time Sklearn Time Speedup
Olivetti Faces 92.50% 0.238s 0.386s 1.62×
Handwritten Digits 98.06% 0.020s 0.117s 5.82×
Iris Flower 100.00% 0.0002s 0.003s 14.01×

Console logs:

--- Testing Olivetti Faces ---
[PCA] Fit complete. Mode: Thin | Components: 62
[Engine] Trained successfully. Reduced to 62 dimensions.
KNNEngine  — Accuracy: 92.50%  |  Time: 0.2381s
Sklearn    — Accuracy: 92.50%  |  Time: 0.3864s
Speedup: 1.62x

--- Testing Iris Flower ---
[PCA] Fit complete. Mode: Standard | Components: 3
[Engine] Trained successfully. Reduced to 3 dimensions.
KNNEngine  — Accuracy: 100.00%  |  Time: 0.0002s
Sklearn    — Accuracy: 100.00%  |  Time: 0.0031s
Speedup: 14.01x

--- Testing Handwritten Digits ---
[PCA] Fit complete. Mode: Standard | Components: 28
[Engine] Trained successfully. Reduced to 28 dimensions.
KNNEngine  — Accuracy: 98.06%  |  Time: 0.0202s
Sklearn    — Accuracy: 98.06%  |  Time: 0.1174s
Speedup: 5.82x

Running the Example Script

python examples/script.py

Notes and Limitations

  • Labels are currently represented as strings in the C++ core API.
  • Distance metric is Euclidean (squared Euclidean for ranking).
  • Tie-breaking follows std::map key ordering when vote counts are equal.

Development

Typical local workflow:

python -m pip install -e .
python examples/script.py

For release-style native builds:

cmake --preset Release
cmake --build --preset Release

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

knn_engine_core-0.1.2.tar.gz (8.3 kB view details)

Uploaded Source

Built Distributions

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

knn_engine_core-0.1.2-pp310-pypy310_pp73-win_amd64.whl (133.0 kB view details)

Uploaded PyPyWindows x86-64

knn_engine_core-0.1.2-pp310-pypy310_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (158.8 kB view details)

Uploaded PyPymanylinux: glibc 2.17+ x86-64

knn_engine_core-0.1.2-pp310-pypy310_pp73-manylinux_2_17_i686.manylinux2014_i686.whl (168.1 kB view details)

Uploaded PyPymanylinux: glibc 2.17+ i686

knn_engine_core-0.1.2-pp310-pypy310_pp73-macosx_11_0_arm64.whl (125.3 kB view details)

Uploaded PyPymacOS 11.0+ ARM64

knn_engine_core-0.1.2-pp39-pypy39_pp73-win_amd64.whl (132.7 kB view details)

Uploaded PyPyWindows x86-64

knn_engine_core-0.1.2-pp39-pypy39_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (158.7 kB view details)

Uploaded PyPymanylinux: glibc 2.17+ x86-64

knn_engine_core-0.1.2-pp39-pypy39_pp73-manylinux_2_17_i686.manylinux2014_i686.whl (167.8 kB view details)

Uploaded PyPymanylinux: glibc 2.17+ i686

knn_engine_core-0.1.2-pp39-pypy39_pp73-macosx_11_0_arm64.whl (125.2 kB view details)

Uploaded PyPymacOS 11.0+ ARM64

knn_engine_core-0.1.2-pp38-pypy38_pp73-win_amd64.whl (132.7 kB view details)

Uploaded PyPyWindows x86-64

knn_engine_core-0.1.2-pp38-pypy38_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (158.9 kB view details)

Uploaded PyPymanylinux: glibc 2.17+ x86-64

knn_engine_core-0.1.2-pp38-pypy38_pp73-manylinux_2_17_i686.manylinux2014_i686.whl (168.3 kB view details)

Uploaded PyPymanylinux: glibc 2.17+ i686

knn_engine_core-0.1.2-pp38-pypy38_pp73-macosx_11_0_arm64.whl (125.3 kB view details)

Uploaded PyPymacOS 11.0+ ARM64

knn_engine_core-0.1.2-cp312-cp312-win_amd64.whl (134.6 kB view details)

Uploaded CPython 3.12Windows x86-64

knn_engine_core-0.1.2-cp312-cp312-win32.whl (115.9 kB view details)

Uploaded CPython 3.12Windows x86

knn_engine_core-0.1.2-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (159.0 kB view details)

Uploaded CPython 3.12manylinux: glibc 2.17+ x86-64

knn_engine_core-0.1.2-cp312-cp312-manylinux_2_17_i686.manylinux2014_i686.whl (168.3 kB view details)

Uploaded CPython 3.12manylinux: glibc 2.17+ i686

knn_engine_core-0.1.2-cp312-cp312-macosx_11_0_arm64.whl (125.3 kB view details)

Uploaded CPython 3.12macOS 11.0+ ARM64

knn_engine_core-0.1.2-cp311-cp311-win_amd64.whl (134.5 kB view details)

Uploaded CPython 3.11Windows x86-64

knn_engine_core-0.1.2-cp311-cp311-win32.whl (115.9 kB view details)

Uploaded CPython 3.11Windows x86

knn_engine_core-0.1.2-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (160.6 kB view details)

Uploaded CPython 3.11manylinux: glibc 2.17+ x86-64

knn_engine_core-0.1.2-cp311-cp311-manylinux_2_17_i686.manylinux2014_i686.whl (169.4 kB view details)

Uploaded CPython 3.11manylinux: glibc 2.17+ i686

knn_engine_core-0.1.2-cp311-cp311-macosx_11_0_arm64.whl (126.4 kB view details)

Uploaded CPython 3.11macOS 11.0+ ARM64

knn_engine_core-0.1.2-cp310-cp310-win_amd64.whl (133.4 kB view details)

Uploaded CPython 3.10Windows x86-64

knn_engine_core-0.1.2-cp310-cp310-win32.whl (115.4 kB view details)

Uploaded CPython 3.10Windows x86

knn_engine_core-0.1.2-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (159.4 kB view details)

Uploaded CPython 3.10manylinux: glibc 2.17+ x86-64

knn_engine_core-0.1.2-cp310-cp310-manylinux_2_17_i686.manylinux2014_i686.whl (168.0 kB view details)

Uploaded CPython 3.10manylinux: glibc 2.17+ i686

knn_engine_core-0.1.2-cp310-cp310-macosx_11_0_arm64.whl (125.2 kB view details)

Uploaded CPython 3.10macOS 11.0+ ARM64

knn_engine_core-0.1.2-cp39-cp39-win_amd64.whl (134.7 kB view details)

Uploaded CPython 3.9Windows x86-64

knn_engine_core-0.1.2-cp39-cp39-win32.whl (115.5 kB view details)

Uploaded CPython 3.9Windows x86

knn_engine_core-0.1.2-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (158.9 kB view details)

Uploaded CPython 3.9manylinux: glibc 2.17+ x86-64

knn_engine_core-0.1.2-cp39-cp39-manylinux_2_17_i686.manylinux2014_i686.whl (168.6 kB view details)

Uploaded CPython 3.9manylinux: glibc 2.17+ i686

knn_engine_core-0.1.2-cp39-cp39-macosx_11_0_arm64.whl (125.3 kB view details)

Uploaded CPython 3.9macOS 11.0+ ARM64

knn_engine_core-0.1.2-cp38-cp38-win_amd64.whl (133.2 kB view details)

Uploaded CPython 3.8Windows x86-64

knn_engine_core-0.1.2-cp38-cp38-win32.whl (115.2 kB view details)

Uploaded CPython 3.8Windows x86

knn_engine_core-0.1.2-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (159.3 kB view details)

Uploaded CPython 3.8manylinux: glibc 2.17+ x86-64

knn_engine_core-0.1.2-cp38-cp38-manylinux_2_17_i686.manylinux2014_i686.whl (168.2 kB view details)

Uploaded CPython 3.8manylinux: glibc 2.17+ i686

knn_engine_core-0.1.2-cp38-cp38-macosx_11_0_arm64.whl (125.1 kB view details)

Uploaded CPython 3.8macOS 11.0+ ARM64

File details

Details for the file knn_engine_core-0.1.2.tar.gz.

File metadata

  • Download URL: knn_engine_core-0.1.2.tar.gz
  • Upload date:
  • Size: 8.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for knn_engine_core-0.1.2.tar.gz
Algorithm Hash digest
SHA256 c86fc59bebf38e49557dc253ca0bc00215a011ebc79ac2d8c3744cebc5573934
MD5 09c74f60fa72a9bb5d7eb47fa94e8bb3
BLAKE2b-256 4f7f9b8bbaf9f3d3108d5394f87dde04b8f8327d5fe48358c483ff327816f95e

See more details on using hashes here.

Provenance

The following attestation bundles were made for knn_engine_core-0.1.2.tar.gz:

Publisher: publish.yml on MLEngineProject/KNNEngine

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file knn_engine_core-0.1.2-pp310-pypy310_pp73-win_amd64.whl.

File metadata

File hashes

Hashes for knn_engine_core-0.1.2-pp310-pypy310_pp73-win_amd64.whl
Algorithm Hash digest
SHA256 53c6a5577a885e39256af3ba2a823b3403b706bf6069595c4b024f83691e368f
MD5 9b19282200781a9add1b4ae56bf2c1db
BLAKE2b-256 9a2312fccc1657d4cd95d39d4279db52700d0ce056524155963f014d5bb38541

See more details on using hashes here.

Provenance

The following attestation bundles were made for knn_engine_core-0.1.2-pp310-pypy310_pp73-win_amd64.whl:

Publisher: publish.yml on MLEngineProject/KNNEngine

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file knn_engine_core-0.1.2-pp310-pypy310_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for knn_engine_core-0.1.2-pp310-pypy310_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 7ffc79cc8f6071daa0435340732484064092c44165571c21d851b2016ac6ba75
MD5 36b6f93b0b7b66670883d18d5491e55d
BLAKE2b-256 ca99e28df0deb3b8a261703a9e8ac35d3e5ec3f3e595fdb0c70467c08e4bd21f

See more details on using hashes here.

Provenance

The following attestation bundles were made for knn_engine_core-0.1.2-pp310-pypy310_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl:

Publisher: publish.yml on MLEngineProject/KNNEngine

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file knn_engine_core-0.1.2-pp310-pypy310_pp73-manylinux_2_17_i686.manylinux2014_i686.whl.

File metadata

File hashes

Hashes for knn_engine_core-0.1.2-pp310-pypy310_pp73-manylinux_2_17_i686.manylinux2014_i686.whl
Algorithm Hash digest
SHA256 de8896b3ddb6b9f8caaa3c8666ee905d4a6e7df89c4ff4e17251461348a4853a
MD5 da28fef42f497dc4fcdf35423cf3b0e5
BLAKE2b-256 9dee34b55426c62d217afdc67126ab8a7e61304947b5840b9eec8d31d1de061c

See more details on using hashes here.

Provenance

The following attestation bundles were made for knn_engine_core-0.1.2-pp310-pypy310_pp73-manylinux_2_17_i686.manylinux2014_i686.whl:

Publisher: publish.yml on MLEngineProject/KNNEngine

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file knn_engine_core-0.1.2-pp310-pypy310_pp73-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for knn_engine_core-0.1.2-pp310-pypy310_pp73-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 2533500de72bf4cf5a1c429961d482c0a8cf5a769efa12fb69a0b79a8a8d96ec
MD5 4d3b89ed84ec71f67ca1e9520704dc89
BLAKE2b-256 ea281d89cafe99a5a636730e2257bd404746428bbc4db9985e1e6095e7692662

See more details on using hashes here.

Provenance

The following attestation bundles were made for knn_engine_core-0.1.2-pp310-pypy310_pp73-macosx_11_0_arm64.whl:

Publisher: publish.yml on MLEngineProject/KNNEngine

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file knn_engine_core-0.1.2-pp39-pypy39_pp73-win_amd64.whl.

File metadata

File hashes

Hashes for knn_engine_core-0.1.2-pp39-pypy39_pp73-win_amd64.whl
Algorithm Hash digest
SHA256 2a4a27cfddf25f7596f15ea9380d2778b7bf8256d2d462631bd8408bd754ceee
MD5 4adeb0caecb36480c24b6aec7c15b4af
BLAKE2b-256 741a6eb4c5568833c50060ae05e6a1eade1e0f8a0a2b89534d96e1c0013431a2

See more details on using hashes here.

Provenance

The following attestation bundles were made for knn_engine_core-0.1.2-pp39-pypy39_pp73-win_amd64.whl:

Publisher: publish.yml on MLEngineProject/KNNEngine

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file knn_engine_core-0.1.2-pp39-pypy39_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for knn_engine_core-0.1.2-pp39-pypy39_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 44d3de046c4fe52e84a5bddf27ee0a8992a5ebb6ca75ea3ecb0c4ffa449cd916
MD5 2ddc7b45bd848666cf0fa06b1f0e0e82
BLAKE2b-256 802641f566d48128b93669ab44647d70667279d58dc6d5a12de16d52c31afed1

See more details on using hashes here.

Provenance

The following attestation bundles were made for knn_engine_core-0.1.2-pp39-pypy39_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl:

Publisher: publish.yml on MLEngineProject/KNNEngine

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file knn_engine_core-0.1.2-pp39-pypy39_pp73-manylinux_2_17_i686.manylinux2014_i686.whl.

File metadata

File hashes

Hashes for knn_engine_core-0.1.2-pp39-pypy39_pp73-manylinux_2_17_i686.manylinux2014_i686.whl
Algorithm Hash digest
SHA256 94eb765caf52be297cf2dbe2953ce3f1df3d84111a0dc74e9c10309d07fe7975
MD5 6ad4559544d4002852742f6c19be36ce
BLAKE2b-256 308545109ca2c363a075a22ed0a2ee8d07ed69029b3a1ad9c83479a1a3dea052

See more details on using hashes here.

Provenance

The following attestation bundles were made for knn_engine_core-0.1.2-pp39-pypy39_pp73-manylinux_2_17_i686.manylinux2014_i686.whl:

Publisher: publish.yml on MLEngineProject/KNNEngine

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file knn_engine_core-0.1.2-pp39-pypy39_pp73-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for knn_engine_core-0.1.2-pp39-pypy39_pp73-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 8e8346342115abab129babf4dfa380d47abf65b0685bd3398131f4529361b6a4
MD5 4e7c73f180ea8483d2d36ae4ab5a5387
BLAKE2b-256 0c1480d5197481d566c78eebed2da0bbb86771beebed2c9ceff174063c84a7c7

See more details on using hashes here.

Provenance

The following attestation bundles were made for knn_engine_core-0.1.2-pp39-pypy39_pp73-macosx_11_0_arm64.whl:

Publisher: publish.yml on MLEngineProject/KNNEngine

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file knn_engine_core-0.1.2-pp38-pypy38_pp73-win_amd64.whl.

File metadata

File hashes

Hashes for knn_engine_core-0.1.2-pp38-pypy38_pp73-win_amd64.whl
Algorithm Hash digest
SHA256 0029e49d275177de7507a819e388ed311bcca61ab2ded1d14635013bd65f2b0e
MD5 ab1788c45770a95c8ef6146a7a692dd3
BLAKE2b-256 f6f510340d2476a9b72d4fd360f1a39597b681994118e48a9b1e5ebaac9b828d

See more details on using hashes here.

Provenance

The following attestation bundles were made for knn_engine_core-0.1.2-pp38-pypy38_pp73-win_amd64.whl:

Publisher: publish.yml on MLEngineProject/KNNEngine

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file knn_engine_core-0.1.2-pp38-pypy38_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for knn_engine_core-0.1.2-pp38-pypy38_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 19aa28477088fb9b9d1cce69cd07e6545e16a6d7c5db95dcc72e2ad66b05e890
MD5 8bdbd26c1c7fd07fe0f45ec213d82d7f
BLAKE2b-256 b63ebe2f477fbe9c74b802d9b2b4c86f812e4563a8eda9e09b40b0e60516b24e

See more details on using hashes here.

Provenance

The following attestation bundles were made for knn_engine_core-0.1.2-pp38-pypy38_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl:

Publisher: publish.yml on MLEngineProject/KNNEngine

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file knn_engine_core-0.1.2-pp38-pypy38_pp73-manylinux_2_17_i686.manylinux2014_i686.whl.

File metadata

File hashes

Hashes for knn_engine_core-0.1.2-pp38-pypy38_pp73-manylinux_2_17_i686.manylinux2014_i686.whl
Algorithm Hash digest
SHA256 3fd5147a60a321db04b59b5eafbd7f67527de0b833ccd1b285145b11bbf67e91
MD5 4838f5c76b744040d59c3fab3d10f3b7
BLAKE2b-256 868556a1f848a48ec8a89639ea9e6ef37b952e4d8857dcb12e826c0b882ab546

See more details on using hashes here.

Provenance

The following attestation bundles were made for knn_engine_core-0.1.2-pp38-pypy38_pp73-manylinux_2_17_i686.manylinux2014_i686.whl:

Publisher: publish.yml on MLEngineProject/KNNEngine

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file knn_engine_core-0.1.2-pp38-pypy38_pp73-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for knn_engine_core-0.1.2-pp38-pypy38_pp73-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 d4a7397ca564764928091389416d9a794d0e97af20a731674a627535789a30f3
MD5 709cc16cfa861b10261cb8c469b9ed4d
BLAKE2b-256 a31cf06236e877273da3f96536fb36f3c91e5839874a236a1aaded0af79c49c5

See more details on using hashes here.

Provenance

The following attestation bundles were made for knn_engine_core-0.1.2-pp38-pypy38_pp73-macosx_11_0_arm64.whl:

Publisher: publish.yml on MLEngineProject/KNNEngine

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file knn_engine_core-0.1.2-cp312-cp312-win_amd64.whl.

File metadata

File hashes

Hashes for knn_engine_core-0.1.2-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 6a0cc2ce27c79e9d4cdce74e92a4228541757ee90f9f1a54ce8418957a865f25
MD5 b3c978b101feea525ca7fbc2ac4d59c2
BLAKE2b-256 d20c769742d73efd9b4a191d27ecb32ae8d8bfe8ca42a3a76e3a5b9216d32ded

See more details on using hashes here.

Provenance

The following attestation bundles were made for knn_engine_core-0.1.2-cp312-cp312-win_amd64.whl:

Publisher: publish.yml on MLEngineProject/KNNEngine

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file knn_engine_core-0.1.2-cp312-cp312-win32.whl.

File metadata

File hashes

Hashes for knn_engine_core-0.1.2-cp312-cp312-win32.whl
Algorithm Hash digest
SHA256 d098ca7c63884d46fda5b1b760a6c1898d89a99d110e164d96f889e33fd930e9
MD5 f0428bd064b0bd82863d02091eab297d
BLAKE2b-256 dab4606b3d5cb3fac02de905d1a2ebd08d17f9a9316d205a95d15b7a088c3287

See more details on using hashes here.

Provenance

The following attestation bundles were made for knn_engine_core-0.1.2-cp312-cp312-win32.whl:

Publisher: publish.yml on MLEngineProject/KNNEngine

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file knn_engine_core-0.1.2-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for knn_engine_core-0.1.2-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 b5dcf0b8ca265db00070e8cd4d7abeef24e86aa11ea94606d164443f5de2ec9a
MD5 1b9c786b3344aa3206a24a5297ecaf66
BLAKE2b-256 961f589c8d2727e7158c629a509ec5f05f60275d234d6bc1cc4c19e3607e798e

See more details on using hashes here.

Provenance

The following attestation bundles were made for knn_engine_core-0.1.2-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl:

Publisher: publish.yml on MLEngineProject/KNNEngine

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file knn_engine_core-0.1.2-cp312-cp312-manylinux_2_17_i686.manylinux2014_i686.whl.

File metadata

File hashes

Hashes for knn_engine_core-0.1.2-cp312-cp312-manylinux_2_17_i686.manylinux2014_i686.whl
Algorithm Hash digest
SHA256 3835f623e28f56a37b5798400478b9ca06674e6c2ee8545e13093c8c83e823ec
MD5 512af6bd82993a24353b3cd5dae4f311
BLAKE2b-256 5def9bfa54b75011416ef2ab6d8508f85ccb061b8feade40f786a3ec7f532ba9

See more details on using hashes here.

Provenance

The following attestation bundles were made for knn_engine_core-0.1.2-cp312-cp312-manylinux_2_17_i686.manylinux2014_i686.whl:

Publisher: publish.yml on MLEngineProject/KNNEngine

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file knn_engine_core-0.1.2-cp312-cp312-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for knn_engine_core-0.1.2-cp312-cp312-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 600643bbf5d6c766f8c1d0cfd895fc5ae8f0697792a034fc261b9f9fbcf7f214
MD5 d0e86e5c021b2dcf209e15684f0a87ef
BLAKE2b-256 bc7b51936ada4ae68031349ea7cf53504c39d076012ee9b78192b6b5fbb2b91e

See more details on using hashes here.

Provenance

The following attestation bundles were made for knn_engine_core-0.1.2-cp312-cp312-macosx_11_0_arm64.whl:

Publisher: publish.yml on MLEngineProject/KNNEngine

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file knn_engine_core-0.1.2-cp311-cp311-win_amd64.whl.

File metadata

File hashes

Hashes for knn_engine_core-0.1.2-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 7bb89fb20ff489ef46ac749276a9d2c2ec2488473747020ceffced413460f9c0
MD5 d92f787abd3e2ee9a9a358dbbc2f62d9
BLAKE2b-256 db1f190f1b0f782fe5f16cb0601dd968afcaae5e3b8c808dc3f2f3b9a7e92e5d

See more details on using hashes here.

Provenance

The following attestation bundles were made for knn_engine_core-0.1.2-cp311-cp311-win_amd64.whl:

Publisher: publish.yml on MLEngineProject/KNNEngine

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file knn_engine_core-0.1.2-cp311-cp311-win32.whl.

File metadata

File hashes

Hashes for knn_engine_core-0.1.2-cp311-cp311-win32.whl
Algorithm Hash digest
SHA256 2624d80d8ca36f2348ec56ce81e9dd4e28037eed4590b243f774df586a1a31e9
MD5 f1cf65b3a4b8c92956c12997e0c3ece1
BLAKE2b-256 8f36a3057eb872e3f1a8b28d4d0092f814ff1b91017325cfdacbf3b20e477ed1

See more details on using hashes here.

Provenance

The following attestation bundles were made for knn_engine_core-0.1.2-cp311-cp311-win32.whl:

Publisher: publish.yml on MLEngineProject/KNNEngine

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file knn_engine_core-0.1.2-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for knn_engine_core-0.1.2-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 13a87708655e9204c21167e08a569fb34facf092bb2d7ec2efef2dba5a137eda
MD5 aff227cdea73c0b8e40d2e40e9f8ed17
BLAKE2b-256 99105c2209b3bc2001959aa6727f295c215edef5580170875a98ec3b52afd5ac

See more details on using hashes here.

Provenance

The following attestation bundles were made for knn_engine_core-0.1.2-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl:

Publisher: publish.yml on MLEngineProject/KNNEngine

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file knn_engine_core-0.1.2-cp311-cp311-manylinux_2_17_i686.manylinux2014_i686.whl.

File metadata

File hashes

Hashes for knn_engine_core-0.1.2-cp311-cp311-manylinux_2_17_i686.manylinux2014_i686.whl
Algorithm Hash digest
SHA256 abe538338d7af7e6fcf48add43b6924cb0f760797bd1af2480fd6210bc9e784f
MD5 86782934236231b4567a472b14199e1d
BLAKE2b-256 030ae916769297e4f1ddd72ebedbf018dd2071823433d72e33e9e2849d561a42

See more details on using hashes here.

Provenance

The following attestation bundles were made for knn_engine_core-0.1.2-cp311-cp311-manylinux_2_17_i686.manylinux2014_i686.whl:

Publisher: publish.yml on MLEngineProject/KNNEngine

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file knn_engine_core-0.1.2-cp311-cp311-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for knn_engine_core-0.1.2-cp311-cp311-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 1b04cd45a921f9498eb3edb8d6fc29e7393ce67823d9d8d7ee16f9e7134e28b2
MD5 81857f74797b7891bcfb9034958f73b2
BLAKE2b-256 cbb5ad5ab27d64d39be2d7f1dbca784132a0fd7decf2c5b152d9dbaf288f4ea1

See more details on using hashes here.

Provenance

The following attestation bundles were made for knn_engine_core-0.1.2-cp311-cp311-macosx_11_0_arm64.whl:

Publisher: publish.yml on MLEngineProject/KNNEngine

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file knn_engine_core-0.1.2-cp310-cp310-win_amd64.whl.

File metadata

File hashes

Hashes for knn_engine_core-0.1.2-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 fcb2e3d1bf85b5387e4b13be65280c2425b384d9ea662a61015a06d942b2a267
MD5 c54c035786cbd783955d97bbdc923c22
BLAKE2b-256 a1d7aaaaaab3324f8a2f775886989cf763f613c7df9c78335d78ba96b37da10c

See more details on using hashes here.

Provenance

The following attestation bundles were made for knn_engine_core-0.1.2-cp310-cp310-win_amd64.whl:

Publisher: publish.yml on MLEngineProject/KNNEngine

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file knn_engine_core-0.1.2-cp310-cp310-win32.whl.

File metadata

File hashes

Hashes for knn_engine_core-0.1.2-cp310-cp310-win32.whl
Algorithm Hash digest
SHA256 6f8a64771389f4c9c5eff307c8d48225ba8d798b651b196d38dbd607467a21ac
MD5 da4a832ad0df0536a37cbd5034c2ddf6
BLAKE2b-256 0148b4a09a8ba6b9263600fe3e20d32cb9d4da04b6c3a250a47eb31971372e09

See more details on using hashes here.

Provenance

The following attestation bundles were made for knn_engine_core-0.1.2-cp310-cp310-win32.whl:

Publisher: publish.yml on MLEngineProject/KNNEngine

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file knn_engine_core-0.1.2-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for knn_engine_core-0.1.2-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 b97c386f2d7618eea078446ad5a8bc144fbb7c0224b16e5fa7f17ffc4c1c7abc
MD5 86b7dba87ac25d12f06c72bb1e043696
BLAKE2b-256 622cf24ba2d1eeb87ba46d0fdf3b58a72952f16f046bbe27dcd80376d96d1755

See more details on using hashes here.

Provenance

The following attestation bundles were made for knn_engine_core-0.1.2-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl:

Publisher: publish.yml on MLEngineProject/KNNEngine

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file knn_engine_core-0.1.2-cp310-cp310-manylinux_2_17_i686.manylinux2014_i686.whl.

File metadata

File hashes

Hashes for knn_engine_core-0.1.2-cp310-cp310-manylinux_2_17_i686.manylinux2014_i686.whl
Algorithm Hash digest
SHA256 e9daf960a900d31ec4973df4e5eb00b463b80155023dc77324a0b052edf61a69
MD5 978301a5ee6bae9c2c7153130c51af6b
BLAKE2b-256 9f1c2b8b04d6087ce46e4510a75ad4a227f280487d1a2d8119df9cb793ad73e2

See more details on using hashes here.

Provenance

The following attestation bundles were made for knn_engine_core-0.1.2-cp310-cp310-manylinux_2_17_i686.manylinux2014_i686.whl:

Publisher: publish.yml on MLEngineProject/KNNEngine

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file knn_engine_core-0.1.2-cp310-cp310-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for knn_engine_core-0.1.2-cp310-cp310-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 3b6d76b56960b9559367db75b20e212fb2ca4fd1c74ffb5fefe1f0597f7a08a2
MD5 0e827e9640ad59ea719eeec3d010d79a
BLAKE2b-256 f3f90414a59b6c2b5e465e491549fb9129e4fdfb3474db1070085e7ed269d7f3

See more details on using hashes here.

Provenance

The following attestation bundles were made for knn_engine_core-0.1.2-cp310-cp310-macosx_11_0_arm64.whl:

Publisher: publish.yml on MLEngineProject/KNNEngine

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file knn_engine_core-0.1.2-cp39-cp39-win_amd64.whl.

File metadata

File hashes

Hashes for knn_engine_core-0.1.2-cp39-cp39-win_amd64.whl
Algorithm Hash digest
SHA256 fc53ccbed2f7740024de2b6bb129faa7f737b32f84c34b563183e01621ebef0f
MD5 581d4dd947c7dc702773b55d0ce3efb3
BLAKE2b-256 bdb3d6f3150630a1c2dcdc7fc712b4b5998c97e48b076975806c256ede2cc959

See more details on using hashes here.

Provenance

The following attestation bundles were made for knn_engine_core-0.1.2-cp39-cp39-win_amd64.whl:

Publisher: publish.yml on MLEngineProject/KNNEngine

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file knn_engine_core-0.1.2-cp39-cp39-win32.whl.

File metadata

  • Download URL: knn_engine_core-0.1.2-cp39-cp39-win32.whl
  • Upload date:
  • Size: 115.5 kB
  • Tags: CPython 3.9, Windows x86
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for knn_engine_core-0.1.2-cp39-cp39-win32.whl
Algorithm Hash digest
SHA256 2484c2917453039d60776c9ac70822ce3fb95ab5a9ee49f22be19146224c227c
MD5 26a314048a80249482a3a39906a54967
BLAKE2b-256 f455b40d8ab78e669f81a362b143ec15b27491ef4d83e7f6d352d4543473a85f

See more details on using hashes here.

Provenance

The following attestation bundles were made for knn_engine_core-0.1.2-cp39-cp39-win32.whl:

Publisher: publish.yml on MLEngineProject/KNNEngine

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file knn_engine_core-0.1.2-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for knn_engine_core-0.1.2-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 e256ec802fd18ed4c5244f336a1ce2dd1f8f970983522b532c99d533711bf3c6
MD5 cde103451034ee01b9b56c5515e5fac6
BLAKE2b-256 aa2616767cfb6c140fe61005e49921f126cc4ff43f094909563c2d6faf3ffb83

See more details on using hashes here.

Provenance

The following attestation bundles were made for knn_engine_core-0.1.2-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl:

Publisher: publish.yml on MLEngineProject/KNNEngine

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file knn_engine_core-0.1.2-cp39-cp39-manylinux_2_17_i686.manylinux2014_i686.whl.

File metadata

File hashes

Hashes for knn_engine_core-0.1.2-cp39-cp39-manylinux_2_17_i686.manylinux2014_i686.whl
Algorithm Hash digest
SHA256 bd4c3d241aa44dc23f663e350c5623d560c24472a848e4da68e611a11cd6bdfb
MD5 eeba266b4c619b3e7fdf7ef9353b4f88
BLAKE2b-256 4b68e549a45b9af65a3a3fa028e8ee5c5c1cbfd435d3d2d351f82ce95064b232

See more details on using hashes here.

Provenance

The following attestation bundles were made for knn_engine_core-0.1.2-cp39-cp39-manylinux_2_17_i686.manylinux2014_i686.whl:

Publisher: publish.yml on MLEngineProject/KNNEngine

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file knn_engine_core-0.1.2-cp39-cp39-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for knn_engine_core-0.1.2-cp39-cp39-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 7145392e4bdec622f52e2223b32d285e2531bcf775316e0212934b22aeb780d6
MD5 9dca5340df4ba073bdc443f72cda431f
BLAKE2b-256 68576d7db1bd2ebaf66ac063179c6bd9af1c83009f70529cd6246400cd8f769c

See more details on using hashes here.

Provenance

The following attestation bundles were made for knn_engine_core-0.1.2-cp39-cp39-macosx_11_0_arm64.whl:

Publisher: publish.yml on MLEngineProject/KNNEngine

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file knn_engine_core-0.1.2-cp38-cp38-win_amd64.whl.

File metadata

File hashes

Hashes for knn_engine_core-0.1.2-cp38-cp38-win_amd64.whl
Algorithm Hash digest
SHA256 8e1773bec19c813f6de95adbb9cb1c0b2d679b63fdb0917b56db0ef4a3d44d66
MD5 ebcf0c2c5bd1eac74ee5a01c822e153d
BLAKE2b-256 6de3ce193a80c933d9aa51a93a95b35092e0ca9cf1933c130a17d4305770e020

See more details on using hashes here.

Provenance

The following attestation bundles were made for knn_engine_core-0.1.2-cp38-cp38-win_amd64.whl:

Publisher: publish.yml on MLEngineProject/KNNEngine

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file knn_engine_core-0.1.2-cp38-cp38-win32.whl.

File metadata

  • Download URL: knn_engine_core-0.1.2-cp38-cp38-win32.whl
  • Upload date:
  • Size: 115.2 kB
  • Tags: CPython 3.8, Windows x86
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for knn_engine_core-0.1.2-cp38-cp38-win32.whl
Algorithm Hash digest
SHA256 a5de3376193313a926bd188de33e117402b83903dd3eea6bdabbc10c2ee449c6
MD5 ddf50dfc42dcabd9607b96a7bc0848cb
BLAKE2b-256 9559497f447656245220f61bba760155ac406f7a0600975bb9a1e0a78bed8449

See more details on using hashes here.

Provenance

The following attestation bundles were made for knn_engine_core-0.1.2-cp38-cp38-win32.whl:

Publisher: publish.yml on MLEngineProject/KNNEngine

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file knn_engine_core-0.1.2-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for knn_engine_core-0.1.2-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 ff2f2653b2903eaf15a7edb34d79c867dd261b5773501fdeee6f3a1eb4f5c9c8
MD5 18905de1ac8bc336a1175556c1a5cd12
BLAKE2b-256 51b38a43d06c04893a1e7dfa272a2652ba81781e9a937b20761067e95678feda

See more details on using hashes here.

Provenance

The following attestation bundles were made for knn_engine_core-0.1.2-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl:

Publisher: publish.yml on MLEngineProject/KNNEngine

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file knn_engine_core-0.1.2-cp38-cp38-manylinux_2_17_i686.manylinux2014_i686.whl.

File metadata

File hashes

Hashes for knn_engine_core-0.1.2-cp38-cp38-manylinux_2_17_i686.manylinux2014_i686.whl
Algorithm Hash digest
SHA256 10aea185021dace2511a1f31bebacf3e97074f3bc2e88a96051e4cac12ff91c8
MD5 1729d118afc2651b99a5b25e876aaa17
BLAKE2b-256 1249b697271f1aae320f14778f11a30fc3eef60b3642005499951c991ec00cf7

See more details on using hashes here.

Provenance

The following attestation bundles were made for knn_engine_core-0.1.2-cp38-cp38-manylinux_2_17_i686.manylinux2014_i686.whl:

Publisher: publish.yml on MLEngineProject/KNNEngine

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file knn_engine_core-0.1.2-cp38-cp38-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for knn_engine_core-0.1.2-cp38-cp38-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 b2106ae3757cf819cc9e4a0c7e88c01b852ed7294481a9b3d71bf313f75d2645
MD5 719793944028901224db66d81f22ace1
BLAKE2b-256 46fdcb216e86cda4b7b395529e3de2b278aa178171ec217dcdb9d0f347f4cecd

See more details on using hashes here.

Provenance

The following attestation bundles were made for knn_engine_core-0.1.2-cp38-cp38-macosx_11_0_arm64.whl:

Publisher: publish.yml on MLEngineProject/KNNEngine

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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