Skip to main content

Classification Library

A classification library using a novel audio-inspired technique.

Installation

Try:

pip install classification_library

Except:

pip install git+https://github.com/lol-cubes/classification-library

Usage

from classification_library import AudioClassifier
import numpy as np


X_train = np.array([1, 2, 3, 4])
y_train = np.array([1, 4, 9, 16])
X_test = np.array([5, 6])
y_test = np.array([25, 36])


model = AudioClassifier(alpha=10)
model.fit(X_train, y_train)

predictions = model.predict(X_test)
correct_predictions = 0
for y_true, y_pred in zip(y_test, predictions):
    if y_true == y_pred:
        correct_predictions += 1
print(f"Accuracy: {correct_predictions / len(y_test)}")

Metadata

Release files for classification-library 0.0.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for classification-library 0.0.3
File Size Uploaded Provenance Actions
classification_library-0.0.3.tar.gz 4.3 MB Without provenance Details for classification_library-0.0.3.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for classification-library 0.0.3
File Interpreter ABI Platform Actions
classification_library-0.0.3-cp38-cp38-manylinux1_x86_64.whl CPython 3.8 CPython 3.8 Linux glibc 2.5+ x86-64 Details for classification_library-0.0.3-cp38-cp38-manylinux1_x86_64.whl

Total release size: 4.4 MB

Release files / classification_library-0.0.3.tar.gz

Download URL classification_library-0.0.3.tar.gz
Size 4.3 MB
Tags Source
SHA-256 checksum
How to use checksums
9ee77c9e94f23fb48aba4942a0f572fcec870ff682b5e6fdba9916f149f98a16
BLAKE2b-256 checksum
How to use checksums
c172488d489232f4d6ee154c5035b2db0f1c37e8e264a0b6d4ab81885e6f1ed2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.2.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/45.2.0 requests-toolbelt/0.9.1 tqdm/4.49.0 CPython/3.8.2

Release files / classification_library-0.0.3-cp38-cp38-manylinux1_x86_64.whl

Download URL classification_library-0.0.3-cp38-cp38-manylinux1_x86_64.whl
Size 144.8 kB
Tags CPython 3.8 Linux glibc 2.5+ x86-64
SHA-256 checksum
How to use checksums
a6b9ea20f3662159f5ea5e9512acbac8db317bf24ec5fa4a434f8314b2c7f029
BLAKE2b-256 checksum
How to use checksums
5ab7bf45e75f5818e0c82cbf5e10af852bf1318e0eeaddfdababf3281686c415
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.2.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/45.2.0 requests-toolbelt/0.9.1 tqdm/4.49.0 CPython/3.8.2

Security for classification-library 0.0.3

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page